1. Architecture
The ENRG protocol operates on a decentralized architecture connecting physical energy production to blockchain-based tokenization:
- IoT Devices: Physical sensors (e.g., ESP32 + PZEM-004T) measure energy output and transmit signed data.
- Oracles: Verify and relay IoT data to smart contracts on Solana.
- Smart Contracts: Mint ENRG tokens based on verified production data.
- Energy Vault: Stores tokenized energy value, enabling staking, trading, and protocol fees.
2. Proof-of-Production
ENRG implements a Proof-of-Production mechanism to ensure tokens are backed by real energy generation:
- IoT devices (ESP32 microcontroller with PZEM-004T energy meter) collect production data every 10 minutes.
- Data is signed using Ed25519 cryptography for authenticity.
- Signed data is transmitted via Wi-Fi to oracle nodes.
- Oracles verify signatures and data integrity before relaying to smart contracts.
- Smart contracts mint ENRG tokens proportional to verified energy output (1 ENRG = 1 MWh).
3. Smart Contracts
The ENRG protocol consists of several Solana-based smart contracts:
- registry: Manages device registration and producer identities.
- mint_enrg: Handles ENRG token minting based on oracle-verified data.
- vault: Stores protocol fees and manages the Energy Vault economy.
- buyback_burn: Executes automated buyback and burn mechanisms for deflation.
- staking: Allows ENRG holders to stake tokens for rewards.
- founder_vesting: Manages founder token vesting schedules.
4. API
ENRG provides RESTful APIs for device management and proof submission:
- POST /api/v1/proof/submit: Submits signed proof-of-production data from IoT devices.
- GET /api/v1/device/{id}/status: Retrieves the status and history of a specific device.
5. Energy Vault Economy
The protocol collects a 15% fee on all ENRG minting, distributed as follows:
- Buyback & Burn (20%): Tokens are bought back and permanently removed from circulation.
- Staking (40%): Rewards distributed to ENRG stakers.
- DAO Reserve (30%): Funds protocol development and governance.
- Emergency Fund (10%): Reserved for unforeseen protocol needs.
6. Roadmap
- Genesis (Q1 2024): MVP launch with basic IoT integration and token minting.
- Mainnet (Q2 2024): Full Solana deployment with oracle integration.
- Vault Growth (Q3 2024): Expansion of Energy Vault features and staking rewards.
- Expansion (Q4 2024): Multi-chain support and global energy producer onboarding.
7. Tokenomics
- Maximum Supply: 1,000,000,000 ENRG tokens (fixed cap).
- Backing: 1 ENRG = 1 MWh of verified energy production.
- Deflation: Achieved through automated Buyback & Burn mechanisms.
8. IoT Hardware Prototype
- Hardware: ESP32 microcontroller paired with PZEM-004T energy monitoring module.
- Security: Ed25519 digital signatures for data authenticity.
- Connectivity: Wi-Fi transmission of signed data to oracle nodes.
- Frequency: Data submission every 10 minutes for real-time verification.
9. Oracle Architecture
- Primary Oracle: Switchboard for production-grade data verification.
- MVP Oracle: oracle-publisher.js for initial testing and development.
- Production Integration: Direct CPI (Cross-Program Invocation) calls on Solana.
10. Competitive Advantages
- Universal Energy Support: Compatible with any energy source (solar, wind, hydro, etc.).
- Real MWh Backing: Tokens backed by actual energy production, not loyalty points.
- Buyback & Burn: Built-in deflationary mechanism.
- Source Multipliers: Different reward rates for various energy types.
- Decentralization: Fully decentralized oracle and smart contract infrastructure.
11. Security Considerations
- Key Storage: Secure hardware storage using ATECC608 cryptographic co-processor.
- Signature Verification: All data submissions require valid Ed25519 signatures.
- Replay Protection: Nonce-based mechanisms prevent duplicate submissions.
- Oracle Consensus: Multi-node verification ensures data integrity.
Back to main site