PoC based on this tutorial https://www.dappuniversity.com/articles/blockchain-tutorial.
- Node
- Ganache
- Truffle
A personal blockchain for Ethereum development you can use to deploy contracts, develop your applications, and run tests. It is available as both a desktop application as well as a command-line tool (formerly known as the TestRPC). Ganache is available for Windows, Mac, and Linux.
A world class development environment, testing framework and asset pipeline for blockchains using the Ethereum Virtual Machine (EVM), aiming to make life as a developer easier.
npm install -g [email protected]
It will be in charge of reading/writing to and from the blockchain. It will allow users to create new posts so that they can be shared in the newsfeed and tipped by other users.
- deploy smart contract on the blockchain
truffle migrate
- Any time we store data on the Ethereum blockchain, we must pay a gas fee with Ether (Ethereum's cryptocurrency). This is used to pay the miners who maintain the network.
- While storing data on the blockchain costs money, fetching does not. In summary, reads are free, but writes cost gas.