An open API service indexing awesome lists of open source software.

https://github.com/asyncswap/eth-libs

Ethereum Client RPC apis in Typescript: Execution Client, Engine API Client, Flashbots RPC Relay, BuilderNet RPC.
https://github.com/asyncswap/eth-libs

buildernet-rpc ethereum execution-api flashbots jsonrpc mev

Last synced: about 1 month ago
JSON representation

Ethereum Client RPC apis in Typescript: Execution Client, Engine API Client, Flashbots RPC Relay, BuilderNet RPC.

Awesome Lists containing this project

README

          

# Ethereum Client Libs

Typescript libraries for Ethereum client JSON-RPC api specs.

| Package | Purpose |
|---------|---------|
| [`@asyncswap/jsonrpc`](./packages/jsonrpc) | Core JSON‑RPC utilities.|
| [`@asyncswap/eth-types`](./packages/eth-types) | General Ethereum types (Tx, logs, etc.).|
| [`@asyncswap/eth-rpc`](./packages/eth-rpc) | Ethereum client RPC wrappers.|
| [`@asyncswap/engine-rpc`](./packages/engine-rpc) | RPC for the engine api.|
| [`@asyncswap/flashbots-rpc`](./packages/flashbots-rpc) | Flashbots protect RPC.|
| [`@asyncswap/buildernet-rpc`](./packages/buildernet-rpc) | RPC for BuilderNet.|

## Installation

Each package is self contained depending on your needs.

```sh
bun add @asyncswap/jsonrpc
bun add @asyncswap/eth-rpc
bun add @asyncswap/engine-rpc
bun add @asyncswap/flashbots-rpc
bun add @asyncswap/buildernet-rpc
bun add -D @asyncswap/eth-types
```

## Usage

See [/packages](./packages)

## Development

### Semver Package Versioning

Auto-update semver versioning for major, minor or patches.

```sh
bun changeset
```

Apply version changes

```sh
bun changeset version
```

> This will bump all the versions automatically and auto-update dependencies.

### Pusblish

Run

```sh
bun publish:jsonrpc
```