New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@7jaylen/uniswap-v2-contract

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@7jaylen/uniswap-v2-contract

## Sample Scripts ### Install dependencies ```bash yarn ```

  • 1.0.6
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
10
Maintainers
1
Weekly downloads
 
Created
Source

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
$env:ENV_FILE='./envs/env.localhost'
$env:NETWORK_ID='localhost'
$env:WAIT_NUM=1
$env:GAS_PRICE=1
rinkeby
$env:ENV_FILE='./envs/env.rinkeby'
$env:NETWORK_ID=4
$env:WAIT_NUM=1
$env:GAS_PRICE=3
eth
$env:ENV_FILE='./envs/env.eth'
$env:NETWORK_ID=1
$env:WAIT_NUM=3
$env:GAS_PRICE=30

script

deploy script
yarn run env-cmd -f $env:ENV_FILE yarn run hardhat UniswapV2:deploy --gas-price $env:GAS_PRICE --wait-num $env:WAIT_NUM --network $env:NETWORK_ID
verify contract
yarn run env-cmd -f $env:ENV_FILE yarn run hardhat UniswapV2:verify --network $env:NETWORK_ID

FAQs

Package last updated on 16 Jun 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc