|
|
1 年之前 | |
|---|---|---|
| .. | ||
| aptos | 3f07c27243 chore(aptos): bump to 3.1.0 toolchain/cli (#1543) | 1 年之前 |
| cosmwasm | 020ecdf5da Solve (#1539) | 1 年之前 |
| ethereum | 587a6fa524 feat(contract_manager): upgrade deploy scripts to use wormhole store (#1523) | 1 年之前 |
| fuel | ae8fab1217 fix(target_chains/fuel): initialize all storage variables (#1566) | 1 年之前 |
| near | 1871ca1bf3 [Solana] More tests (#1263) | 1 年之前 |
| solana | a592c6bc33 fix: publish workflow (#1532) | 1 年之前 |
| starknet | 1e1be9dbeb refactor(target_chains/starknet): remove old config instructions and owner from wormhole (#1558) | 1 年之前 |
| sui | 8d32b4c2fc chore: remove repetitive words (#1524) | 1 年之前 |
| README.md | fc916c6496 fix: typos (#1347) | 1 年之前 |
This directory includes all implementations of pyth contracts in different chains.
Each implementation includes:
Contracts deployed on other chains accept updates that are signed and published by wormhole. These updates are in one of the two categories:
These messages are generated in pythnet (pyth mainnet network) and pythtest (pyth testnet network) and submitted to the wormhole program that is published on these chains. Then the wormhole network signs these messages and produces a VAA that can be relayed and consumed in contracts on other blockchains.
A basic implementation of pyth on a target chain includes the following pieces of logic:
In terms of contract configuration the following states exist on all the implementations:
In the case that wormhole is not deployed on a new chain we want to deploy pyth on, we need to deploy wormhole too. The deployment process is chain dependent, but should be very similar to how pyth is deployed on the target chain. After the initial deployment, we need to make sure wormhole configuration is also on the latest version. This is done by running a set of fixed, known VAAs that update the wormhole configurations (guardians sets) on all chains.
A general upgrade process has the following steps, these steps can vary slightly based on the target chain nature:
Deploying a contract on a new chain consists of the following steps: