Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

Quick Actions


Installation

Install the xByte SDK using your preferred package manager:

bun
bun add xbyte-sdk

API Client

The xByteClient provides REST API access to the xByte backend for managing clients, buckets, pricing, and content.

Create a client
import { xByteClient } from "xbyte-sdk";
 
const client = new xByteClient();
 
const response = await client.createClient({
    name: "My Content Platform",
    wallet: "0x1234...",
});

EVM Client

The xByteEvmClient enables direct interaction with xByte smart contracts on-chain.

Initialize client
import { xByteEvmClient } from "xbyte-sdk";
 
const evmClient = new xByteEvmClient("https://sepolia.base.org");

Community

Join the Community