- Create
.env
file with api key
INFURA_API_KEY='xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
- Run yarn commands and tests should work
yarn install
yarn compile
yarn test
- Or to run tests with local sdk, run these commands.
# from inside narwhal-sdk repo run:
yarn link
# from inside narwhal repo run:
yarn link "@uniswap/narwhal-sdk"
yarn test
forge install
forge build
forge test