ictuniswap-v3-sdk
v1.0.0
Published
## Sample Scripts ### Install dependencies ```bash yarn ```
Downloads
3
Readme
uniswap-v2-contract
Sample Scripts
Install dependencies
yarn
Compile contracts
yarn build
Hardhat test
yarn test
Hardhat solidity-coverage
yarn test:cov
SOP
environment
localhost
yarn localhost
export ENV_FILE='./envs/env.localhost'
export NETWORK='localhost'
export WAIT_NUM=1
export GAS_PRICE=1
rinkeby
export ENV_FILE='./envs/env.rinkeby'
export NETWORK_ID=4
export WAIT_NUM=1
export GAS_PRICE=3
eth
export ENV_FILE='./envs/env.eth'
export NETWORK_ID=1
export WAIT_NUM=3
export GAS_PRICE=30
script
deploy script
yarn run env-cmd -f $ENV_FILE yarn run hardhat UniswapV2:deploy --gas-price $GAS_PRICE --wait-num $WAIT_NUM --network $NETWORK_ID
verify contract
yarn run env-cmd -f $ENV_FILE yarn run hardhat UniswapV2:verify --network $NETWORK_ID