Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@pythnetwork/per-sdk-solidity) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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-solidityFoundry
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-solidityThen add the following line to your remappings.txt file:
@pythnetwork/per-sdk-solidity/=node_modules/@pythnetwork/per-sdk-solidity