ShredStream - Quickstart

Install SLV

bash
curl -fsSL https://storage.slv.dev/slv/install | sh

$ slv b init

slv b init
With a single command, slv b init, you can instantly scaffold a development environment for Solana bots using high-performance stream-based data.
bash
slv b init
  • Use shreds-ts if you prefer a TypeScript-based Shreds bot
  • Use shreds-rust for a Rust-based bot leveraging Shreds

Shreds Client Example – TypeScript

  1. Rename the .env.sample file to .env.
  2. Update the values in the .env file with your actual endpoint:
env
SHREDS_ENDPOINT=https://shreds-ams.erpc.global
⚠️ Important Note: This endpoint is provided as an example and cannot be used directly. Obtain and set your actual endpoint accordingly.
  1. Install dependencies and run the script:
bash
pnpm i pnpm dev
Shreds TypeScript VSCode

Shreds Client Example – Rust

  1. Rename .env.sample to .env
  2. Edit .env with your actual Shreds endpoint:
env
SHREDS_ENDPOINT=https://shreds-ams.erpc.global
⚠️ Please note: This endpoint is a sample and cannot be used as is. Please obtain and configure the appropriate endpoint for your environment.
  1. Build and run the client:
bash
cargo run
Shreds Rust VSCode

✅ 7-Day Free Trial Available

Shreds endpoints can be tested for free for 7 days via the official Validators DAO Discord server.