-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
when i am trying to deploy smart contract on polygon-amoy i am getting error #5475
Comments
Hey @block98ct, the |
@kanej thanks for the reply const { ethers, upgrades } = require("hardhat"); const balance = await ethers.provider.getBalance(deployer5.address); const Token = await ethers.getContractFactory("BTS20") } This is my deployment script. When I try to deploy the smart contract on the BSC network, it gives an 'insufficient balance' error, but I have enough balance to deploy the smart contract. Deployer account E66 0x91CCB0C9686a756EB2326afD4E11fdc40e3b0E66 and why it showing 0 balance, I have balance of 13300000000000000 |
I would look on the OpenZeppelin forums for help with OpenZeppelin's upgradable contracts plugin. Maybe |
@kanej but it deployed on sepolia, polygon-amoy and bscTestnet networks |
npx hardhat run --network polygon-amoy scripts/deploy_upgrade.js
^^^^^^^
SyntaxError: Unexpected identifier 'hardhat'
npx hardhat compile working fine
npx --version
10.8.1
npx hardhat --version
2.22.6
The text was updated successfully, but these errors were encountered: