[Bug] Module not found: Can't resolve 'fs' when using bitcoin package in next.js
AmAzing129 opened this issue · comments
What happens?
在 Next.js 中使用 @ant-design/web3-bitcoin 报错
How To Reproduce
Steps to reproduce the behavior: 1. 2.
Expected behavior 1. 2.
Context
- Ant Design Web3 Version:
- Node Version:
- Platform:
@mempool/mempool.js
看起来并没有积极维护,我们如果只用了其中几个 get 接口,不如直接改成 fetch 调用,参考 restful api 文档:https://mempool.space/zh/docs/api/rest