|
|
1 năm trước cách đây | |
|---|---|---|
| .. | ||
| contracts | 7796fbe025 FIx (#1381) | 1 năm trước cách đây |
| deploy-scripts | ef922220ee chore(contract_manager): Rename package to @pythnetwork/contract-manager (#1507) | 1 năm trước cách đây |
| devnet | 084acdb57e [refactor] Convert hyphen to underscore in the directory tree (#524) | 2 năm trước cách đây |
| examples | 8752291aa2 fix broken links (#945) | 2 năm trước cách đây |
| sdk | 49d1a579c3 chore: cleanup repo | 2 năm trước cách đây |
| tools | a203808a44 refactor(cosmwasm/tools): update cosmjs dependencies (#1514) | 1 năm trước cách đây |
| wormhole-stub | e5fd5a9d81 [target_chains] Add deployment information for neutron mainnet (#930) | 2 năm trước cách đây |
| .gitignore | 079828f8ac Wormhole stub (#789) | 2 năm trước cách đây |
| Cargo.lock | 020ecdf5da Solve (#1539) | 1 năm trước cách đây |
| Cargo.toml | e1db4aad65 [rust] Remove serde_wormhole patch (#1249) | 1 năm trước cách đây |
| README.md | a7d133d063 [cosmwasm] CosmWasm integration with contract manager (#1025) | 2 năm trước cách đây |
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.