Peera.

帖子

分享您的知识。

ocean.eth.Peera.
All Things Web3Sep 13, 2022
专家问答

Testing in Web3

How do I test this code before I deploy it because i have no idea if this thing actually works?

  • blockchain
  • smart contract
1
1
分享
评论
.

答案

1
Ulyana.
Sep 13 2022, 09:15

Hardhat and Truffle can help you out with. They can create a testing network on localhost, then generate a bunch of wallet addresses loaded up with fake crypto that you can use for testing in the browser. You can connect MetaMask to your testing network instead of operating on the actual Ethereum network.

In addition if you're building a serious app you should consider writing automated tests for it. There's a library called Waffle that can help you do that.

2
最佳答案
评论
.

你知道答案吗?

请登录并分享。

Web3 (also known as Web 3.0) is an idea for a new iteration of the World Wide Web which incorporates concepts such as decentralization, blockchain technologies, and token-based economics.

142帖子198答案
Sui.X.Peera.

赚取你的 1000 Sui 份额

获取声誉积分,并因帮助 Sui 社区成长而获得奖励。

奖励活动六月
我们使用 cookie 确保您在我们的网站上获得最佳体验。
更多信息