This repository contains renshift adapters for the uniswap contracts. These adapters would allow users to interact with uniswap contracts that use ShiftedERC20 tokens, without handling the tokens directly.
Install the dependencies.
yarn install
Run the ganache-cli
or an alternate Ethereum test RPC server on port 8545. The -d
flag will use a deterministic mnemonic for reproducibility.
yarn exec ganache-cli -d
Run the Truffle test suite.
yarn test
Install the dependencies.
yarn install
Run the Truffle test suite with coverage.
yarn coverage
Add a .env
, filling in the mnemonic and Kovan ethereum node (e.g. Infura):
MNEMONIC="..."
KOVAN_ETHEREUM_NODE="..."
ETHERSCAN_KEY="..."
Deploy to Kovan:
NETWORK=kovan yarn run deploy
NETWORK=kovan yarn run verify YourContractName