Carbonio is a decentralized application designed to promote environmental sustainability by recording carbon emission data on the Solana blockchain. This transparent approach enables individuals to monitor their daily carbon footprint while incentivizing companies to reduce their atmospheric emissions. The platform leverages blockchain technology to create accountability and raise environmental awareness among users and organizations.
- Decentralized Carbon Tracking: Record and verify carbon emission data on Solana
- Smart Contract Security: Immutable contracts ensure data integrity and transparency
- Web3 Integration: Seamless connection with Solana wallets
- Modern UI/UX: Built with Next.js and TypeScript for a responsive experience
- Real-time Updates: Live tracking of carbon footprint data
- Multi-user Platform: Supports consumers, companies, and verification auditors
- Parallel Transaction Processing: Concurrent processing of transactions allows high throughput
- Stateless Programs: Smart contracts are immutable with state data stored separately
- Transaction Transparency: All company data is visible and verifiable by all participants
- Frontend: Next.js with TypeScript
- Backend: Express.js
- Blockchain: Solana
- Smart Contracts: Anchor framework
- Storage: Pinata (IPFS) and Supabase
- NFT Creation: Metaplex
Carbonio offers three interconnected portals:
-
- For consumers to scan QR codes and view carbon footprints
- For companies to register to the system
-
- For user to upload their carbon data with pre-formatted .xlsx file
-
Admin Dashboard
- For third-party auditors to verify products and companies
- Company Registration: Companies register their information through the dashboard
- Data Uploading: Product and carbon footprint data is uploaded to the portal
- Blockchain Storage: All data is stored on Solana (100% on-chain)
- Verification Process: Third-party auditors verify company claims
- Consumer Access: Consumers scan QR codes to view verified carbon footprint data
✨ Visit our live demo to see Carbonio in action! ✨
- Node.js (v18+)
- Solana CLI
- Anchor Framework
- Solana Wallet (Phantom recommended)
# Clone the repository
git clone https://github.com/yourusername/carbonio.git
# Install dependencies
cd carbonio
npm install
# Set up environment variables
cp .env.example .env.local
# Run development server
npm run dev# Build and deploy the Solana program
anchor build
anchor deployUpdate your .env.local file with the following:
NEXT_PUBLIC_SOLANA_NETWORK=devnet
NEXT_PUBLIC_RPC_URL=your-rpc-url
PINATA_API_KEY=your-pinata-key
PINATA_SECRET_KEY=your-pinata-secret
SUPABASE_URL=your-supabase-url
SUPABASE_KEY=your-supabase-key
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
Built with 💚 for a sustainable future
