Quick Programming
Published in

Quick Programming

Waiting for an Ethereum Transaction to Complete in plain JavaScript

Give users feedback on transactions.

Photo by charlesdeluvio on Unsplash

Giving users feedback is important. Especially when the user might not be familiar with the actions they’re doing. Like sending transactions over the blockchain using MetaMask.

That’s why it’s useful to know how we can take a transaction hash and update our states to reflect the state of…




Development-related articles.

Recommended from Medium

How we used Event Sourcing to build seven of Creately’s key features.

Animation and Interactivity on the web

//platform.twitter.com/widgets.js from Twitter https://twitter.com/thehikeexperts

SQL —The Case statement

How to create Angular 6 Custom Elements and Web Components

PEGA (Angular Dev’s first React project) — Netflix clone

‘Unit ${i}’ vs `Unit ${i}`

DP related to combination

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store


Always learning👨🏻‍🎓. I occasionally write about programming. Follow me on Twitter @0xmbvissers

More from Medium

Verify a Smart Contract on EtherScan using Truffle

Lesson 4: Solidity Functions and Function Modifiers

How To Use Access Control With Upgradable Smart Contracts

Floating red diamond graphic

Smart contract for document registry