Skip to content

A relayer that enables DAOs to swap tokens on Gnosis Protocol using on-chain price oracles

Notifications You must be signed in to change notification settings

nicoelzer/gnosis-protocol-relayer

Repository files navigation

Gnosis Protocol Relayer

A relayer that enables DAOs to swap tokens on Gnosis Protocol using on-chain price oracles from Swapr or Uniswap.

Local Development

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

Clone Repository

git clone https://github.com/nicoelzer/gnosis-protocol-relayer.git

Install Dependencies

yarn

Setup .env file

Create new .env file and configure variables accordingly:

PRIVATE_KEY=""
INFURA_KEY=""

Compile Contracts

yarn build

Run Tests

yarn test

Flatten Contracts

yarn flattener

Deploy Contracts

Deploy on Mainnet: yarn deploy

Deploy on xDAI: yarn deploy:xdai

About

A relayer that enables DAOs to swap tokens on Gnosis Protocol using on-chain price oracles

Resources

Stars

Watchers

Forks

Packages

No packages published