Docs
CosmWasm
Store, instantiate, execute, query. Testnet code IDs for DEX and poker.
REST prefix: /cosmwasm/wasm/v1/.
Testnet code IDs (Explorer registry):
| ID | Contract |
|---|---|
| 2 | hope-cp-pool |
| 3 | hope-campaign-router |
| 4 | hope-public-swap |
| 29 | hope-poker |
Hope LCD smart queries are GET …/smart/{base64} (POST often 501). Copy the live URL from the Contracts tool.
curl -sS \
"https://test-gateway.hopenetwork.io/api/cosmwasm/wasm/v1/contract/$ADDR/smart/$QUERY_B64"Execute via Hope Wallet MsgExecuteContract. The Contracts tool exports the same JSON / React / SDK / Node snippets as the Tx tool. Writes that store/instantiate/migrate are often governance-gated.
