Skip to content

TKS Node v0.1.22

Choose a tag to compare

@github-actions github-actions released this 05 Nov 23:10
· 14 commits to main since this release

TKS Node v0.1.22

Cipher federated messaging — instant WebSocket push + discovery; same runtime as v0.1.21 unless you also run set_code.

Features

  • Relay → signal push: after POST /store, relay notifies co-located signal server (/internal/push) for ~100ms delivery to online peers.
  • Discovery: GET /discovery advertises signal_ws / self_signal_ws per validator (no fixed hostname required).
  • CLI flags: --cipher-public-signal-ws, --cipher-signal-push-url (default http://127.0.0.1:4003/internal/push).
  • network/vps-signal-server: Node.js WS hub + internal push endpoint (deploy beside relay on :4003).

Fixes

  • HTTP /fetch: JSON error path no longer breaks the HTTP handler.
  • VPS Docker script: SHA256 verify uses unpacked binary name from release SHA256SUMS.txt.

Deploy

  1. Tag v0.1.22, wait for GitHub Release assets.
  2. On VPS: VERSION=v0.1.22 bash network/scripts/vps-docker-github-release.sh.
  3. cd network/vps-signal-server && ./deploy.sh (or refresh container) and nginx /ws → :4003.
  4. Start node with --cipher-public-relay-url and --cipher-public-signal-ws pointing at your domain.

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.22/network/install.sh | bash

Replace v0.1.22 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