Layer-1 Substrate blockchain with full EVM compatibility, embedded Cipher relay and shard services, a libp2p mesh, adaptive gas limits, and native NFTs. 1-second blocks, finality in about 4–5 s when idle (longer under load). Measure on your RPC before quoting a number.
TokenKickstarter (TKS) is a Layer-1 blockchain built on Substrate with Frontier providing Ethereum Virtual Machine compatibility. The chain is designed for high-throughput, low-cost operation with decentralized P2P networking support built directly into the protocol layer.
| Property | Value |
|---|---|
| Chain ID | 7779 (0x1E63) |
| Native Token | TKS (18 decimals) |
| Block Time | 1 second |
| Block Finality | GRANDPA (~4–5 s typical; 1 s block time) |
| Address Format | Ethereum-compatible (20-byte, AccountId20) |
| EVM Compatibility | Full — MetaMask, Hardhat, ethers.js, wagmi, Foundry |
| Consensus | Aura (block production) + GRANDPA (finality) |
Implemented today: Cipher relay + libp2p mesh (cipher-relay), a batch Merkle root on L1 (dag_root_hash), operator DA JSON, duplicate msg_id removal before the count is sealed, and prove_false_anchor, which burns the poster's slash when the leaves reproduce the root but the declared count does not. Planned: multi-host shard fleets. dag_root_hash is the Merkle root of one batch, not a Holepunch DHT key and not a general DAG. See network/ANCHOR-VERIFICATION.public.md.
The header gas limit scales with load. Authors also stop at SLOT_GAS_CAP (35M gas, about 1,666 simple transfers) so a 1-second slot stays importable. The 4B figure is a configured ceiling, not a measured TPS. The base fee adjusts each block, keeping costs near-zero during low traffic periods and rising under sustained congestion. No manual parameter tuning required.
Substrate-layer NFT collections with no deposit requirement. Collections and items are created through standard Substrate extrinsics, independent of the EVM. The chain also supports standard ERC-721 and ERC-1155 smart contracts via the EVM layer.
On-chain human-readable names (e.g., alice.tks) with zero registration deposit. Names can be registered, transferred, and resolved on-chain, providing identity infrastructure without gas cost.
Aura produces blocks about every 1 second. GRANDPA finalizes a prefix of the chain; measured lag is often ~4–5 seconds on mainnet (not 1 s). Use chain_getFinalizedHead vs best head to report finality for investors.
Standard Ethereum JSON-RPC API. Deploy any Solidity contract, use MetaMask, connect Hardhat or Foundry — no modifications required. Ethereum signatures and secp256k1 keys are used natively at the account layer.
The node binary can run an HTTP Cipher relay, shard executor, and HyperSwarm libp2p mesh alongside Substrate and Frontier. cipher-hybrid exposes configured ceilings up to ~500k aggregate msg/s (design target across logical shards); measured throughput is GET /hybrid/stats → measured_tps / lifetime_ingress. Layer-1 EVM TPS and Cipher messaging are separate metrics — see network/CIPHER-TKS-THROUGHPUT-SPEC.md.
| Service | Default port | Role |
|---|---|---|
| JSON-RPC / WebSocket | 9944 | Chain state, EVM, tks_listSwarmValidators |
| Substrate P2P | 30333 | Block sync |
| Cipher relay | 4002 | POST /store, GET /fetch, /discovery |
| Cipher shard executor | 4010 | Ingest, DA, L1 anchor batches |
| HyperSwarm libp2p | 4001 | Gossip and ciphertext chunk pull |
See the network documentation section for operator guides and specifications.
tokenkickstarter-node/
├── node/ Node binary (networking, RPC, CLI)
│ └── src/
│ ├── chain_spec.rs Genesis configuration
│ ├── service.rs Full-node service
│ └── rpc.rs RPC handler registration
├── runtime/ WASM runtime (all business logic)
│ └── src/
│ ├── lib.rs construct_runtime! and pallet configs
│ └── precompiles.rs EVM precompile registration
├── cipher-relay/ Embedded relay + HyperSwarm mesh
├── cipher-hybrid/ Adaptive Cipher throughput controller
├── cipher-shard-executor/ Standalone shard binary (optional)
└── pallets/ Custom pallets
├── pallet-adaptive-gas/ Dynamic block gas limit
├── pallet-hyperswarm-anchor/ HyperSwarm DHT key anchoring
├── pallet-name-registry/ Free on-chain name system
└── pallet-shard-registry/ Shard coordination layer
| Pallet | Source | Purpose |
|---|---|---|
pallet-balances |
Substrate | Native TKS token transfers |
pallet-evm |
Frontier | EVM execution layer |
pallet-ethereum |
Frontier | Ethereum RPC compatibility |
pallet-base-fee |
Frontier | EIP-1559 base fee tracking |
pallet-dynamic-fee |
Frontier | Dynamic fee adjustment |
pallet-adaptive-gas |
Custom | Auto-scaling block gas limit |
pallet-name-registry |
Custom | Free on-chain name system |
pallet-hyperswarm-anchor |
Custom | DHT key anchoring |
pallet-shard-registry |
Custom | Shard coordination |
pallet-nfts |
Substrate | Native NFT collections |
pallet-staking |
Substrate | NPoS validator staking |
pallet-session |
Substrate | Validator session management |
pallet-grandpa |
Substrate | Deterministic block finality |
pallet-sudo |
Substrate | Administrative governance (temporary) |
Rust toolchain
curl https://sh.rustup.rs -sSf | sh
source ~/.cargo/env
rustup target add wasm32-unknown-unknownSystem dependencies (macOS)
brew install cmake protobuf llvmSystem dependencies (Ubuntu/Debian)
sudo apt-get update
sudo apt-get install -y \
build-essential pkg-config libssl-dev \
clang libclang-dev protobuf-compiler gitgit clone https://github.com/TokenKickstarter/tokenkickstarter-node
cd tokenkickstarter-node
cargo build --releaseThe compiled binary will be at ./target/release/tks-chain-node.
Build time is approximately 20-35 minutes on first compile. Subsequent builds use Cargo's incremental compilation.
./target/release/tks-chain-node --devThis starts a development node with pre-funded accounts, produces blocks immediately on transaction submission, and resets state on restart.
./target/release/tks-chain-node --dev \
--rpc-external \
--rpc-cors=all \
--rpc-port 9944./target/release/tks-chain-node \
--chain network/tks-testnet-spec-raw.json \
--base-path ~/.tks/data \
--name "MyNode" \
--rpc-external \
--rpc-cors=all./target/release/tks-chain-node \
--chain network/tks-testnet-spec-raw.json \
--base-path ~/.tks/data \
--validator \
--name "MyValidator"See network/start-validator.sh and network/inject-validator-keys.sh for the full validator setup process including key injection.
Use your production chainspec and bootnodes. Example flags match network/docker-compose-live.yml:
./tks-chain-node \
--chain /path/to/chainspec-raw.json \
--base-path /data \
--name TKS-Fullnode \
--rpc-port 9944 \
--rpc-external \
--rpc-cors all \
--rpc-methods Safe \
--ws-external \
--port 30333 \
--enable-cipher-relay \
--cipher-relay-port=4002 \
--enable-cipher-shard-executor \
--cipher-shard-port=4010 \
--cipher-shard-id=0 \
--enable-cipher-hyperswarm \
--cipher-hyperswarm-port=4001 \
--cipher-public-relay-url=https://relay.example.com \
--bootnodes /bootnodes.txtDocker Compose: docker compose -f network/docker-compose-live.yml up -d
Download the release binary for your platform from Releases (current line: v0.1.9), replace the running binary or rebuild the image, then restart the service or containers. On-chain runtime features (for example name batch registration, spec 408+) require a separate WASM set_code upgrade.
| Document | Description |
|---|---|
| network/README.md | Node operator guide, seeds, validators |
| network/docker-compose-live.yml | Full node + validators (production layout) |
| network/HYPERSWARM-PEERS.md | Multi-relay discovery and mesh |
| network/CIPHER-CLIENT-CHUNKING-SPEC.md | Client media chunking (512 KiB) |
| network/CIPHER-TKS-THROUGHPUT-SPEC.md | Throughput targets and benchmarks |
| network/SHARD-AND-RELAY.public.md | Relay vs shard roles |
| network/R6-AUDIT-RESPONSE.md | Audit remediation status |
| tools/cipher-loadtest/README.md | Load test harness |
| RELEASE_NOTES.md | Version history and upgrade notes |
Wiki pages under .github/wiki/ cover EVM, RPC, validators, and release CI in more detail.
Add the TKS network to MetaMask:
| Field | Value |
|---|---|
| Network Name | TKS Network |
| RPC URL | http://127.0.0.1:9944 |
| Chain ID | 7779 |
| Currency Symbol | TKS |
| Block Explorer | http://localhost:3000 (if running the explorer) |
The following accounts are pre-funded in development mode with 1,000 TKS each. These are standard Hardhat test accounts.
| Account | Address |
|---|---|
| Account 0 (deployer) | 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266 |
| Account 1 | 0x70997970C51812dc3A010C7d01b50e0d17dc79C8 |
| Account 2 | 0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC |
| Treasury | 0x15d34AAf54267DB7D7c367839AAf71A00a2C6A65 |
Account 0 private key: 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80
These are well-known public test keys. Do not use them on any production network.
// hardhat.config.js
module.exports = {
networks: {
tks: {
url: "http://127.0.0.1:9944",
chainId: 7779,
accounts: ["0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80"]
}
}
};import { ethers } from 'ethers'
const provider = new ethers.JsonRpcProvider('http://127.0.0.1:9944')
const signer = new ethers.Wallet(PRIVATE_KEY, provider)
const factory = new ethers.ContractFactory(abi, bytecode, signer)
const contract = await factory.deploy()
await contract.waitForDeployment()
console.log('Deployed at:', await contract.getAddress())| Address | Precompile |
|---|---|
0x01 |
ECRecover |
0x02 |
SHA-256 |
0x03 |
RIPEMD-160 |
0x04 |
Identity |
0x05 |
Modexp |
0x400 |
SHA3FIPS-256 |
0x401 |
ECRecoverPublicKey |
Create and manage NFT collections at the Substrate layer without EVM gas costs.
Via Polkadot.js Apps (connect to ws://127.0.0.1:9944):
Developer > Extrinsics > nfts > create(admin, config)
Developer > Extrinsics > nfts > mint(collection, item, mintTo, witnessData)
Developer > Extrinsics > nfts > transfer(collection, item, dest)
All deposits are set to zero in the TKS configuration.
Pre-built binaries are available for all major platforms on the Releases page. Version history and upgrade notes: RELEASE_NOTES.md.
| Platform | Architecture | Binary |
|---|---|---|
| macOS | Apple Silicon (M1/M2/M3/M4) | tks-chain-node-*-macos-arm64 |
| macOS | Intel (x86_64) | tks-chain-node-*-macos-amd64 |
| Linux | x86_64 | tks-chain-node-*-linux-amd64 |
| Linux | ARM64 | tks-chain-node-*-linux-arm64 |
| Windows | x86_64 | tks-chain-node-*-windows-amd64.exe |
One-line installer (Linux/macOS):
curl -sSf https://raw.githubusercontent.com/TokenKickstarter/tokenkickstarter-node/main/network/install.sh | bash- tokenkickstarter-explorer — Block explorer built with Next.js, showing live blocks, transactions, NFTs, tokens, and accounts.