Skip to content

Repository files navigation

DevilChain

DevilChain Network Logo

DevilChain Network

Lightweight Hybrid AI-Powered DAO Blockchain Ecosystem
Native Coin: DevilCoin | On-chain ticker: DVC | DEX / exchange ticker: DVL


👨‍💻 Developer & Credits

🏢 Developed by



Nexuzy Lab — the innovation lab behind DevilChain.
Building next-generation Web3, AI, and blockchain infrastructure.

🌐 nexuzy.tech

⚡ Powered by



Devil One — infrastructure & ecosystem partner.
Driving the DevilChain ecosystem forward.

🌐 devilone.in

Lead Developer:David | @david0154 on GitHub


🪙 Coin Name & Ticker Explained

FieldValueNotes
Full nameDevilCoinAlways the human-readable name
On-chain tickerDVCUsed in wallet, API, blockchain code, gas fees
Exchange tickerDVLUsed on DEX / CEX listings, trading pairs
AlgorithmDVLHash-AICPU-optimized, anti-ASIC
Smallest unitmicro-DVC (µDVC)1 DVC = 1,000,000 µDVC
Decimals6Same as USDC model

Short answer: Use DVC everywhere in the codebase and wallet. Use DVL only on exchanges and trading pairs.


🔥 Vision

DevilChain is a lightweight hybrid AI-powered DAO blockchain ecosystem designed for:

  • ⚡ High-throughput Web3 applications (5,000–20,000 TPS)
  • 📱 Decentralized social media & encrypted messaging
  • 🤖 AI-assisted blockchain infrastructure & security
  • 💻 Low-cost validator nodes & accessible VPS mining
  • 🌉 Seamless cross-chain compatibility (ETH, BNB, Polygon, Solana)
  • 🛡️ DevilGuard AI — real-time fraud, rug pull & spam detection
  • 🪪 DevilID — decentralized Web3 identity (DID:devil)

🌐 Core Ecosystem

ProductPurposeStatus
DevilChain CoreMain Layer-1 blockchain (Rust)✅ Active
DevilCoin (DVC/DVL)Native gas & staking coin✅ Active
DevilX WalletMulti-platform Web3 wallet (Flutter)✅ Active
DevilScanBlockchain explorer (Next.js)✅ Active
DevilProtocolSmart contract system (EVM+WASM)✅ Active
DevilChain DAOOn-chain governance✅ Active
DevilSocialDecentralized Web3 social media (Next.js)✅ Active
DevilChatE2E encrypted wallet-to-wallet messaging✅ Active
DevilGuard AIAI security, fraud & spam detection✅ Active
DevilBridgeCross-chain bridge (ETH/BSC/Polygon/SOL)✅ Active
DevilStorageDecentralized file storage (CID-based)✅ Active
DevilIDDecentralized identity (DID:devil)✅ Active
DevilAI NodeAI validator & miner system✅ Active

💰 Tokenomics — DevilCoin (DVC / DVL)

Supply

PropertyValue
Total Supply1,000,000,000 DVC
Decimals6 (1 DVC = 1,000,000 µDVC)
Block Reward50 DVC (halves every 2,100,000 blocks)
Min Gas Fee0.01 DVC (floor for all tx types)
On-chain tickerDVC
Exchange tickerDVL

Genesis Allocation

Allocation%AmountWallet
Mining Rewards10%100,000,000 DVCdb1xmining_pool_devilchain_000000000
Ecosystem Growth20%200,000,000 DVCdb1xecosystem
DAO Treasury15%150,000,000 DVCdb1xdao_treasury
Dev Fund10%100,000,000 DVCdb1xdev_nexuzy_lab_david0154_00000000
Investors5%50,000,000 DVCdb1xinvestors
Community5%50,000,000 DVCdb1xcommunity
Marketing5%50,000,000 DVCdb1xmarketing_fund_devilchain_000000
Pre-minted total70%700,000,000 DVC
Mining emission (remaining)30%300,000,000 DVCminted per block

💸 Fee Schedule

Transaction Fee Rates

Transaction TypeFee RateExample (100 DVC send)
Standard Transfer0.3%0.30 DVC
DEX Swap1.5%1.50 DVC
NFT Marketplace Sale2.0%2.00 DVC
Smart Contract Deploy5.0% min5.00 DVC+

Minimum fee floor: 0.01 DVC regardless of amount.

Fee Distribution (active — burn < 200M DVC)

Recipient%Example (1.5 DVC DEX fee)Wallet
Miner / Validator55%0.8250 DVCBlock validator
Development Fund18%0.2700 DVCdb1xdev_nexuzy_lab_david0154_00000000
🔥 Burn10%0.1500 DVCdb1x000000000000000000000000000burn
Liquidity Pool10%0.1500 DVCdb1xliquidity_lock_vault_dao_00000000
Marketing7%0.1050 DVCdb1xmarketing_fund_devilchain_000000
Total100%1.5000 DVC

Fee Distribution (after burn cap reached — burn = 200M DVC)

Once 200,000,000 DVC has been burned (20% of supply), burning stops automatically. The 10% burn allocation is redistributed:

Recipient%Notes
Miner / Validator55%Unchanged
Development Fund23%+5% from stopped burn
🔥 Burn0%Auto-stopped
Liquidity Pool15%+5% from stopped burn
Marketing7%Unchanged

🔥 Burn Rule

  • Burn is active by default from genesis.
  • Burns stop automatically when total burned reaches 200,000,000 DVC.
  • Formula: 1,000,000,000 × 20% = 200,000,000 DVC
  • After burn stops, leftover burn fee is split equally between Dev Fund and Liquidity Pool.
  • Burn address: db1x000000000000000000000000000burn — coins sent here are permanently destroyed.

💧 Liquidity Pool Auto-Lock Rule

  • When liquidity vault balance reaches 200,000,000 DVC (20% of total supply):
    • Protocol automatically locks 5% of liquidity for 5 years.
    • Lock amount: 200,000,000 × 5% = 10,000,000 DVC
    • Smart-contract time-lock — cannot be withdrawn until lock expires.
    • Unlock happens automatically after 5 years (157,680,000 seconds).
  • This only triggers once per deployment.

🏗️ Architecture

Type: Hybrid Layer-1 Blockchain
Consensus: Devil Hybrid Protocol (DHP)

LayerComponent
SecurityProof of Stake (primary)
Anti-SpamMicro Proof of Work
GovernanceDAO Voting
OptimizationAI Scoring & Auto-healing

Consensus Flow

User Transaction
↓
Mempool Validation (nonce, sig, gas)
↓
DevilGuard AI Risk Scan
↓
Validator Selection (VRF-weighted PoS)
↓
Micro PoW (spawn_blocking — async-safe)
↓
Block Creation + Binary Merkle Root
↓
DAO Signature (deterministic SHA-256)
↓
Final Block Confirmation + Fee Split

⚙️ Tech Stack

LayerTechnology
Core LanguageRust
Secondary ServicesPython, Golang
Smart ContractsSolidity + WASM
VM EngineModified EVM
Databasesled (embedded)
NetworkingHTTP P2P gossip (libp2p-compatible)
APIsREST (port 8545) + GraphQL (port 8546)
AI RuntimeONNX Runtime / TinyML
ExplorerNext.js 14 + Tailwind CSS
Mobile WalletFlutter 3
Social / ChatNext.js 14
Bridge RelayerPython FastAPI
StorageCID-based (IPFS-compatible)

🖥️ Node Types

Node TypeMin CPUMin RAMMin DiskMin StakePort
Lite Node2 Core2 GB25 GB SSDNone30303
Validator Node4 Core8 GB100 GB SSD100 DVC30303
AI Node4 Core8 GB100 GB SSD100 DVC8547
Archive Node8 Core16 GB1 TB SSDNone30303
Storage Node2 Core4 GB500 GB HDDNone8548

⛏️ Mining

Engine: DevilMine | Algorithm:DVLHash-AI

  • ✅ CPU-optimized & accessible
  • ✅ Anti-ASIC & Anti-GPU domination
  • ✅ Dynamic difficulty adjustment
  • ✅ AI-assisted optimization (+bonus DVC per block)
  • ✅ Block Reward: 50 DVC per block (halving every 2.1M blocks)
# Set your miner address in docker-compose.yml or env:
MINER_ADDR=db1x<your_address>
MINER_STAKE=500000000 # 500 DVC in µDVC

🎯 Network Performance

MetricTarget
TPS5,000 – 20,000
Block Time2 – 5 seconds
Finality< 10 seconds
Gas Fee0.01 – 5% depending on tx type
Energy UsageVery Low (PoS dominant)

🚀 Quick Start

3-Node Testnet (Docker)

git clone https://github.com/david0154/DevilChain.git
cd DevilChain
docker-compose up --build

This starts:

NodeRESTGraphQLRole
node1:8545:8546Seed / Bootstrap
node2:8555:8556Syncs from node1
node3:8565:8566Syncs from node1+node2

Service Map

ServiceURL
REST APIhttp://localhost:8545
GraphQLhttp://localhost:8546/graphql
DevilGuard AIhttp://localhost:8547
DevilStoragehttp://localhost:8548
DevilBridgehttp://localhost:8549
DevilScan Explorerhttp://localhost:3000
DevilSocialhttp://localhost:3001
DevilChathttp://localhost:3002

Example: Send Transaction

curl -X POST http://localhost:8545/api/send \
-H 'Content-Type: application/json' \
-d '{ "from": "db1x<your_address>", "to": "db1x<recipient>", "amount": 100000000, "gas_fee": 300000, "nonce": 0, "tx_type": "Transfer", "public_key": "<hex_ed25519_pubkey>", "signature": "<hex_ed25519_sig>" }'

All amounts in µDVC. 100000000 µDVC = 100 DVC. Gas for a Transfer = 0.3% = 300,000 µDVC = 0.30 DVC.


🔌 API Reference

REST API (port 8545)

GET /api/statusGET /api/block/latestGET /api/block/{height}GET /api/tx/{hash}GET /api/wallet/{address}GET /api/validatorsGET /api/dao/proposalsGET /api/coinGET /api/peersPOST /api/sendPOST /api/stakePOST /api/votePOST /api/faucetPOST /api/p2p/block

GraphQL (port 8546)

query { status }
query { block(height: 1) { blockHashvalidatortxCount } }
query { latestBlock { heightblockHashaiScore } }
query { transaction(hash: "0xabc...") { fromtoamount } }
query { wallet(address: "db1x...") { balancenonce } }

🗳️ DAO Governance

Voting Power = Stake Amount × Reputation Score (integer, no f64)
  • Proposals: any validator with enough stake can create
  • Voting window: 10,000 blocks
  • Quorum required for pass
  • Proposals auto-tally after every mined block
  • DAO signature embedded in every block header

📁 Repository Structure

DevilChain/
├── core/ # Rust blockchain core
│ └── src/
│ ├── blockchain/ # Block, Transaction, Ledger, Merkle
│ ├── consensus/ # DHP, VRF validator selection
│ ├── tokenomics/ # Supply, burn cap, fee split, timelock
│ ├── wallet/ # Ed25519 keygen (OsRng)
│ ├── mempool/ # Nonce-protected fee-priority queue
│ ├── mining/ # spawn_blocking PoW
│ ├── network/ # HTTP P2P gossip
│ ├── api/ # REST (axum)
│ ├── graphql/ # GraphQL (async-graphql)
│ ├── storage/ # sled persistence
│ ├── dao/ # Proposals + voting + tally
│ └── ai/ # DevilGuard rule-based scorer
├── wallet/ # DevilX Wallet (Flutter)
├── explorer/ # DevilScan Explorer (Next.js 14)
├── contracts/ # Smart contracts (Solidity)
├── ai/ # DevilGuard AI (Python FastAPI)
├── storage/ # DevilStorage Node
├── identity/ # DevilID (DID:devil)
├── social/ # DevilSocial (Next.js 14)
├── chat/ # DevilChat (Next.js 14)
├── bridge/ # DevilBridge (Python FastAPI)
├── sdk/ # SDKs (JS, Kotlin, Swift, Rust, Python)
├── docker-compose.yml # 3-node testnet
├── Dockerfile
└── docs/
├── fee-schedule.md
└── burn-liquidity-rules.md

🛡️ Security

  • Signatures: Ed25519 (real cryptography, OsRng — not thread_rng)
  • Wallet Encryption: AES-256-GCM
  • Key Exchange: Curve25519
  • Recovery: BIP39-style mnemonic (12 words)
  • TX Verification: Every transaction verified on mempool entry, mining, and block acceptance
  • AI Security: DevilGuard AI scores every block (reject if < 50/100)
  • Anti-Sybil: Stake-based identity + DAO approval
  • Replay Protection: Nonce-based (tx nonce must equal ledger nonce exactly)
  • No f64 for money: All amounts are u128 µDVC — zero precision loss

🗺️ Roadmap

PhaseDeliverablesStatus
Phase 1Blockchain core, Wallet, Explorer, DAO, Testnet✅ Complete
Phase 2Smart contracts, Staking, NFT support, Validators✅ Complete
Phase 3DevilGuard AI, AI Node, AI moderation✅ Complete
Phase 4DevilSocial, DevilChat, DevilID, DevilStorage✅ Complete
Phase 5DevilBridge, Mainnet launch, DevilOS🔄 In Progress

📄 License

Copyright © 2026 Nexuzy Lab & Devil One. All rights reserved.

This project is licensed under the MIT License — see the LICENSE file for full details.


Built with ❤️ byNexuzy Lab | Powered byDevil One | Lead Dev: David @david0154

🌐 nexuzy.tech🌐 devilone.in⭐ Star on GitHub

About

DevilChain Network - Lightweight Hybrid AI-Powered DAO Blockchain Ecosystem | Native Coin: DevilCoin (DVC/DVL)

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages