@tevm/api v1.0.0-next.22
@tevm/api
@tevm/api
is the official tevm spec represented as typescript types and reused across the rest of the tevm monorepo
This package has no javascript only typescript types.
Tevm.ts
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/api/params - Inputs for tevm handlers
- @tevm/api/result - Outputs for tevm handlers
- @tevm/api/handlers - Generic handler types for processing params into results
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.
- @tevm/api/params - Inputs for tevm handlers
- @tevm/api/result - Outputs for tevm handlers
- @tevm/api/handlers - Generic handler types for processing params into results
Visit Docs for docs, guides, API and more!
See Tevm Beta project board for progress on the upcoming beta release
License 📄
2 years ago
2 years ago