Skip to content

Commit

Permalink
fix(ethereum/sdk/solidity) Fix Readme (#2006)
Browse files Browse the repository at this point in the history
  • Loading branch information
aditya520 authored Oct 8, 2024
1 parent 1f76e82 commit a8fcf8a
Showing 1 changed file with 4 additions and 4 deletions.
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

0 comments on commit a8fcf8a

Please sign in to comment.