2.21.14-sessionkeys.3 • Published 10 months ago
@lukasrosario/viem v2.21.14-sessionkeys.3
Features
- Abstractions over the JSON-RPC API to make your life easier
- First-class APIs for interacting with Smart Contracts
- Language closely aligned to official Ethereum terminology
- Import your Browser Extension, WalletConnect or Private Key Wallet
- Browser native BigInt, instead of large BigNumber libraries
- Utilities for working with ABIs (encoding/decoding/inspection)
- TypeScript ready (infer types from ABIs and EIP-712 Typed Data)
- First-class support for Anvil, Hardhat & Ganache
- Test suite running against forked 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.
const client = createPublicClient({
chain: mainnet,
transport: http(),
});
// 3. Consume an action!
const blockNumber = await client.getBlockNumber();
Documentation
Head to the documentation to read and learn more about viem.
Community
Check out the following places for more viem-related content:
- Follow @wevm_dev, @jakemoxey, and @awkweb on Twitter for project updates
- Join the discussions on GitHub
- Share your project/organization that uses viem
Support
Sponsors
Contributing
If you're interested in contributing, please read the contributing docs before submitting a pull request.
Authors
License
MIT License
2.21.14-sessionkeys.3
10 months ago
2.21.14-sessionkeys.1
10 months ago
2.21.14-sessionkeys.2
10 months ago
2.17.4-sessionkeys.7
11 months ago
2.17.4-sessionkeys.4
11 months ago
2.17.4-sessionkeys.3
11 months ago
2.17.4-sessionkeys.5
11 months ago
2.17.4-sessionkeys.2
11 months ago
2.17.4-sessionkeys.1
11 months ago
2.17.4-permissionedkeysalpha.16
11 months ago
2.17.4-permissionedkeysalpha.14
11 months ago
2.17.4-permissionedkeysalpha.13
11 months ago
2.17.4-permissionedkeysalpha.12
11 months ago
2.17.4-permissionedkeysalpha.11
11 months ago
2.17.4-permissionedkeysalpha.10
11 months ago
2.17.4-permissionedkeysalpha.9
11 months ago
2.17.4-permissionedkeysalpha.8
11 months ago
2.17.4-permissionedkeysalpha.7
11 months ago
2.17.4-permissionedkeysalpha.6
12 months ago
2.17.4-permissionedkeysalpha.5
12 months ago
2.17.4-permissionedkeysalpha.4
12 months ago
2.17.4-permissionedkeysalpha.3
12 months ago
2.17.4-permissionedkeysalpha.2
12 months ago
2.17.4-permissionedkeysalpha.1
12 months ago