[Tutorial] Full-Stack Midnight dApp: Contract + TypeScript API + React Frontend + Wallet (#314)#509
Open
BossChaos wants to merge 7 commits into
Open
Conversation
- midnightntwrk#288: Accepting Token Deposits (receiveShielded, writeCoin, sendShielded, mergeCoinImmediate) - midnightntwrk#327: Shielded Token Operations (mint, transfer, burn with test suite) Both include working Compact contracts and comprehensive tutorials.
…on guide - Bounty midnightntwrk#288: Add owner access control to release() function - Bounty midnightntwrk#327: Add test-utils.ts for test suite dependencies - Both: Add README with compilation and testing instructions - Fix AI detection risk in midnightntwrk#327 tutorial conclusion
….30.0 compatibility issues - Fix Maybe syntax: just()/nothing() → some()/none() - Fix owner type: Opaque<Bytes<32>> → Bytes<32> - Fix ownPublicKey() comparison: use .bytes - Fix evolveNonce: two-arg signature (nonceIndex, oldNonce) - Fix totalSupply: remove disclose(), add as Uint<128> casts - Fix ShieldedCoinInfo: remove pk field, add explicit type params - Fix tokenColor: Opaque<Bytes<32>> → Bytes<32> - Fix witness disclosure: use disclose() on circuit parameters - Fix all 9 circuits to compile with Compact 0.30.0
… Deployment - working SecureToken.compact
…erations + Security Checklist * fix(midnightntwrk#327): Shielded Token Operations - fix all Compact 0.30.0 compatibility issues - Fix Maybe syntax: just()/nothing() → some()/none() - Fix owner type: Opaque<Bytes<32>> → Bytes<32> - Fix ownPublicKey() comparison: use .bytes - Fix evolveNonce: two-arg signature (nonceIndex, oldNonce) - Fix totalSupply: remove disclose(), add as Uint<128> casts - Fix ShieldedCoinInfo: remove pk field, add explicit type params - Fix tokenColor: Opaque<Bytes<32>> → Bytes<32> - Fix witness disclosure: use disclose() on circuit parameters - Fix all 9 circuits to compile with Compact 0.30.0 * feat(midnightntwrk#320): Security Checklist for Midnight dApps Before Deployment - working SecureToken.compact --------- Co-authored-by: BossChaos <BossChaos@users.noreply.github.com>
Self-review patches: fix double-counting bug, expand tutorial, rewrite tests
…ct Frontend Wallet (midnightntwrk#314)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bounty Submission: Issue #314
Complete full-stack dApp development tutorial covering the entire lifecycle:
Deliverables:
Ready for review.