Finalize zk-SNARK circuit design using Circom and snarkjs. Define Clarity smart contract structure for shielded pool logic. Design privacy threat model and relayer architecture. Document system architecture, cryptographic assumptions, and security considerations. What Success Looks Like: - zk-SNARK circuit design finalized and documented (shared on GitHub). - Clarity contract structure defined (initial spec shared). - Privacy threat model and relayer architecture documented. *Submit report to DeGrants.
Implement Clarity contracts for deposit, withdrawal, and proof verification. Develop zk-SNARK circuits for privacy-preserving transactions. Build relayer node prototype to handle anonymous withdrawals. Integrate fee and incentive mechanism for relayers. Conduct first internal end-to-end transaction tests. What Success Looks Like: - Core Clarity contracts implemented and tested locally. - zk-SNARK circuits developed with initial proofs generated. - Relayer prototype functional with basic transaction flow. - End-to-end tests completed (internal report with results). *Submit report to DeGrants.
Deploy shielded pool contracts on Stacks testnet. Run internal audits and initial bug bounty. Open relayer API for developer testing. Improve user experience for deposit and withdrawal flows. Publish security report and collect testnet performance metrics. What Success Looks Like: - Contracts deployed on Stacks testnet (verifiable address). - Internal audits completed with security report published. - Relayer API open for testing (basic developer integration demo). - Testnet performance metrics collected and shared. *Submit final report to DeGrants.
