Integrating Technology for a Sustainable Future
RANTAI 3C adalah platform manajemen jejak karbon berbasis Web3 yang mengintegrasikan cloud infrastructure monitoring, analisis emisi karbon berbasis AI, dan sertifikasi blockchain untuk transparansi dan akuntabilitas lingkungan.
RANTAI 3C dirancang untuk memberikan individu dan organisasi antarmuka yang seamless untuk memantau dan mensertifikasi jejak karbon mereka menggunakan infrastruktur cloud yang scalable dikombinasikan dengan kekuatan blockchain yang immutable.
Platform ini melayani bisnis yang peduli lingkungan, analis keberlanjutan, dan organisasi yang ingin mengoptimalkan pelaporan dampak lingkungan mereka.
- Manual Upload: Import data konsumsi energi melalui CSV/JSON files
- Automated Data Pulling: Integrasi dengan cloud providers (AWS, Google Cloud, Azure)
- Cloud Infrastructure Dashboard: Real-time metrics untuk storage, processing, dan scalability
- Data Validation System: Quality scoring dengan detailed error detection
- Template Downloads: Sample CSV & JSON templates dengan data Indonesia
- Carbon Footprint Calculation: Estimasi emisi berbasis data konsumsi energi
- AI-Powered Insights: 4 tipe analisis (Pattern Analysis, Efficiency Optimization, Predictive Analytics, Benchmarking)
- Interactive Visualizations: Bar, Pie, dan Line charts dengan drill-down capabilities
- Historical Tracking: Progress monitoring over time dengan trend analysis
- Smart Recommendations: Actionable steps dengan priority classification
- Multiple Export Options: PDF, CSV, Excel, JSON formats
- SIWE Authentication: Secure Sign-In With Ethereum
- Smart Contract Integration: Sepolia testnet deployment
- Immutable Records: Permanent carbon footprint certification
- View-Only Mode: Educational blockchain content tanpa wallet requirement
- Certificate Downloads: JSON certificates untuk compliance
- Verified Indonesian Projects: 4 sustainability initiatives (Reforestation, Solar, Mangrove, CCUS)
- Net-Zero Tracking: Visual progress toward carbon neutrality
- Transparent Pricing: $12-25 per ton CO₂
- Impact Metrics: Specific environmental impact per project
- Achievement System: Badges untuk sustainability milestones
- Data Quality Scoring: 0-100 quality metrics dengan improvement recommendations
- Interactive Charts: Click, filter, sort dengan enhanced tooltips
- Historical Trends: LocalStorage persistence dengan percentage change tracking
- Professional Reports: Executive-ready PDF exports dengan visual metrics
- Sustainability Levels: Eco Champion, Carbon Conscious, Environmental Explorer
- Achievement Badges: Carbon Tracker, Data Collector, Blockchain Pioneer, Offset Champion
- Progress Goals: Visual tracking menuju sustainability targets
flowchart TD
A["Cloud ☁️"] --> B["Climate 🌍"]
B --> C["Chain 🔗"]
C --> A
subgraph Details
A1["Scalable Infra"]:::cloud
A2["Carbon-aware Cloud"]:::cloud
B1["Carbon Footprint Tracker"]:::climate
B2["SAFE: Smart Atlas for Environment"]:::climate
C1["Green Blockchain"]:::chain
C2["STC Certified"]:::chain
end
A --> A1
A --> A2
B --> B1
B --> B2
C --> C1
C --> C2
classDef cloud fill:#cce5ff,stroke:#0066cc,color:#003366
classDef climate fill:#d4edda,stroke:#28a745,color:#155724
classDef chain fill:#f8d7da,stroke:#dc3545,color:#721c24
- Framework: Next.js 14 (App Router)
- Language: TypeScript (Strict Mode)
- Styling: Tailwind CSS
- UI Components: ShadCN UI (Radix UI primitives)
- Charts: Recharts
- Icons: Lucide React
- Wallet Integration: ethers.js v6
- Authentication: SIWE (Sign-In With Ethereum)
- Network: Ethereum Sepolia Testnet
- Smart Contract: Custom Carbon Records contract
- CSV Parsing: PapaParse
- PDF Generation: jsPDF
- Excel Export: xlsx (SheetJS)
- Local Storage: Historical data persistence
- React Hooks: useState, useEffect, useCallback
- Node.js 18+
- npm or yarn
- MetaMask or compatible Web3 wallet (optional)
- Clone the repository
git clone https://github.com/yourusername/rantai-3c.git
cd rantai-3c- Install dependencies
npm install
# or
yarn install- Run development server
npm run dev
# or
yarn dev- Open in browser
http://localhost:3000
- Navigate to "Tentang App" tab untuk memahami platform
- Click "Try Demo Data" untuk instant exploration
- Explore features across all 6 tabs
- Go to "Cloud" tab
- Click "Choose File" dan upload CSV/JSON
- View data validation results dan quality score
- Proceed to "Climate" tab untuk analysis
- Navigate to "Auto Pull" tab
- Select cloud provider (AWS/GCP/Azure)
- Enter API credentials (simulated)
- Choose date range
- Click "Pull Data" untuk automated import
- "Climate" tab shows calculated emissions
- Interact with charts (click, filter, sort)
- Review AI insights dan recommendations
- View historical trends
- Export reports (PDF/CSV/Excel)
- Go to "Offset" tab
- Review net-zero progress
- Browse verified Indonesian projects
- Select project dan purchase offsets
- Track achievement badges
- Navigate to "Chain" tab
- View Mode: Learn about blockchain benefits
- Certify Mode: Connect MetaMask wallet
- Sign SIWE message
- Store carbon record on Sepolia
- Download JSON certificate
rantai-3c/
├── src/
│ ├── app/
│ │ ├── page.tsx # Main application page
│ │ ├── layout.tsx # Root layout
│ │ └── globals.css # Global styles
│ ├── components/
│ │ ├── ui/ # ShadCN UI components
│ │ ├── AboutApp.tsx # About section
│ │ ├── DataUpload.tsx # Cloud tab - manual upload
│ │ ├── AutomatedDataPulling.tsx # Auto pull tab
│ │ ├── CarbonAnalysis.tsx # Climate analysis
│ │ ├── BlockchainCertification.tsx # Chain certification
│ │ ├── CarbonOffsetMarketplace.tsx # Offset marketplace
│ │ ├── DataValidation.tsx # Validation system
│ │ ├── InteractiveCharts.tsx # Advanced charts
│ │ ├── HistoricalTrends.tsx # Progress tracking
│ │ └── ExportManager.tsx # Export utilities
│ ├── lib/
│ │ └── utils.ts # Utility functions
│ └── types/
│ └── index.ts # TypeScript interfaces
├── public/ # Static assets
├── package.json
├── tsconfig.json
├── tailwind.config.ts
└── README.md
# Development server
npm run dev
# Production build
npm run build
# Start production server
npm start
# Linting
npm run lint- TypeScript strict mode enabled
- ESLint configured
- Zero console errors
- Mobile-responsive design
- Accessibility best practices
- Create component in
src/components/ - Define TypeScript interfaces in
src/types/ - Import dan integrate in
src/app/page.tsx - Test across devices dan browsers
0x874378E56D92a0C4633b27A1730AD0CF8e7b4891
https://sepolia.infura.io/v3/f8d248f838ec4f12b0f01efd2b238206
storeRecord(string dataHash, uint256 carbonValue): Store carbon recordgetRecord(uint256 recordId): Retrieve record detailstotalRecords(): Get total records count
RecordStored: Emitted when new record is stored
date: Date of consumption (YYYY-MM-DD, DD/MM/YYYY, or MM/DD/YYYY)category: Energy category (Office, Manufacturing, Data Center, Vehicle, HVAC, Lighting)consumption: Energy consumption in kWh
location: Geographic location (e.g., Jakarta, Surabaya)source: Energy source (Grid, Solar, Wind, Diesel)
- CSV: Comma-separated values
- JSON: Array of objects
date,category,consumption,location,source
2024-01-15,Office,450,Jakarta,Grid
2024-01-16,Manufacturing,1200,Surabaya,Grid
[
{
"date": "2024-01-15",
"category": "Office",
"consumption": 450,
"location": "Jakarta",
"source": "Grid"
}
]- Primary: Green shades (sustainability theme)
- Secondary: Blue tones (technology theme)
- Accent: Orange/Yellow (energy theme)
- Neutral: Gray scale
- Font: System fonts (optimized for performance)
- Headings: Bold weights
- Body: Regular weights
- ShadCN UI for consistency
- Custom carbon-themed components
- Responsive grid layouts
- Interactive charts dan visualizations
- Push code to GitHub
- Import repository in Vercel
- Configure environment variables (if needed)
- Deploy
- Netlify
- AWS Amplify
- Digital Ocean App Platform
npm run build.next
Contributions are welcome! Please follow these steps:
- Fork the repository
- Create feature branch (
git checkout -b feature/AmazingFeature) - Commit changes (
git commit -m 'Add some AmazingFeature') - Push to branch (
git push origin feature/AmazingFeature) - Open Pull Request
- Follow TypeScript strict mode
- Maintain code quality
- Write descriptive commit messages
- Test across devices
- Update documentation
This project is licensed under the MIT License - see the LICENSE file for details.
Developed by: mrbrightsides
Website: rantai.elpeef.com
- Manual data upload
- Carbon footprint calculation
- Blockchain certification
- Basic visualizations
- AI-powered insights
- Historical tracking
- Interactive charts
- Multiple export formats
- Data quality validation
- Automated data pulling (simulated)
- Carbon offset marketplace
- Gamification system
- Professional PDF reports
- Real API integrations (AWS, GCP, Azure)
- Backend database (PostgreSQL/MongoDB)
- User authentication system
- Multi-user/team features
- Role-based access control
- Payment processing untuk offsets
- API layer untuk external integrations
- Mainnet deployment (Base blockchain)
- Real ML models untuk predictions
- Mobile app (React Native)
- Advanced analytics suite
- Regulatory compliance templates
- Public transparency dashboard
For questions, issues, or feature requests:
- GitHub Issues: Create an issue
- Email: support@rantai.elpeef.com
- Website: rantai.elpeef.com
- Next.js Team: For amazing React framework
- ShadCN: For beautiful UI components
- Ethereum Foundation: For blockchain infrastructure
- Indonesian Sustainability Projects: For verified offset opportunities
- Open Source Community: For incredible tools dan libraries
- Total Lines of Code: ~3,500+
- Components: 15+ custom components
- Features: 30+ major features
- Supported Formats: CSV, JSON, PDF, Excel
- Blockchain Network: Ethereum Sepolia
- Carbon Projects: 4 verified Indonesian initiatives
- ESG compliance reporting
- Carbon footprint monitoring
- Sustainability goal tracking
- Stakeholder reporting
- Data-driven decision making
- Progress tracking over time
- Identify high-emission areas
- Carbon offset planning
- Client demonstrations
- Carbon audit tools
- Report generation
- Advisory services
- Environmental awareness
- Blockchain education
- Sustainability training
- Data analysis teaching
RANTAI 3C aims to contribute to:
- UN Sustainable Development Goals: Climate Action (SDG 13)
- Paris Agreement: Net-zero emissions by 2050
- Indonesian Climate Targets: 29% emission reduction by 2030
- Corporate ESG Goals: Transparent environmental reporting
Built with ❤️ for a sustainable future
⛅ RANTAI 3C - Integrating Technology for a Sustainable Future 🌍