Open
Conversation
…rimus price attestations Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…ateral Replace AMM-based pricing (CSMM) with a complete-set model where users mint/burn YES+NO share pairs backed 1:1 by collateral tokens. Integrates defi-wonderland/aztec-standards Token contract for real token transfers. Adds resolution window, private ECDSA verification, and provable solvency. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…ss API
Scripts and tests now use TokenContract.deployWithOpts constructor_with_minter
instead of deploying with initial supply. Token distribution uses mint_to_private.
Auth witness creation updated to wallet.createAuthWit(account, { caller, action })
pattern with authWitnesses passed in send options.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Store Poseidon2 hash of the Primus attester's secp256k1 public key in contract storage at deployment. resolve_market now rejects attestations from unknown signers, closing the gap where any self-generated key pair could resolve the market. Switch attestation generation from proxy-TLS to MPC-TLS mode (mpctls), where client and attester collaboratively compute TLS session keys so neither party can unilaterally forge data. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.
Summary
.envto root.gitignoreTest plan
cd prediction-market-zktls && yarn installyarn ccccompiles contract and generates bindingsyarn testpasses integration tests against local Aztec networknargo testpasses Noir unit tests for pricing and price parsing🤖 Generated with Claude Code