Polarfox Core Smart Contracts
This repo contains all of the core smart contracts used to run Polarfox.
Deployed Contracts [MAINNET AVALANCHE]
Factory address: ...
Router address: ...
Deployed Contracts [TESTNET AVALANCHE]
Factory address: 0x5b48659781dccb21031Bdd510f0e46163cC95Ea2
Router address: 0xAeD3baD38CA8907EBC8C919d12a25a58A17063A7
Running
To prepare the dev environment, run yarn install
. To compile the contracts, run yarn compile
. Yarn is available to install here if you need it.
Local Development
The following assumes the use of node@>=10
.
Install Dependencies
yarn
Compile Contracts
yarn compile
Run Tests
yarn test
Attribution
These contracts were adapted from uniswap-v2-core.