文件名称:etherscan-link:用于生成Etherscan链接的库
文件大小:45KB
文件格式:ZIP
更新时间:2024-05-21 04:44:09
JavaScript
Etherscan链接生成器 安装 npm install '@metamask/etherscan-link' -S 用法 const etherscanLink = require ( '@metamask/etherscan-link' ) const networkId = '1' const chainId = '0x1' const account = '0xFDEa65C8e26263F6d9A1B5de9555D2931A33b825' const accountLink = etherscanLink . createAccountLink ( account , networkId ) const accountLinkForChain = etherscanLink . createAccountLinkForChain ( account , chainId )
【文件预览】:
etherscan-link-main
----.circleci()
--------scripts()
--------config.yml(2KB)
----.gitignore(26B)
----tsconfig.json(361B)
----README.md(1KB)
----.nvmrc(4B)
----CHANGELOG.md(1KB)
----.github()
--------CODEOWNERS(155B)
----test()
--------index.test.js(7KB)
----LICENSE(739B)
----.gitattributes(48B)
----package.json(1KB)
----src()
--------explorer-link.ts(727B)
--------prefix-for-network.ts(570B)
--------account-link.ts(756B)
--------helpers.ts(507B)
--------prefix-for-chain.ts(522B)
--------index.ts(602B)
--------token-tracker-link.ts(980B)
----.editorconfig(147B)
----yarn.lock(84KB)
----.eslintrc.js(503B)