Skip to content

RenVM adapters to enable BTC and ZEC in Uniswap

License

Notifications You must be signed in to change notification settings

EfimovCapital/uniswap

Repository files navigation

uniswap-adapter

CircleCI Coverage Status

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.

Architecture

alt text

Tests

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

Coverage

Install the dependencies.

yarn install

Run the Truffle test suite with coverage.

yarn coverage

Deploying

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

Verifying Contract Code

NETWORK=kovan yarn run verify YourContractName

About

RenVM adapters to enable BTC and ZEC in Uniswap

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •