Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/viemPublic

TypeScript Interface for Ethereum

License

NotificationsYou must be signed in to change notification settings

wevm/viem


viem logo

TypeScript Interface for Ethereum

VersionCode coverageMIT LicenseDownloads per monthBest of JS


Features

  • Abstractions over theJSON-RPC API to make your life easier
  • First-class APIs for interacting withSmart Contracts
  • Language closely aligned to officialEthereum terminology
  • Import your Browser Extension, WalletConnect or Private Key Wallet
  • Browser nativeBigInt, instead of large BigNumber libraries
  • Utilities for working withABIs (encoding/decoding/inspection)
  • TypeScript ready (infer types from ABIs and EIP-712 Typed Data)
  • First-class support forAnvil,Hardhat &Ganache
  • Test suite running againstforked Ethereum network

... and a lot more.

Overview

// 1. Import modules.import{createPublicClient,http}from'viem';import{mainnet}from'viem/chains';// 2. Set up your client with desired chain & transport.constclient=createPublicClient({chain:mainnet,transport:http(),});// 3. Consume an action!constblockNumber=awaitclient.getBlockNumber();

Documentation

Head to the documentation to read and learn more about viem.

Community

Check out the following places for more viem-related content:

Support

Sponsors

paradigm logoithaca logo
family logocontext logoWalletConnect logoPartyDAO logoDynamic logoSushi logoStripe logoPrivy logopancake logocelo logorainbow logopimlico logozora logolattice logosupa logoZKsync logosyndicate logoreservoir logolinea logouniswap logobiconomy logothirdweb logopolymarket logoroutescan logosequence logogemini logo

Contributing

If you're interested in contributing, please read thecontributing docsbefore submitting a pull request.

Authors

License

MIT License



Powered by Vercel

Sponsor this project

  •  

Contributors638

Languages


[8]ページ先頭

©2009-2025 Movatter.jp