Skip to content

Uniswap's Universal Router for NFT and ERC20 swapping

License

Notifications You must be signed in to change notification settings

tzapu/universal-router

Repository files navigation

narwhal

Usage

To Run Integration Tests with Hardhat

  1. Create .env file with api key
INFURA_API_KEY='xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
  1. Run yarn commands and tests should work
yarn install
yarn compile
yarn test
  1. 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

To Run Forge Tests

forge install
forge build
forge test

About

Uniswap's Universal Router for NFT and ERC20 swapping

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 68.0%
  • Solidity 32.0%