Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ethereum/sdk/solidity) Fix Readme #2006

Merged
merged 1 commit into from
Oct 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions target_chains/ethereum/sdk/solidity/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ It is **strongly recommended** to follow the [consumer best practices](https://d

## Installation

###Truffle/Hardhat
### Truffle/Hardhat

If you are using Truffle or Hardhat, simply install the NPM package:

```bash
npm install @pythnetwork/pyth-sdk-solidity
```

###Foundry
### Foundry

If you are using Foundry, you will need to create an NPM project if you don't already have one.
From the root directory of your project, run:
Expand Down Expand Up @@ -81,7 +81,7 @@ Please refer to [Pyth On-Demand Updates page](https://docs.pyth.network/document

## Solidity Target Chains

[This](https://docs.pyth.network/documentation/pythnet-price-feeds/evm#networks) document contains list of the EVM networks that Pyth is available on.
[This](https://docs.pyth.network/price-feeds/contract-addresses/evm) document contains list of the EVM networks that Pyth is available on.

You can find a list of available price feeds [here](https://pyth.network/developers/price-feed-ids/).

Expand All @@ -93,7 +93,7 @@ You can find a list of available price feeds [here](https://pyth.network/develop

### ABIs

When making changes to a contract interface, please make sure to update the ABI files too. You can update it using `npm run generate-abi` and it will update the ABI files in [abis](./abis) directory. If you create a new contract, you also need to add the contract name in [the ABI generation script](./scripts/generateAbi.js#L5) so the script can create the ABI file for the new contract as well.
When making changes to a contract interface, please make sure to update the ABI files too. You can update it using `pnpm generate-abi` and it will update the ABI files in [abis](./abis) directory.

### Releases

Expand Down
Loading