This is a CosmWASM smart contract for the DeTrack project on the c4e chain. It provides functionality for storing and verifying cryptographic proofs of energy data.
The DeTrack smart contract implements a decentralized node management and proof verification system for energy data on the Chain4Energy blockchain.
Current Version: Phase 1b (DID-First Architecture - Variant C)
Target Version: Phase 2 (Reputation-Based Architecture)
Status: Roadmap planning phase
src/contract.rs- Main contract entry points (instantiate, execute, query)src/error.rs- Error handlingsrc/execute.rs- Execute message handlerssrc/msg.rs- Message definitionssrc/query.rs- Query handlerssrc/state.rs- State management
- API Specification - Complete API reference
- Contract Design - Design overview
- Deployment Guide - Deployment instructions
Apache-2.0
- Nodes must maintain a reputation score above the minimum threshold
- Only the admin can whitelist/remove nodes and update reputation scores
We welcome contributions! Please see CONTRIBUTING.md for guidelines on how to contribute to this project.
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
For support and questions:
- Open an issue on GitHub Issues
- Visit the Chain4Energy organization
- DeTrack Worker Node - Node implementation for the DeTrack network
- DID Contract - Decentralized Identity contract for c4e chain