These are the main concepts regarding programmatic connections to Ethereum.
You use Infura to access Ethereum node via API.
Step 1: Sign up on Infura and get the API endpoint.
‘https://mainnet.infura.io/v3/397e0ef1xxx'
Step 2: Connect to Web3
| |
That’s it! You’re connected to an Ethereum node.