Alpha Development
Welcome to
Y Protocol
A Proof-of-Stake Blockchain
Written in Rust
Fast
Block Time
Fast block confirmation
Ultra-low
TX Fee
Low-cost transactions
1B YPC
Total Supply
Total supply (200M premine + 800M mining)
Technical Implementation
Blockchain implementation with production-grade engineering practices
Proof-of-Stake Consensus
SimplePOSConsensus with 2/3+ majority voting, validator selection, and slashing mechanisms.
WASM Smart Contracts
WebAssembly virtual machine with gas metering, sandboxed execution, and secure host functions.
Ed25519 Cryptography
Strict signature validation, SHA256 hashing, and RIPEMD160 address generation.
HD Wallets
BIP39 mnemonic phrases with BIP32 hierarchical deterministic key derivation.
libp2p Networking
P2P stack with Kademlia DHT, GossipSub messaging, and Noise protocol encryption.
RocksDB Storage
Storage with column families, atomic operations, and key encoding.
Implementation Highlights
Implementation with testing.
Rust Implementation
Memory-safe implementation with error handling and zero-cost abstractions.
5 crates, workspace structure
RPC Interface
JSON-RPC 2.0 API with wallet, blockchain, mempool, and validator methods.
68 RPC methods
WASM Virtual Machine
WebAssembly runtime with Wasmtime, gas metering, and sandboxed execution.
1MB memory limit, 1M gas limit
Code Example
Y Protocol Block Structure
Block Structure (src/consensus/block.rs)
pub struct Block {
pub header: BlockHeader,
pub transactions: Vec<Transaction>,
pub proposer_signature: Vec<u8>,
pub validator_votes: Vec<ValidatorVote>,
}
pub struct BlockHeader {
pub height: u64,
pub previous_hash: [u8; 32],
pub timestamp: u64,
pub proposer: ValidatorInfo,
pub transaction_count: u32,
pub block_reward: u64, // Block-based emission
pub transaction_fees: u64, // Fixed 0.0001 YPC per tx
}Ready for Alpha Development?
Set up your local node and start testing the implementation.