Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Ethers极简入门: 14. 批量生成钱包 (https://www.wtf.academy/docs/ethers-102/HDwallet/)
![8817fd0259be922a5d2221bb11bc7db](https://private-user-images.githubusercontent.com/50563286/366700659-516bec4c-67c4-4e09-b02e-4b1b3d7bb8c5.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxOTA5MDIsIm5iZiI6MTczOTE5MDYwMiwicGF0aCI6Ii81MDU2MzI4Ni8zNjY3MDA2NTktNTE2YmVjNGMtNjdjNC00ZTA5LWIwMmUtNGIxYjNkN2JiOGM1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDEyMzAwMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWMzZWUzM2I5OTdlYTc5MzM0N2I4ZjYyNzAzMGY4YzI5MjI5ODk3ZGEyOTgyMzk5NWVhYWE4ODk0ZGU3MGUwMDAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.JI_xD2Tbn2eqMnkJF4Ouf7uX_CHkBcwIFxmAZhCC89g)
本课程中创建HD基钱包中代码将 basePath 参数传入 fromPhrase 方法中第二个参数
fromPhrase()方法截图
使用教程中生成的HDwallet address: '0x9E3281254Df791570eECE35d04f687F55e31C9DC' password: "44'/60'/0'/0/",
直接使用助记词导入钱包 address:'0x4330e5bb174a05cb81c2d8df5ba343b88211ce43'