Erpc Sdk banner
elsoul elsoul

Erpc Sdk

AI community

Description

ERPC Official Multi-Network Blockchain SDK Built for Developers. Ready for AI Agents.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

ERPC SDK

[![ERPC — Global Edge Blockchain Infrastructure](https://storage.erpc.global/ERPCheader.jpg)](https://erpc.global)

CI npm license

ERPC Official Multi-Network Blockchain SDK
Built for Developers. Ready for AI Agents.

One client and one API key provide access to Solana, Ethereum, price data, indexed data, leader and validator data, analytics, subscriptions, and account balance information.

Packages

Language Package Status
TypeScript `@elsoul/erpc-sdk` Preview
Rust Planned after TypeScript stabilization
Python Planned
Go Planned

Install

npm install @elsoul/erpc-sdk
# or: pnpm add @elsoul/erpc-sdk
# or: yarn add @elsoul/erpc-sdk
# or: bun add @elsoul/erpc-sdk

The TypeScript package has no runtime dependencies and includes ESM, CommonJS, and TypeScript declarations.

Quick start

import { createErpcClient } from '@elsoul/erpc-sdk'

const apiKey = process.env.ERPC_API_KEY
if (!apiKey) throw new Error('ERPC_API_KEY is required')

const erpc = createErpcClient({ apiKey })

const slot = await erpc.solana.rpc.getSlot().send()
const chainId = await erpc.ethereum.rpc.eth_chainId().send()

console.log({ slot, chainId })
erpc.close()

HTTP JSON-RPC methods return a pending request. Calling `.send()` performs the request, so request construction stays explicit and future middleware can be added without changing method signatures.

API overview

| Name