Personal learnings while creating this project.
- Make sure you reset MetaMask after restarting your locally running private blockchain, because the nonce will be different.
- If sometimes your functions crap out for whatever reason after restarting your locally running private blockchain, try resetting the migration with
migrate --reset
- How to find out the contract address from Truffle:
Marketh.address()
- To initiate your migrated contracts on Truffle:
Marketh.deployed().then(function(instance){ app = instance })
- Accessing a variable example:
app.admin()
orapp.storeOwnersCount()
- Accessing an array example:
app.stores.call(0)
- Useful reference of Solidity gotchas: http://balticdatascience.com/2017/11/27/solidity-gotchas/
- Transaction gas cost in Truffle test case
- Testing contract withdrawal pattern with Truffle
- Getting the url parameter using Next router
- Super simple image upload in React with Cloudinary, React Dropzone, Axios
-
Helpful articles: https://www.reddit.com/r/ethereum/comments/5nrg1b/reverse_resolution_now_available_on_ropsten_ens/ https://michalzalecki.com/register-test-domain-with-ens/ https://medium.com/the-ethereum-name-service/adding-ens-into-your-dapp-72eb6deac26b
-
However, there seems no EIP181 Resolver yet on Rinkeby and no Reverse Registrar. Not supported on ethereum-ens too. Next steps: 1) Deploy PublicResolver and ReverseRegistrar to Rinkeby 2) Try implementing ReverseRegistrar to ethereum-ens 3) Have fun!