Splendor v3 (Tokio) Technical Specifications
This document outlines the technical specifications of Splendor Version 3 (Tokio), detailing the architectural improvements and new features introduced in this version.
Architecture Overview
- Blockchain Type: Proof of Authority (PoA)
- Consensus Protocol: Hybrid Aura (Authority Round) + GRANDPA Finality
- Network Type: EVM Compatible Layer 1
- Block Time: ~2 seconds
- Chain ID: 232 (Mainnet), 231 (Testnet)
- Development Framework: Substrate 4.0
- EVM Implementation: Frontier (Modified)
Core Components
Consensus Layer
- Implementation of Aura consensus mechanism for block production with 2-second block times
- GRANDPA finality gadget for deterministic block finality
- Enhanced validator selection and rotation mechanism for improved decentralization
- Improved block finality guarantees (average finality time: 6 seconds)
- Multi-signature validator set changes with 2/3 approval requirement
- Governance-controlled validator set updates
Network Layer
- P2P networking with libp2p for efficient node communication
- Enhanced node discovery with Kademlia DHT protocol
- Optimized block propagation with compact block relay
- Custom transaction propagation with Dandelion++ for improved privacy
- Maximum peers per node: 200 (configurable)
- Network protocol version: v3/tokio/1.0.0
Storage Layer
- Efficient state storage using Patricia Merkle tries
- Optimized database architecture with RocksDB backend
- Enhanced data indexing for fast queries
- State pruning options (archive, 256 blocks, 1000 blocks)
- State version tracking for runtime upgrades
- Efficient transaction receipt storage
Execution Layer
- Full EVM compatibility with London fork feature set
- Smart contract support with advanced debugging capabilities
- Native token operations with low gas fees
- EVM precompiles for specialized functionality:
- Elliptic curve operations
- Hash functions
- Privacy primitives
- Substrate runtime calls
- Gas schedule optimized for Splendor’s use cases
Performance Specifications
Transaction Processing
- Maximum Transactions per Second (TPS): Up to 1000
- Average Block Size: 2MB
- Gas Limit per Block: 75,000,000
- Average Transaction Cost: 0.001 SPL or less
- Transaction Confirmation Time: 2-6 seconds
Network Requirements
Minimum Node Requirements:
- CPU: 4 cores (Intel i5/AMD Ryzen 5 or equivalent)
- RAM: 8GB
- Storage: 100GB SSD
- Network: 10Mbps dedicated connection
Recommended Node Requirements:
- CPU: 8+ cores (Intel i7/AMD Ryzen 7 or equivalent)
- RAM: 16GB
- Storage: 500GB NVMe SSD
- Network: 100Mbps dedicated connection
Validator Node Requirements:
- CPU: 8+ cores (Intel i9/AMD Ryzen 9 or equivalent)
- RAM: 32GB
- Storage: 1TB NVMe SSD
- Network: 1Gbps dedicated connection with low latency
- Redundant power and network connections
Security Features
- Advanced cryptographic primitives (secp256k1, ed25519, sr25519)
- Multi-signature support with customizable threshold
- Enhanced permission management at protocol level
- Formal verification of core components
- Regular security audits by third-party firms
- Bug bounty program for vulnerability reporting
- Real-time monitoring for suspicious activities
Compatibility
Smart Contract Support
- Solidity version support: ^0.8.0 to ^0.8.20
- Full EVM compatibility including:
- Opcodes: All standard EVM opcodes
- EIPs: 1559 (Fee Market), 2718 (Transaction Types), 2930 (Optional Access Lists)
- Development Frameworks:
- Hardhat
- Truffle
- Foundry
- Remix IDE
- Web3.js and Ethers.js support for frontend integration
- OpenZeppelin contracts compatibility
API and Interfaces
- JSON-RPC API (compatible with Ethereum’s eth_ namespace)
- WebSocket support for real-time updates
- GraphQL endpoint for flexible queries
- Substrate RPC for advanced operations
- Custom RPC extensions for Splendor-specific features:
- Validator management
- Extended transaction metadata
Cross-Chain Capability
- Bridge Support:
- EVM-compatible bridge architecture
- Support for wrapped assets from other chains
- Cross-chain message passing protocol
- Interoperability:
- XCMP-like message format for cross-chain communication
- Substrate-based cross-chain capabilities
- Planned integration with major bridge providers
Privacy at Smart Contract Level
While core privacy features at the protocol level are in development, Splendor supports privacy at the smart contract level:
- Smart contract templates for confidential transactions (under construction)
- EVM precompiles for cryptographic operations
- Support for encryption and secure data handling within contracts
- Privacy-preserving application development using standard Solidity patterns
Upgrade Features
- Hard fork coordination through on-chain governance
- Backward compatibility measures for smooth transitions
- Seamless node upgrades with minimal downtime
- Runtime upgrades without chain restart
- Web3 API stability guarantees
- Long-term support for major versions
Resource Usage
Component | Resource Consumption |
---|---|
Full Node | ~2-5% CPU, 2-4GB RAM during normal operation |
Validator | ~10-40% CPU, 4-8GB RAM during block production |
RPC Node | Scales with query volume, recommend 8GB+ RAM |
Archive Node | ~50GB storage growth per month |
Scalability Roadmap
Splendor’s scalability plan includes several phases:
- Current (Tokio): ~1,000 TPS with 2-second block times
- Next Update: Implementation of parallel transaction processing
- Future Release: Layer 2 solutions with rollup support
- Long-term: Sharding implementation for horizontal scaling
This technical specification represents the current state of Splendor v3 (Tokio) and is subject to enhancements through protocol governance.