BR Academy
0%
Reading & Writing Contracts·Lesson 4 of 25·50 min

Public and Wallet Clients with viem

This lesson is for enrolled learners

The concept viem splits chain interaction into two distinct client types instead of one all-in-one "provider" object like older libraries used. A public client is read-only: it fetches balances, blocks, and contract state through an RPC transport, and it needs no connected wallet to exist. A wallet client is for signing and sending: it's backed by a specific connected account……

Enroll to continue Already enrolled? Sign in