[frangio suggests in a pr to take a look at react-web3](https://github.com/TPL-protocol/demo-dapp/pull/6#discussion_r182586603). It could make a things easier and cleaner, so this bug is to give it a try.