A decentralized, EVM-compatible blockchain that anyone can mine!
- β True Decentralization - Anyone can run a node and mine
- β EVM Compatible - Works with MetaMask and Web3 tools
- β Fair Mining - Proof of Work with automatic difficulty adjustment
- β Easy Setup - Get mining in under 5 minutes
- β Beautiful Explorer - Track blocks and transactions in real-time
- β Auto Peer Discovery - Connects to the network automatically
- β Mining Rewards - Earn 50 VELVET per block
- Python 3.8 or higher
- MetaMask wallet (optional, for sending transactions)
- Clone the repository
git clone https://github.com/freedomparrot/velvet-chain.git
cd velvet-chain- Install dependencies
pip install -r requirements.txt- Start mining!
python node.py --mine --wallet YOUR_WALLET_ADDRESSReplace YOUR_WALLET_ADDRESS with your MetaMask wallet address (e.g., 0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb1)
That's it! You're now mining VELVET tokens! π
python node.py --mine --wallet 0xYourWalletAddressEarns: 50 VELVET per block mined
python node.pyHelps secure the network and relay transactions
python node.py --port 8546 --mine --wallet 0xYourWalletAddressOpen your browser to:
http://localhost:8545/explorer
- Open MetaMask
- Click network dropdown β "Add Network"
- Enter the following details:
| Field | Value |
|---|---|
| Network Name | Velvet Chain |
| RPC URL | http://96.126.107.7:8545 |
| Chain ID | 16523431 |
| Currency Symbol | VELVET |
- Click "Save"
- Your VELVET balance will appear in MetaMask!
Velvet Chain uses Proof of Work consensus:
- Your node collects pending transactions
- Creates a new block with transactions + your mining reward
- Finds a valid hash by trying different nonces
- Broadcasts the block to the network
- You receive 50 VELVET! π°
- Block Reward: 50 VELVET per block
- Target Block Time: 10 seconds
- Difficulty Adjustment: Every 100 blocks
- Expected Daily Earnings: ~432,000 VELVET (if mining alone)
Minimum:
- CPU: 2 cores
- RAM: 2 GB
- Disk: 10 GB
- Internet: 5 Mbps
Recommended:
- CPU: 4+ cores
- RAM: 4+ GB
- Disk: 50+ GB
- Internet: 10+ Mbps
Note: Velvet uses CPU mining. More CPU cores = higher mining chance
- Network Name: Velvet Chain
- Chain ID: 16523431
- Currency: VELVET
- Total Supply: 1,000,000 VELVET (initial) + mining rewards capped at 21,000,000 with halving every new era !
- Block Explorer: https://explorer.velvetchain.network
- Genesis Block: December 29, 2024
The network automatically connects to bootstrap nodes:
https://velvet-bootstrap-1.network:8545https://velvet-bootstrap-2.network:8545
Check live stats at: https://stats.velvetchain.network
The included block explorer shows:
- β Real-time blockchain statistics
- β Latest blocks and transactions
- β Mining difficulty and hashrate
- β Network peer count
- β Your wallet balance
- β Transaction history
Access at: http://localhost:8545/explorer
Create a .env file:
VELVET_PORT=8545
VELVET_WALLET=0xYourAddress
VELVET_BOOTSTRAP_NODES=http://node1.com:8545,http://node2.com:8545
VELVET_MAX_PEERS=25Create /etc/systemd/system/velvet-node.service:
[Unit]
Description=Velvet Chain Node
After=network.target
[Service]
Type=simple
User=velvet
WorkingDirectory=/home/velvet/velvet-chain
ExecStart=/usr/bin/python3 node.py --mine --wallet 0xYourAddress
Restart=always
[Install]
WantedBy=multi-user.targetEnable and start:
sudo systemctl enable velvet-node
sudo systemctl start velvet-node
sudo systemctl status velvet-nodedocker build -t velvet-chain .
docker run -p 8545:8545 velvet-chain --mine --wallet 0xYourAddressWe love contributions! Here's how to help:
git clone https://github.com/yourusername/velvet-chain.git
cd velvet-chain
pip install -r requirements-dev.txt
python -m pytest tests/- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
- π Bug fixes
- β¨ New features
- π Documentation improvements
- π§ͺ Test coverage
- π Translations
- π¨ UI improvements
Velvet Chain implements Ethereum JSON-RPC for MetaMask compatibility:
// Get chain ID
POST http://localhost:8545
{
"jsonrpc": "2.0",
"method": "eth_chainId",
"params": [],
"id": 1
}
// Get balance
POST http://localhost:8545
{
"jsonrpc": "2.0",
"method": "eth_getBalance",
"params": ["0xYourAddress", "latest"],
"id": 1
}# Get blockchain stats
GET http://localhost:8545/api/stats
# Get latest blocks
GET http://localhost:8545/api/chain
# Get specific block
GET http://localhost:8545/api/block/123
# Get address info
GET http://localhost:8545/api/address/0xYourAddress
# Get connected peers
GET http://localhost:8545/api/peers- β Never share your private keys
- β Use a hardware wallet for large amounts
- β Keep your node software updated
- β Use a firewall to protect RPC port
- β Regular backups of blockchain data
Found a security issue? Email: security@velvetchain.network
Do not create public issues for security vulnerabilities.
- Core blockchain implementation
- P2P networking
- Mining support
- Block explorer
- MetaMask integration
- Smart contract support
- Mobile wallet app
- Mining pool software
- Hardware wallet support
- DEX listing
- DeFi protocols
- NFT marketplace
- Bridge to Ethereum
- Validator nodes
- DAO governance
- Private chains
- Enterprise APIs
- Advanced analytics
- Institutional support
This project is licensed under the MIT License - see the LICENSE file for details.
Help us grow the network! List your public node:
- Open an issue with your node URL
- We'll add it to the bootstrap nodes
- Earn community recognition! π
Q: How much can I earn mining?
A: Depends on network hashrate. With 10-second blocks, ~8,640 blocks/day Γ 50 VELVET = 432,000 VELVET/day (if mining alone).
Q: Can I mine on multiple computers?
A: Yes! Each computer increases your chances.
Q: Is this a scam/rugpull?
A: No! Open source, no premine (except initial supply for development), fully decentralized.
Q: What can I do with VELVET tokens?
A: Hold, trade on DEXes, use in DeFi, send to friends, or stake (coming soon).
Q: Can I run this on a Raspberry Pi?
A: Yes! Works great on ARM devices.
Q: How is this different from Bitcoin/Ethereum?
A: EVM-compatible (smart contracts), faster blocks, easier mining, modern codebase.
Built with:
- Python 3
- Flask
- Web3.py
- eth-account
- And lots of β
Special thanks to:
- The Ethereum community
- Bitcoin pioneers
- All our contributors
- You, for mining! π