← All courses

viem and ethers.js: Talking to Ethereum from TypeScript

A two-library tour — viem >=2.0 and ethers v6 — covering when to pick each, what their APIs look like, and what the Ethereum-client primitives (BigInt math, ABI encoding, EIP-712, RLP, log decoding) actually do under the hood. Exercises practice the underlying primitives the libraries are built on; readings show the library APIs side by side. Ends with a from-primitives transaction-request builder and a viem/ethers migration cheatsheet.

  • TypeScript
  • 77 lessons
  • ~15 hours
  • Free
  • by Fishbones

Learn TypeScript for free on Libre Academy with the viem and ethers.js: Talking to Ethereum from TypeScript course: 77 interactive lessons you complete by writing real code in a built-in editor, graded instantly by hidden tests. No paywall, no sign-up — it runs in your browser and the free desktop app.

What you get

  • Hands-on lessons with a real editor and instant, test-graded feedback.
  • Free and open source — no account required to start.
  • Runs in your browser, and offline in the free desktop app.
  • TypeScript runs in your browser.

What's inside

  • Two libraries, one job
  • Bytes, hex, numbers
  • Units and BigInt math
  • Addresses
  • Providers and clients
  • Reading on-chain state
  • Writing transactions
  • ABI encoding deep dive
  • Events, logs, filters
  • EIP-712 typed signatures
  • Capstone

Start viem and ethers.js: Talking to Ethereum from TypeScript free →   More free TypeScript courses