November 2018
Intermediate to advanced
528 pages
13h 21m
English
Since the Byzantium Fork, it's been possible to find out whether a transaction was successful. Indeed, you can check the transaction status using the following:
var receipt = web3.eth.getTransactionReceipt(transaction_hash_from_60_minutes_ago);
It returns a set of information including a status field, which has a value of zero when a transaction has failed and 1(0x1) when the transaction has succeeded (it has been mined).
Great!
So far, we have tested our contract and our user interface is ready to interact with it. We now have to assemble the puzzle pieces. To get our DApp working, we need to deploy our contract in a test environment other than Remix's VM JavaScript that we used earlier.
Read now
Unlock full access