<article class=“article fmt article-content”><h2>Hardhat入门</h2><pre><code>装置npm install –save-dev hardhat初始化我的项目npx hardhat编译合约npx hardhat compile测试合约npx hardhat test部署合约npx hardhat run scripts/deploy.ts启动一个本地的以太坊npx hardhat node部署合约到本地的以太坊npx hardhat run scripts/deploy.ts –network localhost</code></pre><h2>Hardhat官网</h2><pre><code>https://hardhat.org/官网教程:https://hardhat.org/tutorial中文教程:https://learnblockchain.cn/docs/hardhat/getting-started/#%E6%A6%82%E8%BF%B0</code></pre><h2>博客</h2><p>https://zhang555.github.io/</p></article>