Skip to content
Velo-Ecosystem-CollectionPublic

About

Resources

Stars

51 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

446 Commits

Folders and files

Repository files navigation

Velo dotted arrow logo

Velo

Application operations for Stellar

Build on Stellar. Operate with Velo.

Velo connects the workflows teams use to build, verify, observe, pay, and settleβ€”without stitching the surrounding application infrastructure together from scratch.

Status Stellar Next.js Convex TypeScript Rust License

Open Velo Β· Try the Velo Pay demo Β· Watch Velo Demo Β· Platform guide Β· Velo Pay guide Β· SDK Β· Deploy contracts Β· Run locally

Important

Velo is alpha software for Stellar Testnet. In-house Stellar checkout, ledger verification, and merchant webhooks are implemented, with live end-to-end qualification still in progress. Integration with a new Philippine payment provider is underway; settlement is not available yet.


πŸ“± Velo on Mobile

A compact tour of Velo's Testnet alphaβ€”from project setup and registry proof to observability and developer integration. The settlement screenshot is retained as historical product evidence.

Start and configure
Velo mobile landing page with Testnet launch calls to action
Landing page
Velo mobile project dashboard showing contracts, events, webhook health, and payments
Project dashboard
Velo mobile API key management and available endpoint list
API keys
Verify and connect
Velo mobile public proof page showing registry-backed project details
Public project proof
Velo mobile official contracts page listing active Soroban contracts
Official contracts
Velo mobile wallet configuration with supported Stellar wallets selected
Wallet configuration
Observe and deliver
Velo mobile events page with contract filters and recent activity
Contract events
Velo mobile transaction debugger awaiting a Stellar Testnet transaction hash
Transaction debugger
Velo mobile webhook settings with endpoint, signing secret, and event controls
Webhook delivery
Integrate and review history
Velo mobile developer integration page with server-side checkout code
Developer integration
Velo mobile SDK documentation introduction with Node.js example
SDK documentation
Archived Velo settlement demo page
Historical settlement demo

🧩 Why Velo

Building a Stellar application is only the beginning. Teams still need to prove which contracts are official, inspect live behavior, accept payments, verify payments against the ledger, and notify merchant systems.

Those jobs often end up fragmented across scripts, dashboards, providers, and manual runbooks. Velo brings them into one developer-first operating layer.

πŸ” The Velo Operating Loop

Build β†’ Verify β†’ Observe β†’ Pay

Capability What Velo helps you do Alpha status
πŸ› οΈ Build Connect supported Stellar operations through APIs, SDKs, project workspaces, Gas Station, and Playground. Implemented alpha
βœ… Verify Link wallet authorization and on-chain provenance to the project and contracts an owner claims as official. Live validation pending
πŸ“‘ Observe Inspect Testnet transactions, monitor contract events, and review signed webhook delivery. Live qualification pending
πŸ’³ Pay Create hosted Stellar checkout flows and return ledger-verified payment state to an application. Code-complete; E2E pending
🏦 Settlement route Integration with a new Philippine payment provider is underway; settlement is not available yet. Integration underway

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

✨ What You Can Do Today

  • Manage project identity and lifecycle with Registry-backed identity, official contract references, owner-scoped names, and owner-only retirement.
  • Activate payment access through VeloPayAccess, which checks project state through the Registry contract.
  • Sponsor eligible Stellar Testnet fees with Gas Station: owners fund a managed relayer, set a daily XLM cap, per-wallet hourly request quota, and allowed-contract list, then explicitly activate or pause sponsorship. dApps integrate through the server-side API, SDK, or Express and Next.js examples.
  • Explore Soroban contracts in Playground by loading live specs, simulating calls, reviewing exact XDR, and invoking eligible calls on Testnet with a wallet. Mainnet is limited to inspection and simulation.
  • Create PaymentIntents through the Velo API or the server-side @carts1024/velo-sdk, with idempotency and in-house Stellar routing.
  • Send customers to hosted checkout where they connect a wallet and submit a Stellar Testnet payment.
  • Trust ledger evidence, not browser callbacks: only the backend scanner can promote a payment to paid after verification.
  • Deliver signed webhooks with HMAC-SHA256 signatures, retries, secret rotation, and delivery logs.
  • Debug transactions and monitor contracts from the same project workspace.
  • Use project-configured wallets through @carts1024/velo-wallets browser, React, and custom-element integrations.
  • Track Velo credits and top-ups through policy-gated billing controls; Mainnet enforcement remains gated.

🌐 How Velo Uses Stellar

Velo uses Stellar as the authorization, payment, and settlement-verification layer beneath its Testnet operating loop.

Stellar capability How Velo uses it today
Wallets and signatures Stellar Wallets Kit connects supported wallets and signs transactions. Dashboard login requests a Velo JWT for the connected address after checking its Stellar key format; it does not independently prove address ownership. SEP-10 authentication remains on the roadmap.
Classic transactions and assets @stellar/stellar-sdk and Horizon prepare and submit checkout transactions, inspect accounts and trustlines, and support native XLM and issued-asset payment flows.
Stellar RPC and ledger data Backend workers verify submitted transactions, reconcile pending payments, debug transaction results, poll supported Soroban contract events, and power Playground simulation.
Testnet fee sponsorship Managed relayers submit eligible FeeBump transactions under project limits and contract allowlists. Owners control funding and activation; the signing key stays on the server.
Soroban contracts VeloRegistry records project identity and official contract references. VeloPayAccess reads Registry state to control payment activation and checkout credits. Playground supports Testnet invocation and Mainnet simulation.
Ledger-verified payments A browser submission never marks a PaymentIntent as paid. The backend checks the transaction against the intended source, destination, asset, and amount before updating state and scheduling payment.succeeded.
Provider settlement Integration with a new Philippine payment provider is underway but unavailable. Historical provider and settlement records remain readable.

πŸ’‘ Innovation and Differentiation

Velo composes Stellar primitives into application-ready workflows while keeping authorization and payment truth verifiable on-chain. Its differentiation is the operating model around Stellar, not a claim to replace wallets, Horizon, RPC providers, anchors, or the Stellar SDK.

  • One operating loop: project provenance, payment access, hosted checkout, ledger verification, contract monitoring, and signed webhooks share one project context.
  • Ledger evidence over client trust: the checkout UI can submit a transaction, but only backend verification can finalize the payment.
  • Contracts plus operations: Soroban authorization is connected to the API, SDK, checkout, event monitoring, and webhook surfaces that application teams need around a contract.
  • A progressive integration path: teams can start with hosted Testnet checkout and adopt deeper infrastructure as their identity, payment, observability, and data requirements grow.
  • Explicit evidence boundaries: implemented code, live-qualification work, roadmap commitments, and exploratory ideas are labeled separately.

πŸ‘₯ Who Velo Is For

  • Stellar and Soroban teams that need an operational layer beyond contract deployment.
  • Hackathon and early-stage builders who need a credible payment workflow quickly.
  • Merchant platforms integrating stablecoin checkout and signed payment notifications.
  • Operators validating transaction, webhook, contract, and settlement behavior.
  • Ecosystem reviewers checking project ownership and official contract provenance.

πŸ“ˆ Go to Market

Velo's initial go-to-market is B2B developer infrastructure for Stellar. Its target customers are fintechs, wallets, merchant platforms, anchors, and application teams that need payment and operational capabilities without assembling every surrounding Stellar integration themselves.

  1. B2B design partners: work with a small group of Testnet teams that have concrete checkout, verification, webhook, or settlement requirements. Track time to first successful payment, checkout completion, webhook delivery, and integration feedback.
  2. Technical pilots: use the SDK, examples, documentation, and hosted flow to prove repeatable integrations and turn design-partner needs into reusable infrastructure.
  3. Ecosystem partnerships: distribute those capabilities through direct developer outreach, hackathons, ecosystem programs, and integrations with wallets, anchors, payment providers, and Stellar applications.
  4. Production contracts: introduce supported deployment paths, reliability targets, and usage-based or platform pricing only after the necessary security, compliance, partner, Mainnet-readiness, and operational work is complete.

The initial business model and the longer-term payment use case are distinct: Velo can serve businesses as an infrastructure platform first, then expand into B2B payment workflows such as supplier payments, enterprise payouts, and cross-border settlement as SEP-31, anchor connectivity, and production settlement mature. The product wedge is verifiable checkout and payment operations; the infrastructure expansion path includes shared SEP, account, transaction-sponsorship, RPC, indexing, and developer-operations services.

🧭 How Velo Fits Together

flowchart LR
  Merchant[Developer or merchant] --> Console[Velo console]
  Merchant --> SDK[Velo API and SDK]
  Customer[Customer wallet] --> Checkout[Hosted checkout]

  Console --> Backend[Convex backend]
  SDK --> Backend
  Checkout --> Backend

  Console --> Contracts[VeloRegistry and VeloPayAccess]
  Console --> Playground[Contract Playground]
  SDK --> Gas[Gas Station API]
  Gas --> Backend
  Checkout --> Stellar[Stellar Testnet]
  Playground --> Stellar
  Contracts --> Stellar
  Backend --> Stellar

  Backend --> Webhooks[Signed merchant webhooks]
Loading

The browser can submit a payment, but it cannot declare success. Velo verifies the transaction from the backend before updating the PaymentIntent and dispatching payment.succeeded.

πŸ”— Current Testnet Contracts

Contract Address Explorer
VeloRegistry CDIWR3WQ7DKQORRRAZOTWFQ2AOZZOFFNA3CUTL5CJPL4JVZ2GMF27V37 View on Stellar Expert
VeloPayAccess CAXMXAWM7QSW57TE3MG2DQI6ZG4UQPYK3VGPMF5K7XO5ASEEJ7IXL7RH View on Stellar Expert

These alpha Testnet addresses come from deployments/testnet.json and may be replaced as Velo evolves. After a redeployment, update this table, the application environment, and the contract-specific READMEs together.

πŸ› οΈ Tech Stack

  • Web: Next.js 16, React 19, TypeScript 5.9, App Router, Tailwind CSS.
  • Backend: Convex queries, mutations, actions, crons, and wallet-address sessions verified through Convex custom JWTs.
  • Stellar: Stellar Wallets Kit, @stellar/stellar-sdk, Horizon, Stellar RPC, and Testnet.
  • Smart contracts: Rust, soroban-sdk, VeloRegistry, and VeloPayAccess.
  • Developer experience: @carts1024/velo-sdk, @carts1024/velo-wallets, REST APIs, signed webhooks, and Express and Next.js examples.
  • Settlement: Integration with a new Philippine payment provider is underway; the Settlement route remains unavailable until it is ready.
  • Tooling: pnpm workspaces, Turborepo, oxlint, oxfmt, Husky, and GitHub Actions.

πŸš€ Run Velo Locally

Prerequisites

  • Node.js >=22 (smart-account-kit requires Node.js 22 or newer).
  • pnpm 10.25.0 or compatible.
  • A Convex project.
  • Rust and the Stellar CLI for smart-contract work.
  • A funded Stellar Testnet wallet for live payment flows.

1. Install the workspace

From the repository root:

pnpm install

2. Configure the web environment

Create apps/web/.env.local with the core application values:

NEXT_PUBLIC_CONVEX_URL=<convex_deployment_url>
NEXT_PUBLIC_APP_URL=http://localhost:3000
NEXT_PUBLIC_STELLAR_NETWORK=testnet
NEXT_PUBLIC_STELLAR_RPC_URL=https://soroban-testnet.stellar.org
NEXT_PUBLIC_VELO_REGISTRY_CONTRACT_ID=CDIWR3WQ7DKQORRRAZOTWFQ2AOZZOFFNA3CUTL5CJPL4JVZ2GMF27V37
NEXT_PUBLIC_VELO_PAY_ACCESS_CONTRACT_ID=CAXMXAWM7QSW57TE3MG2DQI6ZG4UQPYK3VGPMF5K7XO5ASEEJ7IXL7RH

Authentication, backend, and hosted deployment require additional server-side configuration. See the full environment reference and demo setup guide.

Optional WalletConnect login

Create a project in the Reown dashboard, configure its allowed origins for your local and hosted Velo URLs, and set NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID in the web environment. This is a public WalletConnect relay project identifier, not a private API key. Set NEXT_PUBLIC_APP_URL to the actual app origin so the wallet sees matching Velo metadata. For phone testing over Wi-Fi, add the exact LAN origin, such as http://192.168.1.20:3000, to the project's allowed origins; localhost does not cover a LAN IP, and scheme, host, and port must match. See the Reown relay origin rules.

The signed login JWT must use the same issuer as Convex. Set VELO_AUTH_ISSUER to that value in both the web server and Convex environment. If unset, Velo uses NEXT_PUBLIC_APP_URL. Convex Cloud must receive VELO_AUTH_JWKS through an HTTPS URL or a data: URI; it cannot fetch a JWKS from a phone's local network. Restart development or rebuild/redeploy the web app after changing these values.

Wallet login now signs a short-lived SEP-10 challenge before creating a session. Run pnpm --filter @repo/backend dev against the same Convex deployment named by NEXT_PUBLIC_CONVEX_URL so it receives the challenge table, mutations, and velo-web-v2 auth configuration. Web and Convex changes must be deployed together. If challenge setup returns 503, use its safe failure message to check server signing configuration, Convex issuer/auth configuration, the deployed challenge functions, or backend availability.

When configured, Velo's wallet selector includes WalletConnect for Stellar Testnet. Without it, the existing wallet options remain available. Login uses the Testnet address returned by the connected wallet to request a Velo-issued JWT after the wallet signs a SEP-10 challenge. The challenge is not submitted to Stellar and incurs no network fee. This integration applies to Velo login/sign-up; it does not enable WalletConnect in the Velo Wallets widget. See the Stellar Wallets Kit module documentation.

Run pnpm --filter web test:e2e:wallet-auth for simulated Chromium authentication tests. Before enabling a deployment, qualify Freighter mobile with desktop QR pairing and mobile handoff: sign-up, returning login, rejected signing, cancellation, disconnect, reload/reconnect, and Testnet selection. Also check Freighter extension login. Automated fixtures do not establish real-device compatibility; that live acceptance remains unverified.

3. Start the development workspace

pnpm dev

Open http://localhost:3000. To run only the web app:

pnpm --filter web dev

4. Try the merchant SDK

import { Velo } from "@carts1024/velo-sdk";

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

const session = await velo.checkout.sessions.create({
  amount: "10.00",
  asset: "native",
  description: "Velo Testnet checkout",
  successUrl: "http://localhost:3000/success",
  cancelUrl: "http://localhost:3000/cancel",
});

console.log(session.checkoutUrl);

Continue with the Velo Pay checkout guide, Express example, or Next.js App Router example.

πŸ§ͺ Test and Validate

Run the JavaScript and TypeScript quality gates from the repository root:

pnpm lint:fix
pnpm test
pnpm build

After changing the Convex schema or functions, run pnpm convex:codegen with your development deployment configured and commit the changes under packages/backend/convex/_generated. This command applies the same formatting used by CI.

Run both Soroban contract suites:

cargo test --manifest-path contracts/registry/Cargo.toml
cargo test --manifest-path contracts/pay_access/Cargo.toml

Build the contract WASM artifacts:

stellar contract build --manifest-path contracts/registry/Cargo.toml
stellar contract build --manifest-path contracts/pay_access/Cargo.toml

⚑ Performance and Benchmarking

On July 15, 2026, Velo measured the hosted PaymentIntent-creation endpoint from us-east-1. The run measured each HTTP request from its start until a valid payment-intent response was received from https://run-velo.vercel.app.

Observed metric Result
Attempted requests 3,000
Successful requests 3,000 (100%)
Errors / dropped requests 0 / 0
Successful throughput 10 requests/s
p50 latency 85.14 ms
p95 latency 108.11 ms
p99 latency 176.19 ms
Maximum latency 565.03 ms

The workload used 10 warmup requests, 3,000 measured requests, a target rate of 10 requests per second, concurrency of 25, and a 10-second request timeout. The capture ran on Node.js v20.20.2 and is recorded locally as benchmarks/reports/velo-us-east-1-2026-07-15T02-47-16-859Z.json with its 3,000-sample raw NDJSON artifact.

🚒 Deploy Smart Contracts

The deployment script releases both Velo contracts as an ordered, non-atomic sequence. It deploys VeloRegistry first, deploys VeloPayAccess, initializes PayAccess with the Registry contract ID, runs read-only smoke checks, and writes a deployment manifest. If a later step fails, earlier successful uploads or deployments remain on the network and must be recorded before retrying.

Caution

Velo remains Testnet alpha software. Mainnet support in the script provides guarded deployment mechanics; it does not mean the contracts have completed production security, audit, custody, or operational-readiness requirements.

Prerequisites

Install the Stellar CLI and configure a funded CLI identity for the target network. Pass the identity name to the scriptβ€”never place a secret key or seed phrase in the command.

For Testnet, create and fund an identity:

stellar keys add deployer
stellar keys fund deployer --network testnet

Deploy to Testnet

Preview the contract test, build, deployment, initialization, and smoke-check commands without executing them:

pnpm contracts:deploy --network testnet --dry-run

Deploy both contracts:

pnpm contracts:deploy --network testnet --source deployer

The deployment runs both Rust contract suites and builds optimized, locked WASM artifacts by default. Use --skip-tests only if the same commit has already passed its contract tests. Use --skip-build only when the expected optimized artifacts already exist.

Deploy to Mainnet

Before deploying to Mainnet, complete the security and operational checklist in the contract deployment guide. At minimum, verify the reviewed commit on Testnet, review authorization and storage paths, establish deployer key custody and incident procedures, and obtain independent peer review. High-value deployments also require an appropriate audit or documented risk acceptance.

Preview the Mainnet plan:

pnpm contracts:deploy --network mainnet --dry-run

After completing the readiness checklist, deploy with the explicit Mainnet acknowledgement:

pnpm contracts:deploy \
  --network mainnet \
  --source production-deployer \
  --confirm-mainnet

The script locks the canonical passphrase for the selected network and refuses a live Mainnet deployment without --confirm-mainnet.

Record the deployment

A successful deployment writes deployments/<network>.json, containing the deployment time, Git commit, deployer public key, contract IDs, and uploaded WASM hashes. The command also prints the values to configure in the web and backend environments:

NEXT_PUBLIC_VELO_REGISTRY_CONTRACT_ID=<registry_contract_id>
NEXT_PUBLIC_VELO_PAY_ACCESS_CONTRACT_ID=<pay_access_contract_id>
VELO_PAY_ACCESS_CONTRACT_ID=<pay_access_contract_id>

See the full contract deployment guide for optional flags, safety checks, and manifest details.

πŸ—ΊοΈ Roadmap and Upcoming Features

Roadmap items describe current direction and may change as Velo learns from alpha users. They are not claims of present availability.

Payments, identity, and accounts

  • SEP-10 authentication infrastructure.
  • Smart-account infrastructure.
  • SEP-24 deposit and withdrawal infrastructure.

Standards and developer tooling

  • SDK support for SEP-6, SEP-10, SEP-24, SEP-31, SEP-38, and SEP-45.
  • Broader developer-operations infrastructure.

Network and operations infrastructure

  • Full Stellar RPC gateway.
  • Distributed indexing layer.
  • Production request logs and operational visibility.

Exploring

  • Deeper integration with Stellar Anchors.
  • A reusable Stellar Anchor SDK, subject to findings from that exploration.

πŸ“¦ Repository Map

.
β”œβ”€β”€ apps/web                 # Next.js application, console, checkout, and public pages
β”œβ”€β”€ packages/backend         # Convex schema, functions, actions, crons, and tests
β”œβ”€β”€ packages/observability   # Shared telemetry and redaction helpers
β”œβ”€β”€ packages/stellar         # Stellar transaction and contract helpers
β”œβ”€β”€ packages/ui              # Shared React components and styles
β”œβ”€β”€ packages/velo-sdk        # Public alpha server-side SDK
β”œβ”€β”€ packages/velo-wallets    # Browser, React, and custom-element wallet package
β”œβ”€β”€ contracts/registry       # Soroban project registry contract
β”œβ”€β”€ contracts/pay_access     # Soroban payment-access contract
β”œβ”€β”€ examples                 # Express and Next.js merchant integrations
└── docs                     # Product, architecture, operations, and demo documentation

πŸ“š Documentation

⚠️ Alpha Boundaries

Before evaluating Velo, keep these constraints in view:

  • Payment flows target Stellar Testnet.
  • The Testnet contract IDs above still require explicit configuration and validation in each hosted environment.
  • Checkout code is implemented, but the full wallet-to-webhook path still needs live rehearsal on target devices.
  • Provider settlement is not available yet. Integration with a new Philippine payment provider is underway; historical PDAX records remain accessible.
  • Mainnet settlement, production compliance workflows, and production custody are not implemented.
  • Public API rate limiting still needs distributed production hardening.

🀝 Contributing

Keep changes focused, follow the existing package boundaries, and add tests beside the behavior you change. Before opening a pull request, run the relevant package tests plus pnpm lint:fix and pnpm build. Include screenshots for visible UI changes and link the relevant product or architecture document when applicable.

πŸ“„ License

MIT

About

Resources

Stars

51 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages