feat: Implement Soroban Smart Contracts (Issues #13, #14, #15) - #23
feat: Implement Soroban Smart Contracts (Issues #13, #14, #15)#23s6pa1rta3n-lab wants to merge 7 commits into
Conversation
|
Merged onto current The repository runs
|
7bae614 to
5b293ed
Compare
|
Rebased onto latest |
|
I have fetched the branch, run prettier, and confirmed that formatting issues are resolved and |
|
@leocagli I have merged main, verified that tests pass, and applied all formatting fixes (including running Prettier and cargo fmt). The linting issues should now be fully resolved. |
|
@leocagli I have executed |
|
Gracias por el volumen de trabajo que hay acá, pero este no lo puedo mergear como está, Se pisa con lo que ya está en
|
…ct game_contract auth, and cryptographic fraud proof validation
…r contract for ZK fraud proofs in dispute_duel
be10175 to
2b2893d
Compare
Code Review ✅ Approved 10 resolved / 10 findingsImplements Soroban smart contracts for verifiable duels, ZK proofs, and Stellar game assets, addressing critical vulnerabilities including forgeable ZK proofs, unauthorized minting, and escrow drainage. No issues found. ✅ 10 resolved✅ Security: ZK verifier performs no real pairing check — proofs are forgeable
✅ Bug: resolve_duel_zk pays 2x pot for un-accepted duels, draining escrow
✅ Security: resolve_duel_optimistic callable by any address
✅ Bug: burn_item returns refund but never transfers gold
✅ Security: mint_item has no authorization and never collects gold
...and 5 more resolved from earlier reviews OptionsAuto-apply is off → Gitar will not commit updates to this branch. Comment with these commands to change the behavior for this request:
Important Your trial ends in 5 days — upgrade now to keep code review, CI analysis, auto-apply, custom automations, and more. Was this helpful? React with 👍 / 👎 | Gitar |
This PR introduces the Soroban smart contracts for Asynchronous verifiable duels, Zero-Knowledge proofs for winning, and Game items as Stellar assets.
Closes #13
Closes #14
Closes #15
Payout Routing
0xF46C9F6d70C50BF81ef3588AB523a90a594a2F89GCL6OXAMLD75BMTINA6EMRUDWK5THQUSHMYNLSNBCJAPZJHNYJTUNIBC