@tevm/client-types
TypeScript icon, indicating that this package has built-in type declarations

1.0.0-next.109 • Public • Published

wagmi logo

Execute solidity scripts in browser

CI CI

@tevm/spec

@tevm/spec is the official tevm spec represented as a typescript object Tevm. This spec is implemented by all tevm clients including the

Tevm is the API type of Tevm implemented by

  • @tevm/vm package the evm implementation of tevm
  • @tevm/client package the remote JSON-RPC client for talking to a remote Tevm EVM

High level API

Tevm core api follows an input/output pattern and is implemented in two ways:

  • The ergonomic high level action based API
  • The lower level JSON-RPC based API used for remote calls

This API is implemented with the following packages

Tevm high-level action based API

The high-level action based API is what most users and internal code are using whenever possible. It's more ergonomic, types are generic, and it is able to return more than 1 error.

Tevm low-level JSON-rpc based API

The lower level JSON-RPC api is more suitable for sending tevm requests remotely and mirrors the high level api. Though sometimes a single JSON-RPC method will be overloaded with multiple higher level API actions.

Visit Docs for docs, guides, API and more!

See Tevm Beta project board for progress on the upcoming beta release

License 📄

Package Sidebar

Install

npm i @tevm/client-types

Weekly Downloads

123

Version

1.0.0-next.109

License

MIT

Unpacked Size

64.1 kB

Total Files

15

Last publish

Collaborators

  • fucory