1
- # Pyth2Wormhole
1
+ # Pyth Crosschain
2
2
3
3
This repository acts as a monorepo for the various components that make up
4
- Pyth2Wormhole . The base repository is a fork from Certus One's reference
4
+ Pyth Crosschain . The base repository is a fork from Certus One's reference
5
5
[ Wormhole] [ ] implementation in order to take advantage of the existing tooling
6
6
for building projects based on Wormhole's various SDKs. Much of the existing
7
7
documentation from there will also apply to this repository.
@@ -10,36 +10,38 @@ documentation from there will also apply to this repository.
10
10
11
11
Within this monorepo you will find the following subprojects:
12
12
13
- ## Pyth2Wormhole Solana
13
+ ## Wormhole Attester
14
14
15
- > solana/pyth2wormhole
15
+ > wormhole-attester
16
16
17
17
The main Pyth implementation currently exists as an [ on-chain contract] [ ] on
18
- Solana. In order to expose these prices cross-chain, the Pyth2Wormhole Solana
18
+ Solana. In order to expose these prices cross-chain, the Wormhole Attester
19
19
contract acts as a sender for Pyth prices. At regular intervals the Pyth
20
20
contract will observe the current Pyth price for selected products, and produce
21
21
an attestation which is then relayed over Wormhole to be consumed by the
22
- various P2W receiver contracts.
22
+ various receiver contracts.
23
23
24
24
[ on-chain contract ] : https://github.com/pyth-network/pyth-client
25
25
26
- ## Pyth2Wormhole Ethereum
26
+ ## Target Chains
27
27
28
- > ethereum/contracts/pyth
28
+ ### Ethereum
29
29
30
- The Ethereum P2W contract acts as a receiver for Pyth prices relayed from the
31
- P2W Solana contract. It also provides a public API for other Ethereum contracts
30
+ > target-chains/ethereum/contracts/pyth
31
+
32
+ The Ethereum contract acts as a receiver for Pyth prices relayed from the
33
+ Wormhole Attester. It also provides a public API for other Ethereum contracts
32
34
that can be used to consume Pyth prices. For a guide on using this API to
33
- consume Pyth price feeds see [ pyth-evm- sdk] [ ] which contains documented
35
+ consume Pyth price feeds see [ pyth-sdk-solidity ] [ ] which contains documented
34
36
examples.
35
37
36
- [ pyth-evm- sdk ] : https://github.com/pyth-network/pyth-sdk-solidity
38
+ [ pyth-sdk-solidity ] : https://github.com/pyth-network/pyth-sdk-solidity
37
39
38
- ## Pyth2Wormhole Price Service
40
+ ## Price Service
39
41
40
- > third_party/pyth
42
+ > price-service
41
43
42
- The P2W Price Service is an off-chain service which constantly observes the
44
+ The Price Service is an off-chain service which constantly observes the
43
45
Wormhole network watching for price attestations emitted from the Pyth Solana
44
46
contract. It exposes all observed attestations via a public API over HTTPS/WSS
45
47
which can be consumed by client-side applications that wish to use Pyth pricing
0 commit comments