|
|
il y a 3 semaines | |
|---|---|---|
| .. | ||
| contracts | 71d6a89aea chore: Rust toolchain/CI update and workspace setup (#2830) | il y a 4 mois |
| deploy-scripts | e191517da2 fix: fixed more builds | il y a 3 semaines |
| devnet | 084acdb57e [refactor] Convert hyphen to underscore in the directory tree (#524) | il y a 2 ans |
| examples | 394d010d93 chore(fortuna) Config API (#2895) | il y a 3 mois |
| sdk | 1e692e1de2 Deny clippy warnings in CI properly (#2109) | il y a 1 an |
| tools | 3da6a9c8a0 fix(contract-manager): fixed a ton of typing and build issues | il y a 3 semaines |
| wormhole-stub | e5fd5a9d81 [target_chains] Add deployment information for neutron mainnet (#930) | il y a 2 ans |
| .gitignore | ab0cf6f7d8 chore: updated gitignore to excluse the built dist/ folder | il y a 3 semaines |
| Cargo.lock | ee557d20a3 refactor: move wormhole attester to pythnet_sdk legacy module (#2353) | il y a 9 mois |
| Cargo.toml | e1db4aad65 [rust] Remove serde_wormhole patch (#1249) | il y a 1 an |
| README.md | a7d133d063 [cosmwasm] CosmWasm integration with contract manager (#1025) | il y a 2 ans |
This directory contains the Pyth contract for CosmWasm and utilities to deploy it on CosmWasm chains.
We have two kinds of deployment possible on each chain. Stable and Beta. On mainnets we only deploy the stable version. On testnets we deploy both. The purpose of deploying the stable version on testnets is allowing dApps to test their protocol using real accurate price feeds.
This also means we need to somehow distinguish between stable deployments on testnet and mainnets, otherwise a single governance message can affect both of them and have undesired side effects. We do this on cosmwasm by assigning unique chain ids to the testnet and mainnet.
Deploying the CosmWasm contract has three steps:
The scripts directory contains the instructions and scripts to perform all the steps.
We currently have two permissioned networks: injective and osmosis. Uploading the code on their mainnet is not possible without an authority or a governance proposal.