Skip to content

nft跨链练习, 涉及以下技术: ERC20智能合约实现 / hardhat deploy / hardhat task / unit test / staging test

Notifications You must be signed in to change notification settings

vision-yip/web3_tutorial

Repository files navigation

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.

You need in local add .env file

SEPOLIA_URL=YOU_SEPOLIA_TEST_URL
PRIVATE_KEY=YOU_TEST_ACCOUNT0_PRIVATE_KEY
PRIVATE_KEY1=YOU_TEST_ACCOUNT1_PRIVATE_KEY
ETHERSCAN_API_KEY=YOU_ETHERSSCAN_API

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
npx hardhat deploy-fundme [--network] [sepolia]
npx hardhat interact-fundme [--network] [sepolia]

About

nft跨链练习, 涉及以下技术: ERC20智能合约实现 / hardhat deploy / hardhat task / unit test / staging test

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published