How to use ethereumjs-tx in browser

試著忘記壹切 提交于 2019-12-11 13:27:29

问题


Does it is needed to install npm ethereumjs-tx while using a browser version of it which is directly downloaded from github. If yes then how we can import the ethereumjs-tx module in our script file. Because both are two different things as my knowledge.


回答1:


ethereumjs-tx as a browser build can be found here

If it helps anyone in the future. EthereumJS community have created browser builds for most of their repositories here. Please use with caution as it has not been updated regularly. But they have put instructions on how to create a build for the latest versions over here



来源:https://stackoverflow.com/questions/47963883/how-to-use-ethereumjs-tx-in-browser

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!