Skip to content

Releases: sandy4242/toki

Distributed PoW Blockchain with Dynamic Difficulty

Choose a tag to compare

@sandy4242 sandy4242 released this 23 Jan 09:39

Toki v1.1 — Distributed PoW Blockchain (Initial Stable Release)

This release marks the first stable and protocol-complete version of Toki, a peer-to-peer blockchain network written entirely in Rust.

Toki v1.1 focuses on correctness, determinism, and real P2P consensus, rather than UI or tooling. Multiple nodes can run, connect, mine, propagate blocks, and converge on a single chain without any central coordinator.


Key Features

Blockchain & Consensus

  • Proof-of-Work consensus
  • Dynamic difficulty adjustment based on block time
  • Difficulty validation during chain verification
  • Longest-chain fork resolution
  • Deterministic block hashing

Transactions & State

  • Ed25519-signed transactions
  • Account-based state model
  • Coinbase transactions with block rewards
  • Shows transaction fees included in miner rewards
  • Replay protection via transaction nonce
  • Full state replay during chain validation

Networking

  • libp2p-based peer-to-peer networking
  • GossipSub propagation for transactions and blocks
  • Multi-node local testing support
  • Explicit peer dialing and connection handling

What This Release Proves

  • Nodes can independently validate and mine blocks
  • The network reaches consensus without trust
  • State remains consistent across forks and reorgs
  • Difficulty adjusts dynamically to network conditions

Known Limitations (Intentional)

  • No disk persistence (in-memory chain only)
  • Manual peer bootstrapping
  • No CLI for sending transactions or querying balances
  • No automatic startup chain sync

These are planned for future releases.


This release represents a minimal but real blockchain protocol designed for learning and experimentation.

Thanks for checking out, Toki

Toki v1.0 – Initial P2P Blockchain Release

Choose a tag to compare

@sandy4242 sandy4242 released this 22 Jan 16:53

Toki v1.0 – Initial Release

Toki is an educational blockchain implementation written in Rust.

Features

  • Proof-of-Work blockchain
  • Wallets with Ed25519 keypairs and signatures
  • Signed transactions and mempool
  • Block mining and validation
  • libp2p-based peer-to-peer networking
  • Gossip-based transaction and block propagation
  • Multi-node support

Disclaimer

This project is for educational and experimental purposes only.
It is not audited and not intended for production or financial use.

Future Work

  • Longest-chain fork resolution
  • Account balances / state tracking
  • Bootstrap nodes
  • Persistent storage