Pecu Novus is a Layer-1 blockchain network designed for financial applications, focusing on hybrid architecture, scalability, and user-friendliness to bridge traditional finance and blockchain technology. It supports parallel runtime execution, RocksDB-backed state, validator voting with Tower BFT, and modular components for networking, consensus, storage, and runtime.
- Hybrid Consensus (PoT + PoS) with Tower BFT finality
- Validator voting + block proposal integrated with networking
- RocksDB-backed ledger & state storage (migratable from in-memory)
- Parallel runtime executor with account locks & caching
- Transaction pool (TxPool) with forwarding and ingestion
- Pluggable crypto module (Ed25519, VRF support)
- P2P networking layer with gossip, peer discovery, and secure handshakes
- JSON-RPC API for clients and wallets
- Devnet tooling: run multiple nodes locally, submit transactions, and verify block inclusion
pecunovus/
├── src/
│ ├── api/ # External API definitions
│ ├── node/ # Node bootstrap, CLI, services
│ ├── network/ # P2P transport, gossip, peer management
│ ├── consensus/ # PoT, PoS, Tower BFT, voting
│ ├── ledger/ # Blockstore, snapshotting, pruning
│ ├── runtime/ # Executor, VM, program loader
│ ├── state/ # Accounts DB, locks, caching
│ ├── txpool/ # Transaction pool & forwarding
│ ├── storage/ # RocksDB / Sled stores
│ ├── crypto/ # Keys, signing, VRFs
│ ├── rpc/ # JSON-RPC server + handlers
│ ├── utils/ # Logging, metrics, error handling
│ └── tests/ # Integration & fuzz testing
├── config/
│ ├── devnet.toml # Devnet config
│ └── mainnet.toml # Mainnet config
├── Cargo.toml
├── Dockerfile
└── README.md
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | shgit clone https://github.com/your-org/pecunovus.git
cd pecunovus
cargo build --releasecargo run -- --bind 127.0.0.1:7001 --rpc 127.0.0.1:8081 --db /tmp/node1Run a second node and connect to the first:
cargo run -- --bind 127.0.0.1:7002 --rpc 127.0.0.1:8082 --peers 127.0.0.1:7001 --db /tmp/node2get_balance(pubkey)→ account balancesend_transaction(tx)→ submit signed txsubmit_block(block)→ inject block proposalget_block(slot)→ fetch block
Build image:
docker build -t pecunovus-node .Run:
docker run -p 7001:7001 -p 8081:8081 pecunovus-node --bind 0.0.0.0:7001 --rpc 0.0.0.0:8081 --db /data/db- Project scaffolding & module layout
- Networking + CLI bootstrapping
- Consensus PoT + PoS base logic
- Full P2P gossip layer
- Parallel runtime execution
- JSON-RPC routes
- Devnet harness with multiple nodes
- Fork this repo
- Create a feature branch (
git checkout -b feature/awesome) - Commit changes (
git commit -m 'Add awesome feature') - Push branch (
git push origin feature/awesome) - Open a Pull Request 🎉
MIT License © 2025 Pecunovus Authors