DXswap core is a fork of the Uniswapv2 core smart contracts v1.0.0.
The following assumes the use of node@>=10.
git clone https://github.com/levelkdev/dxswap-core.git
yarn
yarn compile
yarn test
yarn flattener
Add PRIVATE_KEY of deployer to .env
echo "PRIVATE_KEY=<private-key>" > .envDeploy to target network. Make sure its configuration exists in hardhat.config.ts
hardhat run --network gnosis scripts/deploy.ts