Skip to content

Commit ba49373

Browse files
authored
deprecate(pyth-evm-js): Add deprecation notice (#2487)
* test * update * update * update * update
1 parent 6f654bc commit ba49373

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

target_chains/ethereum/sdk/js/README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
# Pyth EVM JS
1+
# Pyth EVM JS (DEPRECATED)
2+
3+
> [!WARNING]
4+
> **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.
25
36
[Pyth](https://pyth.network/) provides real-time pricing data in a variety of asset classes, including cryptocurrency,
47
equities, FX and commodities. This library allows you to use these real-time prices on EVM-based networks.

target_chains/ethereum/sdk/solidity/PythAggregatorV3.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ contract PythAggregatorV3 {
2525
// Wrapper function to update the underlying Pyth price feeds. Not part of the AggregatorV3 interface but useful.
2626
function updateFeeds(bytes[] calldata priceUpdateData) public payable {
2727
// Update the prices to the latest available values and pay the required fee for it. The `priceUpdateData` data
28-
// should be retrieved from our off-chain Price Service API using the `pyth-evm-js` package.
28+
// should be retrieved from our off-chain Price Service API using the `hermes-client` package.
2929
// See section "How Pyth Works on EVM Chains" below for more information.
3030
uint fee = pyth.getUpdateFee(priceUpdateData);
3131
pyth.updatePriceFeeds{value: fee}(priceUpdateData);

target_chains/ethereum/sdk/solidity/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ contract ExampleContract {
5757
bytes[] calldata priceUpdateData
5858
) public payable returns (PythStructs.Price memory) {
5959
// Update the prices to the latest available values and pay the required fee for it. The `priceUpdateData` data
60-
// should be retrieved from our off-chain Price Service API using the `pyth-evm-js` package.
60+
// should be retrieved from our off-chain Price Service API using the `hermes-client` package.
6161
// See section "How Pyth Works on EVM Chains" below for more information.
6262
uint fee = pyth.getUpdateFee(priceUpdateData);
6363
pyth.updatePriceFeeds{ value: fee }(priceUpdateData);

0 commit comments

Comments
 (0)