将现有NodeJS模块部署到WebAssembly
我已经在nodejs中编写了一个代码,在该代码中,我可以使用Web3在Localhost上获取块详细信息。现在,我试图将相同的NodeJS模块部署到Web组件。
因此,如何使用WebAssembly部署相同的功能。 您可以在此处查看我当前的nodejs代码: github链接到
chainllinker我的输出如下所示。我只是在游戏机和Localhost上显示了封锁和价格。
PS C:\Users\msi\Downloads\UniswapPriceMonitor-main> node index.js
BlockNumber: 15064092 Price ETH/DAI : 1050.63548627748881905413
Chain Connect listening on port 3000!
I have written a code in nodejs in which I am able to get block details on localhost using web3. Now I am trying to deploy the same nodejs module to Web assembly.
So, how can I deploy the same using WebAssembly.
You can have a look at my current nodejs code here : Github Link to chainLinker
Currently, I am getting output like shown below. I am just showing the blocknumber and price in console and also on localhost.
PS C:\Users\msi\Downloads\UniswapPriceMonitor-main> node index.js
BlockNumber: 15064092 Price ETH/DAI : 1050.63548627748881905413
Chain Connect listening on port 3000!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论