0.3.14 • Published 12 months ago

viem-alpha v0.3.14

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

Note

viem is in the Gitcoin Grants Beta Round until May 9. Click here to support development. Thank you 🙏

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
  • Test suite running against forked Ethereum network

... and a lot 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();

Community

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

Support

Sponsors

Contributing

If you're interested in contributing, please read the contributing docs before submitting a pull request.

Authors

License

MIT License

0.0.1-alpha.23

1 year ago

0.1.21

1 year ago

0.0.1-alpha.25

1 year ago

0.0.1-alpha.27

1 year ago

0.0.1-alpha.26

1 year ago

0.0.1-test.8

1 year ago

0.3.14

12 months ago

0.0.1-test.6

1 year ago

0.0.1-test.7

1 year ago

0.0.1-test.4

1 year ago

0.0.1-test.5

1 year ago

0.0.1-test.2

1 year ago

0.0.1-test.3

1 year ago

0.0.1-test.0

1 year ago

0.0.1-test.1

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago

0.0.0

1 year ago