Skip to content

devbootstrap/uniswap-exchange-setup

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Uniswap Exchange Setup

This repository is for setting up uniswap's environment on testnet. This example contains setting up XIO and OMG token exchanges on uniswap factory. Replace the bytecodes and ABIs to setup something different. This script will deploy tokens on testnet, create factory, create exchanges for both tokens and will add initial liquidity of 0.1 ETH for 50000 Tokens. Just run the index.js file and all will be setup. This can be run on any ethereum network.

Geth

This is designed to deploy the Uniswap V1 contracts to a local private Geth node for development purposes. In the index.js file Web3 is configured to connect to Geth via an Ipc Provider. Just set GETH_IPC_PATH in your .env file to the location of the Geth ipc file to connect to Geth.

Deploy Contracts

Simply run the index.js file like so:

node index

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 99.9%
  • Shell 0.1%