Skip to content

Asset-Nexus/BNB_Contract_Example

Repository files navigation

部署验证流程(hardhat官网教程)

  1. 编译 npx hardhat compile
  2. 部署 npx hardhat ignition deploy ./ignition/modules/Lock.js --network bnb_testnet
  3. 验证 npx hardhat verify --network bnb_testnet ${contratc_address} ${constructor_args}

参考文档:

Sample Hardhat Project

This project demonstrates a basic Hardhat use case. It comes with a sample contract, a test for that contract, and a Hardhat Ignition module that deploys that contract.

Try running some of the following tasks:

npx hardhat help
npx hardhat test
REPORT_GAS=true npx hardhat test
npx hardhat node
npx hardhat ignition deploy ./ignition/modules/Lock.js

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published