2.8.68 • Published 1 year ago

@davidthegardens/vi3m v2.8.68

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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 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:

Support

Sponsors

Contributing

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

Authors

License

MIT License

2.8.67

1 year ago

2.8.68

1 year ago

2.8.66

1 year ago

2.8.64

1 year ago

2.8.63

1 year ago

2.8.62

1 year ago

2.8.61

1 year ago

2.8.52

1 year ago

2.8.51

1 year ago

2.8.50

1 year ago

2.8.56

1 year ago

2.8.55

1 year ago

2.8.54

1 year ago

2.8.53

1 year ago

2.8.59

1 year ago

2.8.58

1 year ago

2.8.57

1 year ago

2.8.60

1 year ago

2.8.49

1 year ago

2.8.48

1 year ago

2.8.39

1 year ago

2.8.38

1 year ago

2.8.36

1 year ago

2.8.41

1 year ago

2.8.40

1 year ago

2.8.45

1 year ago

2.8.44

1 year ago

2.8.43

1 year ago

2.8.42

1 year ago

2.8.47

1 year ago

2.8.46

1 year ago

2.8.30

1 year ago

2.8.29

1 year ago

2.8.34

1 year ago

2.8.33

1 year ago

2.8.32

1 year ago

2.8.31

1 year ago

2.8.35

1 year ago

2.8.28

1 year ago

2.8.27

1 year ago

2.8.26

1 year ago

2.8.25

1 year ago

2.8.24

1 year ago

2.8.23

1 year ago

2.8.22

1 year ago

2.8.21

1 year ago

2.8.20

1 year ago

2.8.19

1 year ago

2.8.18

1 year ago