pyth-crosschain/express_relay/sdk/solidity
Amin Moghaddam 9e7b6d94ff
feat(per): Per solidity sdk (#1325)
* feat(per): add solidity sdk

* refactor(evm): refactor abi generator script

* feat(evm): add abi_generator package
2024-02-29 08:10:50 +01:00
..
abis feat(per): Per solidity sdk (#1325) 2024-02-29 08:10:50 +01:00
IPERFeeReceiver.sol feat(per): Per solidity sdk (#1325) 2024-02-29 08:10:50 +01:00
IPERMulticall.sol feat(per): Per solidity sdk (#1325) 2024-02-29 08:10:50 +01:00
README.md feat(per): Per solidity sdk (#1325) 2024-02-29 08:10:50 +01:00
package.json feat(per): Per solidity sdk (#1325) 2024-02-29 08:10:50 +01:00

README.md

Pyth Express Relay Solidity SDK

Install

Truffle/Hardhat

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

npm install @pythnetwork/per-sdk-solidity

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:

npm init -y
npm install @pythnetwork/per-sdk-solidity

Then add the following line to your remappings.txt file:

@pythnetwork/per-sdk-solidity/=node_modules/@pythnetwork/per-sdk-solidity