MCPcopy Index your code
hub / github.com/Bot80926/ethers-scripts

github.com/Bot80926/ethers-scripts @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
39 symbols 71 edges 9 files 0 documented · 0% updated 3y ago★ 52
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

ethers-scripts

作者创建这个库的意图

  • 开源简单脚本,方便想要入门 web3 的前端工程师学习
  • 技术交流,欢迎大家提 issues 共同进步
  • 装笔性,向他人展示自己代码的美好的一面 🌞
  • 用代码说话

Author's intention

  • Open source easy scripts to help frontend engineer who want to learn about web3
  • For technical exchanges, everyone is welcome to raise issues and make progress together
  • Be cool :sunglasses:

Installation

npm install

Examples

运行脚本 1: 快速创建 100 个钱包地址,并生成 txt 文件保存地址和私钥;

running script-1: create 100 wallet addresses, and init a txt file to record adresses and private keys;

cd script-1-create-wallet && node index.js

output

Successfully created wallets in batches, file name: addr_key_book.txt

Directory

EN Directory

Maintainers

@Bot80926

中文博客讲解

Contributing

欢迎大家踊跃提 issue

Feel free to dive in! Open an issue or submit PRs.

License

MIT licensed.

Core symbols most depended-on inside this repo

getProvider
called by 5
utils/provider.js
sendTransaction
called by 2
utils/provider.js
createAccount
called by 1
script-1-create-wallet/index.js
main
called by 1
script-1-create-wallet/index.js
main
called by 1
utils/error.js
getTransaction
called by 1
utils/provider.js
getTransactionEvent
called by 1
utils/provider.js
getGasPrice
called by 1
utils/provider.js

Shape

Function 22
Method 15
Class 2

Languages

TypeScript100%

Modules by API surface

utils/provider.js17 symbols
script-4-bonus-getting-on-dex/index.js8 symbols
script-3-swap-on-dex/index.js7 symbols
script-2-transfer-token/index.js3 symbols
script-1-create-wallet/index.js2 symbols
utils/error.js1 symbols
script-5-empty-ethereum-wallet/index.js1 symbols

For agents

$ claude mcp add ethers-scripts \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact