pyth-crosschain/express_relay/sdk/solidity/README.md

28 lines
597 B
Markdown

# Express Relay Solidity SDK
## Install
### Truffle/Hardhat
If you are using Truffle or Hardhat, simply install the NPM package:
```bash
npm install @pythnetwork/express-relay-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:
```bash
npm init -y
npm install @pythnetwork/express-relay-sdk-solidity
```
Then add the following line to your `remappings.txt` file:
```text
@pythnetwork/express-relay-sdk-solidity/=node_modules/@pythnetwork/express-relay-sdk-solidity
```