Velo
Application operations for Stellar

Build on Stellar.
Operate with Velo.

Build and operate Stellar apps without stitching the surrounding infrastructure together. Velo connects the workflows you use to build, verify, observe, pay, and sponsor eligible transaction fees on Stellar Testnet.

Alpha software for Stellar Testnet · Capabilities and availability may change

Stellar

Instawards

Stellar Development Foundation · Instawards

Velo was awarded through Instawards.

The award supported Velo's work on Gas Station, a managed Testnet fee-sponsorship service for Stellar applications.

Explore Gas Station

The Velo Platform

One application operations layer.Five connected capabilities.

Start with Velo Pay, then use the broader platform as your Stellar application grows.

Implemented

Build

SDKs, APIs, and workspaces for building Stellar apps.

Validation pending

Verify

Confirm wallet authorization and official contract addresses.

Qualification pending

Observe

Track transactions and events. Deliver signed webhooks.

E2E pending

Pay

Host checkout and verify payment against the ledger.

Implemented · Testnet

Gas Station

Sponsor eligible Stellar Testnet transaction fees with project policies and managed relayers.

Maturity labels describe current implementation and validation status. Verify covers wallet authorization and on-chain provenance—not code audits, legal identity, or project endorsement.

How Velo Works

From application action to on-chain outcome.

Keep the operational steps around a supported Stellar transaction connected to your application.

01

Build the workflow

Connect your application to a supported Velo API or server-side SDK workflow.

02

Request authorization

Let the user authorize the supported Stellar operation through their wallet.

03

Track the outcome

Carry transaction state and on-chain provenance back into your application.

Velo handles the surrounding application workflow while Stellar remains the system of record.

Start with Velo Pay

A payment workflow that stays connected to your application.

Use Velo's server-side SDK to create a hosted checkout, track ledger-verified payment state, and carry the outcome back into your application.

  • Create hosted payment sessions from your backend
  • Verify payment state against Stellar ledger data
  • Deliver signed payment events with retries and logs

Code-complete Alpha for Stellar Testnet · End-to-end validation pending

testnet/velo-pay.ts
import { Velo } from "@carts1024/velo-sdk";

const velo = new Velo({
  apiKey: process.env.VELO_API_KEY!,
  environment: "testnet",
});

// Create a hosted Velo Pay checkout session
const session = await velo.checkout.sessions.create({
  amount: "10.00",
  asset: "USDC",
  description: "Order #1001",
  successUrl: "https://example.com/success",
  cancelUrl: "https://example.com/cancel",
});

console.log(`Pay at: ${session.checkoutUrl}`);

Velo Gas Station

Sponsor eligible fees while users keep signing.

On Stellar Testnet, your server can use Velo's SDK to have a managed relayer cover fees for eligible user-signed Soroban transactions. Project policy controls daily spend, wallet quotas, and contract allowlists.

  • Users sign the original transaction with their own wallet
  • Apply project caps, wallet quotas, and the saved contract allowlist
  • Recover uncertain submissions by status without resending the XDR

Testnet only during Velo's alpha · Keep API keys and SDK calls on your server

server/gas-station.ts
import { Velo, VeloGasSubmissionUnknownError } from "@carts1024/velo-sdk";

function createGasClient(): Velo {
  const apiKey = process.env.VELO_GAS_API_KEY?.trim();
  const baseUrl = process.env.VELO_GAS_BASE_URL?.trim();

  if (!apiKey || !baseUrl) {
    throw new Error("Configure Gas Station on the server.");
  }

  return new Velo({ apiKey, baseUrl, timeoutMs: 10_000 });
}

export async function sponsorGas(
  operationId: string,
  signedTransactionXdr: string,
) {
  const stableOperationId = operationId.trim();
  if (!stableOperationId) throw new Error("operationId is required.");

  const velo = createGasClient();
  try {
    return await velo.gas.sponsorAndSubmit(signedTransactionXdr, {
      idempotencyKey: `my-app-gas:${stableOperationId}`,
      timeoutMs: 10_000,
    });
  } catch (error) {
    if (!(error instanceof VeloGasSubmissionUnknownError)) throw error;
    return velo.gas.getStatus(error.recovery, { timeoutMs: 5_000 });
  }
}
Start with Velo Pay · Testnet Alpha

Build the Stellar app. Operate it with Velo.

Begin with a payment workflow on Testnet, then expand across Velo's application operations capabilities.

BUILD•VERIFY•OBSERVE•PAY•GAS STATION · TESTNET