diff --git a/SECURITY.md b/SECURITY.md index 3b6c911c50..b1edb54554 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -6,9 +6,9 @@ Pyth operates a self hosted [bug bounty program](https://pyth.network/bounty) to - **Scopes** - [Pyth Oracle](https://github.com/pyth-network/pyth-client/tree/main/program) - - [Pyth Crosschain Ethereum](https://github.com/pyth-network/pyth-crosschain/tree/main/target_chains/ethereum/contracts/contracts/pyth) - - [Pyth Crosschain Aptos](https://github.com/pyth-network/pyth-crosschain/tree/main/target_chains/aptos/contracts) - - [Pyth Crosschain Sui](https://github.com/pyth-network/pyth-crosschain/tree/main/target_chains/sui/contracts) + - [Pyth Crosschain Ethereum](/target_chains/ethereum/contracts/contracts/pyth) + - [Pyth Crosschain Aptos](/target_chains/aptos/contracts) + - [Pyth Crosschain Sui](/target_chains/sui/contracts) - [Pyth Governance](https://github.com/pyth-network/governance/tree/master/staking/programs/staking) - **Rewards** - Critical: Up to $500,000 diff --git a/hermes/README.md b/hermes/README.md index 78509f2d62..026346c429 100644 --- a/hermes/README.md +++ b/hermes/README.md @@ -6,7 +6,7 @@ Price Service, offering these updates through a user-friendly web API. The service facilitates easy querying for recent price updates via a REST API, as well as provides the option to subscribe to a websocket for real-time updates. Hermes maintains compatibility with the price service API, allowing the [Price -Service JS client](https://github.com/pyth-network/pyth-crosschain/tree/main/price_service/client/js) +Service JS client](/price_service/client/js) to seamlessly connect to an instance of Hermes and fetch on-demand price updates. diff --git a/price_service/client/js/README.md b/price_service/client/js/README.md index 3b55e20c40..2863baaa15 100644 --- a/price_service/client/js/README.md +++ b/price_service/client/js/README.md @@ -1,7 +1,7 @@ # Price Service Client [Pyth Network](https://pyth.network/) provides real-time pricing data in a variety of asset classes, including cryptocurrency, equities, FX and commodities. -These prices are available either via HTTP or WebSocket from [Hermes](https://github.com/pyth-network/pyth-crosschain/tree/main/hermes). +These prices are available either via HTTP or WebSocket from [Hermes](/hermes). This library is a client for interacting with Hermes, allowing your application to consume Pyth real-time prices in on- and off-chain Javascript/Typescript applications. ## Installation diff --git a/target_chains/cosmwasm/contracts/README.md b/target_chains/cosmwasm/contracts/README.md index 16697d164b..8e8bbeece1 100644 --- a/target_chains/cosmwasm/contracts/README.md +++ b/target_chains/cosmwasm/contracts/README.md @@ -5,7 +5,7 @@ This crate includes the actual contract for the CosmWasm ecosystem. ## Integration You can use `pyth-sdk-cw` which has been published to crates.io to integrate with the Pyth contract. -The sdk exposes data structures and testing utilities for ease of use. Please look into this [pyth-sdk-cw](https://github.com/pyth-network/pyth-crosschain/tree/main/target_chains/cosmwasm/sdk/rust) +The sdk exposes data structures and testing utilities for ease of use. Please look into this [pyth-sdk-cw](/target_chains/cosmwasm/sdk/rust) ## Off-Chain Queries diff --git a/target_chains/ethereum/entropy_sdk/solidity/README.md b/target_chains/ethereum/entropy_sdk/solidity/README.md index 53b7c13a34..a727c9cd74 100644 --- a/target_chains/ethereum/entropy_sdk/solidity/README.md +++ b/target_chains/ethereum/entropy_sdk/solidity/README.md @@ -99,5 +99,5 @@ This method will combine the user and provider's random numbers, along with the ## Example Application -The [Coin Flip](https://github.com/pyth-network/pyth-crosschain/tree/main/target_chains/ethereum/examples/coin_flip) example demonstrates how to build a smart contract that +The [Coin Flip](/target_chains/ethereum/examples/coin_flip) example demonstrates how to build a smart contract that interacts with Pyth Entropy as well as a typescript client for that application. diff --git a/target_chains/sui/contracts/sources/batch_price_attestation.move b/target_chains/sui/contracts/sources/batch_price_attestation.move index 815da9b3e7..51ec217453 100644 --- a/target_chains/sui/contracts/sources/batch_price_attestation.move +++ b/target_chains/sui/contracts/sources/batch_price_attestation.move @@ -111,7 +111,7 @@ module pyth::batch_price_attestation { fun deserialize_price_info(cur: &mut Cursor, clock: &Clock): PriceInfo { - // Skip obselete field + // Skip obsolete field let _product_identifier = deserialize::deserialize_vector(cur, 32); let price_identifier = price_identifier::from_byte_vec(deserialize::deserialize_vector(cur, 32)); let price = deserialize::deserialize_i64(cur); @@ -121,7 +121,7 @@ module pyth::batch_price_attestation { let ema_conf = deserialize::deserialize_u64(cur); let status = price_status::from_u64((deserialize::deserialize_u8(cur) as u64)); - // Skip obselete fields + // Skip obsolete fields let _num_publishers = deserialize::deserialize_u32(cur); let _max_num_publishers = deserialize::deserialize_u32(cur); diff --git a/target_chains/sui/contracts/sources/pyth.move b/target_chains/sui/contracts/sources/pyth.move index 65067f0b5e..7d7ce52d4f 100644 --- a/target_chains/sui/contracts/sources/pyth.move +++ b/target_chains/sui/contracts/sources/pyth.move @@ -687,7 +687,7 @@ module pyth::pyth_tests{ let (pyth_state, worm_state) = take_wormhole_and_pyth_states(&scenario); - // Pass in a corrupt VAA, which should fail deseriaizing + // Pass in a corrupt VAA, which should fail deserializing let corrupt_vaa = x"90F8bf6A479f320ead074411a4B0e7944Ea8c9C1"; let verified_vaas = vector[vaa::parse_and_verify(&worm_state, corrupt_vaa, &clock)]; // Create Pyth price feed