Using Infura
Infura is the project that maintains the Ethereum blockchain nodes at their end. In the case of the Geth and Parity clients, you need to install them and keep them running on your machine to sync the blockchain ledger. However, with Infura, you just need to register for free at https://infura.io and it provides you with a link and your unique token to use to connect to the blockchain. The benefit of using Infura is that you do not need to run your local blockchain for the mainnet and testnets (Ropsten, Kovan, and Rinkeby), as it is maintained by the Infura service.
To give you an example, MetaMask internally uses an Infura link to connect to the Ethereum blockchain.
You can also use Infura in your truffle project. For this, you ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access