Bài viết
Chia sẻ kiến thức của bạn.
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
Câu trả lời
1Hardhat 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.
Bạn có biết câu trả lời không?
Hãy đăng nhập và chia sẻ nó.
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.
Kiếm phần của bạn từ 1000 Sui
Tích lũy điểm danh tiếng và nhận phần thưởng khi giúp cộng đồng Sui phát triển.

- 24p30p... SUI+42
1
- 0xduckmove... SUI+17
2
- Jojo... SUI+16
3
- ... SUIMeaning.Sui+12
- ... SUIHaGiang+10
- ... SUI
- ... SUIAliabee+5
- ... SUIBekky+5
- ... SUI
- ... SUI