|
|
1 週間 前 | |
|---|---|---|
| .. | ||
| aptos | 31c364cf41 feat: performed a minor bump all packages, since all were changed in the big dual package update | 2 週間 前 |
| cosmwasm | 31c364cf41 feat: performed a minor bump all packages, since all were changed in the big dual package update | 2 週間 前 |
| ethereum | c3301c8663 chore: ignore some more extraneous files | 1 週間 前 |
| fuel | 31c364cf41 feat: performed a minor bump all packages, since all were changed in the big dual package update | 2 週間 前 |
| near | ab0cf6f7d8 chore: updated gitignore to excluse the built dist/ folder | 3 週間 前 |
| solana | 68d57efe32 chore: support anchor 0.32.1 in pyth-solana-receiver-sdk (#3159) | 2 週間 前 |
| starknet | 31c364cf41 feat: performed a minor bump all packages, since all were changed in the big dual package update | 2 週間 前 |
| stylus | 314c44733a Merge pull request #2929 from pyth-network/correcting-fee-calc-order | 3 ヶ月 前 |
| sui | 31c364cf41 feat: performed a minor bump all packages, since all were changed in the big dual package update | 2 週間 前 |
| ton | a9013fd148 fix leak (#3181) | 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: