Skip to content

Commit 24ba8af

Browse files
authored
Merge pull request #799 from yingjingyang/main
fix config
2 parents 10793df + 30eda3a commit 24ba8af

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

basic/07-hardhat/scripts/deploy.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ async function main() {
1313
console.log('Account balance:', (await deployer.getBalance()).toString());
1414

1515
const Token = await ethers.getContractFactory('SimpleToken');
16-
const token = await Token.deploy('DappLearning', 'DL', 1, 100000000);
16+
const token = await Token.deploy('SimpleToken', 'SimpleToken', 18, 10000000000);
1717

1818
console.log('Token address:', token.address);
1919

basic/08-hardhat-graph/README-CN.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,8 @@ subgraph 定义了你希望通过 GraphQL API 提供的数据、数据源和数
339339

340340
官方文档:
341341

342-
- https://thegraph.com/docs/developer/quick-start
342+
- https://thegraph.com/docs/developer/quick-start
343+
- https://edgeandnode.notion.site/The-Graph-Chinese-Links-803371459c6f402aba32a22467acda32#13589dfd8041445380731860c4b4e029
343344

344345
本项目参考文档:
345346

basic/08-hardhat-graph/hardhat.config.js

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ require('@nomiclabs/hardhat-waffle');
22
const fs = require('fs');
33
require('dotenv').config();
44

5+
56
const PRIVATE_KEY = process.env.PRIVATE_KEY;
67
const defaultNetwork = 'localhost';
78

0 commit comments

Comments
 (0)