|
|
преди 9 месеца | |
|---|---|---|
| .. | ||
| contracts | 419e180538 refactor: update remaining pythnet-sdk paths | преди 9 месеца |
| deploy-scripts | 51d5217a57 Fix workspace references | преди 1 година |
| devnet | 084acdb57e [refactor] Convert hyphen to underscore in the directory tree (#524) | преди 2 години |
| examples | 955a805e85 chore: apply rustfmt | преди 1 година |
| sdk | 1e692e1de2 Deny clippy warnings in CI properly (#2109) | преди 1 година |
| tools | f1c8493118 feat: added gas multiplier arg for injective (#2104) | преди 1 година |
| wormhole-stub | e5fd5a9d81 [target_chains] Add deployment information for neutron mainnet (#930) | преди 2 години |
| .gitignore | 079828f8ac Wormhole stub (#789) | преди 2 години |
| Cargo.lock | 0a0257e2fe fix(rust): update cargo.lock files after pythnet sdk release (#2111) | преди 1 година |
| Cargo.toml | e1db4aad65 [rust] Remove serde_wormhole patch (#1249) | преди 1 година |
| README.md | a7d133d063 [cosmwasm] CosmWasm integration with contract manager (#1025) | преди 2 години |
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.