diff --git a/target_chains/ethereum/sdk/js/README.md b/target_chains/ethereum/sdk/js/README.md index 8f0c2747f8..1b36ca915c 100644 --- a/target_chains/ethereum/sdk/js/README.md +++ b/target_chains/ethereum/sdk/js/README.md @@ -1,4 +1,7 @@ -# Pyth EVM JS +# Pyth EVM JS (DEPRECATED) + +> [!WARNING] +> **DEPRECATION NOTICE:** This package is deprecated and no longer maintained. Please use [hermes-client](https://github.com/pyth-network/pyth-crosschain/tree/main/apps/hermes/client/js) instead. [Pyth](https://pyth.network/) provides real-time pricing data in a variety of asset classes, including cryptocurrency, equities, FX and commodities. This library allows you to use these real-time prices on EVM-based networks. diff --git a/target_chains/ethereum/sdk/solidity/PythAggregatorV3.sol b/target_chains/ethereum/sdk/solidity/PythAggregatorV3.sol index 1d8ba4509c..9cfbb3ba64 100644 --- a/target_chains/ethereum/sdk/solidity/PythAggregatorV3.sol +++ b/target_chains/ethereum/sdk/solidity/PythAggregatorV3.sol @@ -25,7 +25,7 @@ contract PythAggregatorV3 { // Wrapper function to update the underlying Pyth price feeds. Not part of the AggregatorV3 interface but useful. function updateFeeds(bytes[] calldata priceUpdateData) public payable { // Update the prices to the latest available values and pay the required fee for it. The `priceUpdateData` data - // should be retrieved from our off-chain Price Service API using the `pyth-evm-js` package. + // should be retrieved from our off-chain Price Service API using the `hermes-client` package. // See section "How Pyth Works on EVM Chains" below for more information. uint fee = pyth.getUpdateFee(priceUpdateData); pyth.updatePriceFeeds{value: fee}(priceUpdateData); diff --git a/target_chains/ethereum/sdk/solidity/README.md b/target_chains/ethereum/sdk/solidity/README.md index 02992ba62e..13a5b2bb28 100644 --- a/target_chains/ethereum/sdk/solidity/README.md +++ b/target_chains/ethereum/sdk/solidity/README.md @@ -57,7 +57,7 @@ contract ExampleContract { bytes[] calldata priceUpdateData ) public payable returns (PythStructs.Price memory) { // Update the prices to the latest available values and pay the required fee for it. The `priceUpdateData` data - // should be retrieved from our off-chain Price Service API using the `pyth-evm-js` package. + // should be retrieved from our off-chain Price Service API using the `hermes-client` package. // See section "How Pyth Works on EVM Chains" below for more information. uint fee = pyth.getUpdateFee(priceUpdateData); pyth.updatePriceFeeds{ value: fee }(priceUpdateData);