caelum0x 5cf86893e3 feat(contracts): deploy Cred402 Odra contracts to Casper Testnet (Casper 2.0)
Migrate the contract suite to Odra 2.x (builds on the Casper 2.0 ABI; fixes the
1.x nightly/edition2024 toolchain deadlock) and deploy 9 contracts live to
casper-test via the Odra livenet deployer:

  AgentRegistry · X402ReceiptRegistry · RWAEvidenceRegistry · RWAAssetRegistry
  ReputationEngine · AgentCreditPool · RiskPolicyManager · AgentPassport · DisputeCourt

- contracts: odra "2", no_std headers, build.rs (odra-build), per-crate Odra.toml +
  build_contract/livenet bins; pinned nightly-2025-01-15 for reproducible wasm.
- tooling: scaffold_livenet.py, deploy_all_testnet.sh, deploy_one.mjs.
- deploys.testnet.json: live manifest; README: on-chain contract hashes.
- Deployer key kept out of git (.secrets/ gitignored); wasm artifacts gitignored.

Verified on-chain: AgentRegistry ContractPackage present in global state.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-17 02:34:49 +03:00

32 lines
556 B
TOML

[package]
name = "reputation_engine"
version = "0.1.0"
edition = "2021"
[dependencies]
odra = { workspace = true }
odra-casper-livenet-env = { version = "2", optional = true }
[dev-dependencies]
odra-test = { workspace = true }
[lib]
crate-type = ["cdylib", "rlib"]
[features]
default = []
livenet = ["dep:odra-casper-livenet-env"]
[[bin]]
name = "reputation_engine_build_contract"
path = "src/bin/build_contract.rs"
test = false
[[bin]]
name = "livenet"
path = "bin/livenet.rs"
required-features = ["livenet"]
[build-dependencies]
odra-build = "2"