NBCoin is a Substrate-based, EVM-compatible blockchain that enables smart contract functionality and cross-chain interoperability.
- EVM Compatibility: Full Ethereum smart contract support
- Chain ID: 20250714
- Token Symbol: NBC
- Total Supply: 210 billion NBC
- Decimal Places: 18
- Cross-chain Capability: Built on Substrate framework
- Rust and Cargo (Latest stable version)
- Protocol Buffers Compiler
# macOS brew install protobuf # Ubuntu/Debian sudo apt install protobuf-compiler
-
Clone the repository:
git clone <your-repo-url> cd nbcoin
-
Build the node:
# Build release version cargo build --release
# Run a development node
./target/release/moonbeam --dev --sealing 6000
# Run with detailed logging
./target/release/moonbeam --dev --sealing 6000 -lruntime=debug
# Run a local testnet node
./target/release/moonbeam --chain local
- Open MetaMask
- Add a new network with these parameters:
- Network Name: NBCoin
- RPC URL: http://127.0.0.1:9944
- Chain ID: 20250714
- Currency Symbol: NBC
- Block Explorer URL: (leave blank for local node)
const Web3 = require('web3');
const web3 = new Web3('http://127.0.0.1:9944');
// Example: Check connection
web3.eth.net.getId()
.then(console.log);
NBCoin supports all standard Ethereum smart contracts. You can use:
- Solidity (All versions supported by Ethereum)
- Hardhat
- Truffle
- Remix IDE
Example deployment using Hardhat:
npx hardhat run scripts/deploy.js --network nbcoin
- Block Time: 6 seconds
- Gas Limit: 15,000,000
- Minimum Gas Price: 1 Gwei
- Token Decimals: 18
- EVM Compatibility
- Precompiled Contracts Support
- Cross-chain Messaging
- On-chain Governance
- Staking and Validation
- Asset Management
[License details here]