Skip to content
This repository was archived by the owner on Aug 21, 2024. It is now read-only.

Commit 9463b0f

Browse files
authored
fix broken links (#88)
1 parent 9bfd97d commit 9463b0f

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

pythnet-price-feeds/aptos.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ description: Consume Pyth Network prices in applications on Aptos
44

55
# Pyth on Aptos
66

7-
Aptos contracts can update and fetch the Pyth prices using the Pyth Aptos Contract, which has been deployed on Mainnet. The documented source code can be found [here](https://github.com/pyth-network/pyth-crosschain/blob/main/aptos/contracts/sources/pyth.move).
7+
Aptos contracts can update and fetch the Pyth prices using the Pyth Aptos Contract, which has been deployed on Mainnet. The documented source code can be found [here](https://github.com/pyth-network/pyth-crosschain/blob/main/target-chains/aptos/contracts/sources/pyth.move).
88

99
## Updating Price Feeds
1010

1111
The mechanism by which price feeds are updated on Aptos is explained [here](./pythnet-price-feeds.md). The [pyth-aptos-js](https://github.com/pyth-network/pyth-js/tree/main/pyth-aptos-js) package can be used to fetch price feed update data which can be passed to the `pyth::update_price` on-chain function.
1212

1313
## Examples
14-
- [Minimal on-chain contract](https://github.com/pyth-network/pyth-crosschain/blob/main/aptos/examples/fetch_btc_price) which updates and returns the Pyth BTC/USD price.
15-
- [Full-stack React app and on-chain contract](https://github.com/pyth-network/pyth-crosschain/blob/main/aptos/examples/mint_nft) which uses the [pyth-aptos-js](https://github.com/pyth-network/pyth-js/tree/main/pyth-aptos-js) package to update the price used by the contract.
14+
- [Minimal on-chain contract](https://github.com/pyth-network/pyth-crosschain/blob/main/target-chains/aptos/examples/fetch_btc_price/sources/example.move) which updates and returns the Pyth BTC/USD price.
15+
- [Full-stack React app and on-chain contract](https://github.com/pyth-network/pyth-crosschain/tree/main/target-chains/aptos/examples/mint_nft) which uses the [pyth-aptos-js](https://github.com/pyth-network/pyth-js/tree/main/pyth-aptos-js) package to update the price used by the contract.
1616

1717
## Networks
1818

pythnet-price-feeds/bas.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ description: Consume Pyth Network prices in applications on BNB Application Side
33
---
44

55
# Deployment
6-
If, as is highly likely, your BAS chain doesn't already have a deployment of Pyth, you will need to deploy the `Pyth2Wormhole` receiver contracts yourself. This is easy to do and will enable contracts deployed on your BAS chain to consume Pyth price feeds from the `PythUpgradable` contract.
6+
If, as is highly likely, your BAS chain doesn't already have a deployment of Pyth, you will need to deploy the `pyth-crosschain` receiver contracts yourself. This is easy to do and will enable contracts deployed on your BAS chain to consume Pyth price feeds from the `PythUpgradable` contract.
77

8-
To deploy the `Pyth2Wormhole` receiver contracts to your BAS chain:
9-
- Clone the [pyth2wormhole repo](https://github.com/pyth-network/pyth2wormhole).
8+
To deploy the `pyth-crosschain` receiver contracts to your BAS chain:
9+
- Clone the [pyth-crosschain repo](https://github.com/pyth-network/pyth-crosschain).
1010

11-
- Add your BAS network details to the [Truffle Networks configuration file](https://github.com/pyth-network/pyth2wormhole/blob/main/ethereum/truffle-config.js). An example using BAS test net is configured as below:
11+
- Add your BAS network details to the [Truffle Networks configuration file](https://github.com/pyth-network/pyth-crosschain/blob/main/target-chains/ethereum/truffle-config.js). An example using BAS test net is configured as below:
1212
```json
1313
my_bas_testnet: {
1414
provider: () => new HDWalletProvider(
@@ -23,7 +23,7 @@ To deploy the `Pyth2Wormhole` receiver contracts to your BAS chain:
2323
}
2424
```
2525

26-
- Prepare a `.env.prod.my_bas_testnet` environment file in the `pyth2wormhole/ethereum` directory. Please note if you test the deployment in the test net, you need use the Testnet pyth variable of PYTH_TO_WORMHOLE_EMITTER like below.
26+
- Prepare a `.env.prod.my_bas_testnet` environment file in the `pyth-crosschain/target-chains/ethereum` directory. Please note if you test the deployment in the test net, you need use the Testnet pyth variable of PYTH_TO_WORMHOLE_EMITTER like below.
2727
```shell
2828
# The truffle network name of your BAS chain, defined in the configuration earlier
2929
MIGRATIONS_NETWORK=my_bas_testnet
@@ -57,9 +57,9 @@ To deploy the `Pyth2Wormhole` receiver contracts to your BAS chain:
5757
npm install
5858
```
5959

60-
- Now run the Truffle migrations inside [`pyth2wormhole/migrations/prod-receiver`](https://github.com/pyth-network/pyth2wormhole/tree/main/ethereum/migrations/prod-receiver) using the instructions [here](https://github.com/pyth-network/pyth2wormhole/blob/main/ethereum/Deploying.md). Make sure you are deploying using the right environment file and to the correct network.
60+
- Now run the Truffle migrations inside [`pyth-crosschain/target-chains/ethereum/migrations/prod-receiver/`](https://github.com/pyth-network/pyth-crosschain/tree/main/target-chains/ethereum/migrations/prod-receiver) using the instructions [here](https://github.com/pyth-network/pyth-crosschain/blob/main/target-chains/ethereum/Deploying.md). Make sure you are deploying using the right environment file and to the correct network.
6161

62-
- You can verify the contracts have been deployed successfully using the example [here](https://github.com/pyth-network/pyth2wormhole/blob/main/ethereum/Deploying.md#testing).
62+
- You can verify the contracts have been deployed successfully using the example [here](https://github.com/pyth-network/pyth-crosschain/blob/main/target-chains/ethereum/Deploying.md#testing).
6363

6464
# Usage
6565
After the pyth2wormhole contracts have been deployed to your BAS chain, please refer to the [Pyth on EVM-based chains documentation](evm.md) for how to consume price feeds.

pythnet-price-feeds/off-chain.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ An example can be found [here](https://github.com/pyth-network/pyth-client-js#ex
1515
{% endtab %}
1616

1717
{% tab title="Rust" %}
18-
The [pyth-sdk-solana crate](https://crates.io/crates/pyth-sdk-solana) can be used to consume Pyth prices inside your off-chain Rust programs. An example can be found [here](https://github.com/pyth-network/pyth-sdk-rs/blob/main/pyth-sdk-solana/examples/eth\_price.rs).
18+
The [pyth-sdk-solana crate](https://crates.io/crates/pyth-sdk-solana) can be used to consume Pyth prices inside your off-chain Rust programs. An example can be found [here](https://github.com/pyth-network/pyth-sdk-rs/blob/main/pyth-sdk-solana/examples/eth_price.rs).
1919
{% endtab %}
2020

2121
{% tab title="Python" %}
22-
The [pyth-client-py](https://github.com/pyth-network/pyth-client-py) Python library can be used to consume Pyth prices inside your off-chain Python programs. An example can be found [here](https://github.com/pyth-network/pyth-client-py/blob/main/examples/read\_one\_price\_feed.py).
22+
The [pyth-client-py](https://github.com/pyth-network/pyth-client-py) Python library can be used to consume Pyth prices inside your off-chain Python programs. An example can be found [here](https://github.com/pyth-network/pyth-client-py/blob/main/examples/read_one_price_feed.py).
2323
{% endtab %}
2424

2525
{% tab title="Go" %}

0 commit comments

Comments
 (0)