Build

A builder's manual for the network

Start with one command, send your first transaction in minutes and deploy a program before lunch.

Quickstart · Node 20+

npx create-ostrel-app@latest

Quickstart

From zero to testnet in four steps

  1. Scaffold

    Create an app with a program, a front end and tests, wired to testnet.

  2. Fund

    Get free test tokens from the faucet for your development account.

  3. Deploy

    Deploy the program with “ostrel deploy” and open the explorer link it prints.

  4. Ship

    Point the same code at mainnet when you are ready, or apply for a grant first.

SDKs

Same concepts in every language

Accounts, programs and transactions look the same whether you write TypeScript for a web app, Rust for a program or Python for data work.

  • @ostrel/sdk

    Web apps, wallets and back ends.

  • ostrel-sdk

    Programs and high-performance services.

  • ostrel-py

    Scripts, bots and analytics.

import { Client, Keypair, osl } from "@ostrel/sdk";

const client = new Client(process.env.OSTREL_RPC_URL ?? "https://rpc.testnet.ostrel.example");
const payer = Keypair.fromEnv();

// Send 1.5 OSL and wait until the block is final.
const receipt = await client.transfer({
  from: payer,
  to: "mara.osl",
  amount: osl("1.5"),
});

console.log(receipt.status, receipt.finalizedInMs); // "final" 412

Tooling

Everything around the code

Endpoints and faucet
  • Official

    CLI

    Create accounts, deploy programs and inspect transactions from the terminal with ostrel.

  • Official

    TypeScript SDK

    @ostrel/sdk for web apps, wallets and back ends.

  • Official

    Rust SDK

    ostrel-sdk for programs and high-performance services.

  • Official

    Python SDK

    ostrel-py for data work, bots and scripts.

  • Official

    Local network

    Run a single-node network with instant blocks for tests.

  • Official

    Explorer

    Look up any transaction, account, program or block.

  • Ecosystem

    Pilot

    Fork mainnet state onto your laptop and replay transactions.

  • Ecosystem

    Cairn

    Index program events into Postgres or GraphQL.

A hand on a laptop showing code, with reading glasses on a wooden desk in low light.

Courses

Learn by shipping

  • Your first program

    Write, test and deploy a tip jar to testnet.

    Beginner · 45 min

  • Wallet-light apps

    Passkeys and session keys for apps people use daily.

    Intermediate · 1 h 20 min

  • Designing for fee lanes

    Keep a busy program fast and inexpensive under load.

    Advanced · 1 h

Read the documentation

Building something people will use?

Grants of up to 500,000 OSL, paid in milestones, with mentors from the core team.