SunChain
Decentralized Solar Energy Network on Solana
Problem Statement
Millions of Africans lack reliable electricity. Grid power is inconsistent, expensive, and centralized. Rural communities depend on fuel generators that harm the environment.
Our Solution — SunChain
A Decentralized Physical Infrastructure Network (DePIN) connecting community solar hubs using Solana.
Each hub records energy data on-chain for transparency and trust. Users pay via Solana smart contracts using stablecoins.
Why Solana
Ultra-fast and low-cost micro energy payments
Real-time IoT data tracking via on-chain oracles
Scalable for millions of microgrid users
How It Works
Communities install solar panels and IoT-enabled smart meters.
Energy data is transmitted to Solana and stored on-chain.
Users buy tokens or pay directly for electricity.
Revenue is distributed transparently among operators and investors.
Impact
Provides clean and affordable power access
Creates new economic opportunities for rural tech operators
Demonstrates how blockchain can support real-world infrastructure
Deployment & Usage
This section outlines how to set up and interact with the SunChain prototype using the Solana and Anchor frameworks.
(Note: The following commands use placeholder examples. They can be replaced with actual paths and program IDs once the smart contracts are ready.)
1. Prerequisites
Before deployment, ensure you have the following installed:
- Solana CLI (v1.18 or higher)
- Anchor Framework
- Node.js and Yarn (for frontend interaction)
- Rust (for compiling smart contracts)
- Git (for repository management)
Verify installation:
solana --version
anchor --version
rustc --version
2. Clone the Repository
git clone https://github.com/SirIsarck/SunChainSOL1.git
cd SunChainSOL1
3. Configure Solana Cluster
Choose your preferred Solana environment:
solana config set --url https://api.devnet.solana.com
solana config get
Generate a new keypair if needed:
solana-keygen new --outfile ~/.config/solana/id.json
4. Build the Smart Contract (Program)
anchor build
This command compiles the placeholder SunChain program into a deployable .so binary under the target/deploy/ directory.
5. Deploy to Devnet
anchor deploy
After deployment, you’ll receive a Program ID.
Copy and update it in Anchor.toml and the frontend configuration file.
Example placeholder:
[programs.devnet]
sunchain = "So1na1111111111111111111111111111111111111111"
6. Interacting with the Program
Once deployed, you can interact with the program using the Anchor CLI or Solana client SDKs.
Example placeholder command:
anchor test
Or manually invoke a transaction:
solana program invoke --program-id <PROGRAM_ID> --keypair ~/.config/solana/id.json
7. Frontend Integration (Optional)
If you plan to connect a web dashboard for IoT and on-chain data visualization:
Install dependencies:
yarn install
Start the local server:
yarn dev
Usage
Connect a Solana wallet (Phantom or Solflare)
Register a community solar hub
Monitor real-time energy data
Execute payments and revenue sharing through the smart contract
Technical Stack
Blockchain: Solana
Smart Contracts: Rust (Anchor Framework)
Frontend: React / Next.js
IoT Data: On-chain data + IPFS storage
Token: SPL token (SunToken)
Security
On-chain verification of energy data
Escrow-based smart contracts for payment management
External smart contract audit planned before mainnet launch
Team
- Isarck Eser (@SirIsarck001) – Founder, DePIN Innovator
- Kabir Muhammad (@KbHanwa) – CFO, Web3 Community Builder
- Zaharaddeen Isah (@Zaharaddeenisah) – Mentor, Renewable Energy & Blockchain Researcher Collaborators: IoT Engineer, Smart Contract Developer, Community Operations Lead
Roadmap
Quarter Milestone Goal
Q4 2025 IoT-enabled Pilot 3 communities live Q1 2026 Expand to 5 new communities 500 active users Q2 2026 Launch SunChain Africa Platform Mainnet-ready deployment
Vision
To make clean energy as open and borderless as the internet itself, powered by Solana.
Contact:
Email: ishaqisah013@gmail.com Twitter: @Sirisarck Website: https://github.com/SirIsarck/sirisarck.github.io
Built With
- and
- esp32-iot-meters-streaming-usage-data-to-solana-via-secure-api
- for
- ipfs/supabase
- metadata
- next.js-frontend
- phantom
- solana-(rust-+-anchor)-smart-contracts
- solana-pay-for-usdc/sol-energy-payments
- wallet
- with
Log in or sign up for Devpost to join the conversation.