Introduction
Project Name:
Pinet: Decentralized Energy Trading Platform
Name of the organization or individual submitting the proposal:
Alireza Hajimohammadi (Founder, Pinet Project)
Describe your project.
Pinet is a decentralized peer-to-peer energy trading platform designed to enable individuals and small-scale renewable energy producers to securely trade surplus energy with consumers. The platform focuses on user ownership, privacy, and verifiability of sensitive energy transaction data.
Energy settlements are handled on-chain using smart contracts deployed on the Polygon network, while sensitive off-chain energy transaction artifacts are stored as encrypted objects using Sia’s decentralized object storage.
The MVP (Minimum Viable Product) will demonstrate:
- On-chain energy trade settlement using the PNTE token on Polygon
- Generation of off-chain energy transaction artifacts (e.g. trade receipts, metering summaries, aggregated kWh proofs)
- Client-side encryption and decentralized storage of these artifacts using Sia (via renterd on the Zen testnet)
- A basic web dApp allowing users to initiate, track, and verify energy trades
Advanced features such as staking, governance, and scalability optimizations are intentionally out of scope for this grant and planned for later phases.
How does the projected outcome serve the Foundation’s mission of user‑owned data?
This project directly aligns with Sia’s mission of user-owned data by ensuring that sensitive energy transaction artifacts are never stored in plaintext, never stored on centralized infrastructure, and never stored on-chain.
Key principles include:
- Client-side encryption: All energy transaction artifacts are encrypted before upload.
- User-centric ownership: Encryption keys are held by users, not by the platform.
- Decentralized object storage: Sia is used strictly as encrypted object storage; no application data is stored on the Sia chain database itself.
- Verifiable references: Only hashes and storage references are linked to on-chain settlements, enabling auditability without exposing raw data.
This architecture allows users to retain full control over their energy data while still benefiting from decentralized settlement and verification.
Project Architecture (High-Level)
- Frontend / dApp:
PHP-based web interface for initiating and viewing energy trades.
The web dApp is a non-custodial MVP interface; no user funds, private keys, or decrypted data are ever held by the application. - Blockchain Layer:
Polygon (Amoy testnet for MVP)- PNTE token contract
- Energy trade settlement smart contract
- Storage Layer:
Sia decentralized object storage- renterd
- Zen testnet (no paid storage required for MVP)
- Data Flow:
- Energy trade is settled on-chain on Polygon
- Off-chain energy transaction artifact is generated
- Artifact is encrypted client-side
- Encrypted object is uploaded to Sia via renterd
- Hash and Sia object reference are associated with the on-chain transaction
No raw energy data, private keys, or user balances are stored on-chain or accessible to the server.
Security & Privacy Best Practices
- Client-side encryption before upload to Sia
- User-held encryption keys (server cannot decrypt data)
- Server acts only as a coordination and relay layer
- No storage of private keys or sensitive data on backend
- Clear separation between:
- Settlement logic (Polygon smart contracts)
- Data availability and evidence storage (Sia)
- Minimal trust assumptions for infrastructure components
This design is compatible with future migration toward fully client-side data management as Sia tooling (e.g. indexd) matures.
The MVP does not depend on indexd; future iterations may optionally adopt it once publicly released.
Compliance
Are you a resident of any jurisdiction on that list?
No
Will your payment bank account be located in any jurisdiction on that list?
No
Grant Specifics
Amount Requested:
$2,500 USD
Category Breakdown:
| Category | Amount (USD) | Description |
|---|---|---|
| Lead Developer / Architect | $1,500 | 20 hrs/week × 4 weeks @ $25/hr. Development of smart contracts and integration with Sia storage. |
| Frontend Development & UI Design | $1,000 | Contracted support for basic web interface and user experience. |
Total Requested: $2,500
All Sia storage will use the Zen testnet for MVP development, requiring no paid storage budget.
Goals and Timeline
Goals:
- Deliver a functional MVP demonstrating decentralized energy trade settlement with encrypted off-chain evidence storage
- Integrate encrypted off-chain artifact storage using Sia
- Open-source all code with clear documentation
Timeline (3 months)
| Month | Milestone | Deliverables |
|---|---|---|
| 1 | Setup & architecture | Repositories initialized, smart contract scaffolding |
| 2 | Core functionality | Energy settlement contracts, Sia renterd integration |
| 3 | MVP completion | Web interface, end-to-end demo, documentation |
Potential Risks
- Integration complexity between on-chain settlement and off-chain storage
Mitigation: Modular architecture and early testing - User adoption risk for early MVP
Mitigation: Focus on simplicity and clear documentation
Development Information
Will all of your project’s code be open-source?
Yes, all code will be open-sourced under the MIT License.
Link where code will be accessible for review:
GitHub Repository:
Do you agree to submit monthly progress reports?
Yes
Implementation References (MVP)
- Energy Settlement Smart Contract (Polygon Amoy Testnet):
0xB3D0a1186d5E560B4886E31F0040fC88B88cf3f0 - PNTE Token Contract (Polygon Amoy Testnet):
0x00558E155f34264BF8C39151143e5760CcbCFD94 - MVP Web dApp (Demo):
https://pinetworkinton.free.nf/energy.php - Demo Video:
https://youtu.be/Px2K72O8RC4
These references are provided to demonstrate existing implementation and are not production deployments.
Contact Info
Email: [email protected]
Other Contact Methods:
- Telegram: @pinet_pnte