Skip to content

🎚 Peripheral smart contracts for interacting with Uniswap V2

License

Notifications You must be signed in to change notification settings

iavl/uniswap-v2-periphery

 
 

Repository files navigation

Uniswap V2

Actions Status npm

In-depth documentation on Uniswap V2 is available at uniswap.org.

The built contract artifacts can be browsed via unpkg.com.

Local Development

The following assumes the use of node@>=10.

Install Dependencies

yarn

Compile Contracts

yarn compile

Run Tests

yarn test

Deploy

forge script script/DeployRouter.s.sol:DeployRouter --sig 'run()' \
--chain-id $CHAIN_ID \
--rpc-url $ETH_RPC_URL \
--private-key $PRIVATE_KEY \
--verifier-url $VERIFIER_URL \
--verifier $VERIFIER \
--verify \
--broadcast --ffi --legacy -vvvv 

About

🎚 Peripheral smart contracts for interacting with Uniswap V2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Solidity 57.4%
  • TypeScript 42.6%