0PricingLogin
Web3 & DApp Development Fundamentals · Lesson

Connecting to a Provider

RPC and wallets.

Talking to a Blockchain

To interact with Ethereum from JavaScript you need a provider — an object that connects to a node and lets you read chain data and send transactions.

Libraries like ethers.js and web3.js wrap the JSON-RPC protocol nodes speak.

Providers vs Signers

Two key abstractions:

  • Provider — read-only connection to the chain (balances, blocks, view calls).
  • Signer — holds a private key and can sign and send transactions.

You read with a provider and write with a signer.

All lessons in this course

  1. Connecting to a Provider
  2. Reading Contract Data
  3. Sending Transactions
  4. Listening to Events
← Back to Web3 & DApp Development Fundamentals