Skip to content

stablexlabs/stablex-periphery

Repository files navigation

Uniswap V2

Forked from Uniswap

Local Development

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

Install Dependencies

yarn

Compile Contracts

yarn compile

Run Tests

yarn test

Deploy

  1. Fill your mnemonic to .env, example:

    MNEMONIC=brain surround have swap horror body response double fire dumb bring hazard
    
  2. Compile contracts:

    truffle compile --all
  3. Run deploy script:

    3.1 Testnet

    Please fill stableXFactory address on testnet into migrations/2_deploy_contracts.js first.

     ```shell script
     truffle migrate -f 2 --network testnet
     ```
    

    3.2 Mainnet

    Please fill stableXFactory address on mainnet into migrations/2_deploy_contracts.js first.

     ```shell script
     truffle migrate -f 2 --network mainnet
     ```
    

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published