2.8.68 • Published 2 years ago

@davidthegardens/vi3m v2.8.68

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years 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

2 years ago

2.8.68

2 years ago

2.8.66

2 years ago

2.8.64

2 years ago

2.8.63

2 years ago

2.8.62

2 years ago

2.8.61

2 years ago

2.8.52

2 years ago

2.8.51

2 years ago

2.8.50

2 years ago

2.8.56

2 years ago

2.8.55

2 years ago

2.8.54

2 years ago

2.8.53

2 years ago

2.8.59

2 years ago

2.8.58

2 years ago

2.8.57

2 years ago

2.8.60

2 years ago

2.8.49

2 years ago

2.8.48

2 years ago

2.8.39

2 years ago

2.8.38

2 years ago

2.8.36

2 years ago

2.8.41

2 years ago

2.8.40

2 years ago

2.8.45

2 years ago

2.8.44

2 years ago

2.8.43

2 years ago

2.8.42

2 years ago

2.8.47

2 years ago

2.8.46

2 years ago

2.8.30

2 years ago

2.8.29

2 years ago

2.8.34

2 years ago

2.8.33

2 years ago

2.8.32

2 years ago

2.8.31

2 years ago

2.8.35

2 years ago

2.8.28

2 years ago

2.8.27

2 years ago

2.8.26

2 years ago

2.8.25

2 years ago

2.8.24

2 years ago

2.8.23

2 years ago

2.8.22

2 years ago

2.8.21

2 years ago

2.8.20

2 years ago

2.8.19

2 years ago

2.8.18

2 years ago