Beitrag
Teile dein Wissen.
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
Antworten
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.
Weißt du die Antwort?
Bitte melde dich an und teile sie.
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.
Verdiene deinen Anteil an 1000 Sui
Sammle Reputationspunkte und erhalte Belohnungen für deine Hilfe beim Wachstum der Sui-Community.

- 0xduckmove... SUI+88
1
- harry phan... SUI+61
2
- MiniBob... SUI+57
3
- ... SUIHaGiang+56
- ... SUIRogue+47
- ... SUIRogueRig+44
- ... SUIPeera Admin+25
- ... SUIVens.sui+20
- ... SUIMarlKey+20
- ... SUIdudley_smith+16