Skip to content

TKS Node v0.1.24

Choose a tag to compare

@github-actions github-actions released this 06 Nov 02:32
· 8 commits to main since this release

TKS Node v0.1.24

Cipher signal mesh + embedded WS — one binary for relay, discovery, and instant push (no Node sidecar required).

Features

  • Embedded signal server (cipher-relay/src/signal.rs): WebSocket /ws?addr=…, localhost /internal/push, default port 4003 (--cipher-embedded-signal, on by default).
  • Federated push (Phase 2): POST /signal/push on relay; mesh fanout to peer validators after /store (CIPHER_FEDERATED_PUSH_KEY / --cipher-federated-push-key).
  • Discovery: gossip + GET /discovery advertise federated_push and signal_ws per relay.
  • Ops: Cipher stack on by default; --disable-cipher-stack to turn off; public URL via CIPHER_PUBLIC_RELAY_URL (see network/SIGNAL-MESH.public.md).

Fixes

  • Build: enable clap env feature so CIPHER_* / #[arg(env = …)] compiles on release CI.

Deploy

  1. Tag v0.1.24, wait for GitHub Release assets.
  2. VPS: VERSION=v0.1.24 bash network/scripts/vps-docker-github-release.sh.
  3. Nginx: /signal/push → relay :4002, /ws → :4003 (embedded signal in node).
  4. Set CIPHER_PUBLIC_RELAY_URL (+ shared CIPHER_FEDERATED_PUSH_KEY across validators for push mesh).

Downloads

Platform Architecture File
macOS Apple Silicon (M1/M2/M3/M4) tks-chain-node-*-macos-arm64
macOS Intel (x86_64) tks-chain-node-*-macos-amd64
Linux x86_64 (servers, VPS) tks-chain-node-*-linux-amd64
Linux ARM64 (Raspberry Pi, VPS) tks-chain-node-*-linux-arm64
Windows x86_64 tks-chain-node-*-windows-amd64.exe

Quick install (Linux/macOS)

curl -sSf https://raw.githubusercontent.com/TokenKickstarter/tokenkickstarter-node/v0.1.24/network/install.sh | bash

Replace v0.1.24 with this tag (for example v0.1.8).


Join the network (full node)

./tks-chain-node \
  --chain tks-testnet-spec-raw.json \
  --base-path ~/.tks/data \
  --rpc-external --rpc-cors all \
  --name "MyNode"

Production RPC with Cipher and HyperSwarm

See README.md and network/docker-compose-live.yml.

./tks-chain-node \
  --chain /path/to/chainspec-raw.json \
  --base-path /data \
  --rpc-port 9944 --rpc-external --rpc-cors all --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

Run as validator

./tks-chain-node \
  --chain tks-testnet-spec-raw.json \
  --validator \
  --name "MyValidator"

Full steps: network/start-validator.sh, network/inject-validator-keys.sh.


Network

Chain ID 7779 (0x1E63)
Token TKS (18 decimals)
Block time ~1 second
Consensus Aura + GRANDPA
P2P 30333
RPC 9944

Full documentation: README.md · RELEASE_NOTES.md