freeverseio / laos

GNU General Public License v3.0
16 stars 6 forks source link

Impossible to deploy a smart contract in Caladan & KLAOS using Hardhat #280

Open tonimateos opened 7 months ago

tonimateos commented 7 months ago

To reproduce, put some currency on your deploying account. Put the pvk in your .env as PRIVATE_KEY="04e.....04"

checkout repo: https://github.com/freeverseio/experiments/tree/master/erc20NonTransferrable

npm ci
npx hardhat compile
npx hardhat run --network polygonTestnet scripts/deploy.ts  # this will work
npx hardhat run --network klaos scripts/deploy.ts  # this will NOT work
npx hardhat run --network caladan scripts/deploy.ts  # this will NOT work

Image

tonimateos commented 7 months ago

I could deploy using both Remix & Truffle, but not with Hardhat

tonimateos commented 7 months ago

Try with Moonbeam first