跳至正文
Wener Notes

typechain

约 1 分钟阅读
bash
npm add -D typechain
# target: ethers-v6|ethers-v5|truffle-v4|truffle-v5|web3-v1
npm add @typechain/ethers-v6

npx typechain --target=ethers-v6 --discriminate-types --out-dir src/contracts contracts/**/*.json
依赖包

关联信息

反向链接、本文链接的其他页面和外部资料。

参考资料

GitHub1 条
最近更新commit 82c5f3f编辑