Peera.

Publication

Partagez vos connaissances.

ocean.eth.Peera.
PourAll Things Web3Sep 13, 2022
Questions et Réponses avec des Experts

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
Partager
Commentaires
.

Réponses

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
Meilleure réponse
Commentaires
.

Connaissez-vous la réponse ?

Veuillez vous connecter et la partager.

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.

142Publications198Réponses
Sui.X.Peera.

Gagne ta part de 1000 Sui

Gagne des points de réputation et obtiens des récompenses pour avoir aidé la communauté Sui à se développer.

Campagne de RécompensesJuin
Nous utilisons des cookies pour vous assurer la meilleure expérience sur notre site Web.
Plus d'infos