gzliudan / hardhat-proxy-test

hardhat-proxy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NVM version tried

nvm use 16.10.0

Do npm install --force

npx hardhat compile

npx hardhat run scripts/deploy.js --network apothem or mainnet

You will see the following message & error

Compiled 1 Solidity file successfully
Deploying samlpe...
ProviderError: too many arguments, want at most 1

npx hardhat run scripts/deploy.js --network polygon or fantom

it works fine

create .env file with following parameters

APOTHEM_RPC_URL=https://erpc.apothem.network
MAINNET_RPC_URL=https://rpc.xinfin.network
PRIVATE_KEY=ENTER YOUR PRIVATE KEY

About

hardhat-proxy


Languages

Language:JavaScript 77.6%Language:Solidity 22.4%