A relayer that enables DAOs to swap tokens on Gnosis Protocol using on-chain price oracles from Swapr or Uniswap.
The following assumes the use of node@>=10
.
git clone https://github.com/nicoelzer/gnosis-protocol-relayer.git
yarn
Create new .env file and configure variables accordingly:
PRIVATE_KEY=""
INFURA_KEY=""
yarn build
yarn test
yarn flattener
Deploy on Mainnet:
yarn deploy
Deploy on xDAI:
yarn deploy:xdai