GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - cavos-labs/cavos-demo

BranchesTags
Open more actions menu

Latest commit

 

History

71 Commits
71 Commits

Folders and files

NameName
Last commit message
Last commit date
.claude
.claude
 
 
app
app
 
 
components
components
 
 
lib
lib
 
 
public
public
 
 
.env.example
.env.example
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
next.config.ts
next.config.ts
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
postcss.config.mjs
postcss.config.mjs
 
 
tsconfig.json
tsconfig.json
 
 

Repository files navigation

Cavos Demo

Privy-style interactive demo for @cavos/kit. Customize the embedded login modal live (background, accent, corner radius, logo, providers), then sign in to create a real device-signer wallet on Solana devnet — no install, no seed phrase.

Run locally

cp .env.example .env.local   # fill NEXT_PUBLIC_CAVOS_APP_ID
npm install
npm run dev

Open http://localhost:3000.

Environment

Var Purpose
NEXT_PUBLIC_CAVOS_APP_ID Cavos app id — activates the gasless relayer + branding. Register at cavos.xyz.
NEXT_PUBLIC_SOLANA_DEVNET_RPC_URL Devnet RPC (Alchemy/Helius). Public devnet fails from the browser.
STELLAR_TREASURY_SECRET Server-only testnet treasury secret for "Receive a USDC payment".
NEXT_PUBLIC_STELLAR_USDC CODE:ISSUER the demo pays and Reserve charges in. Defaults to Circle testnet USDC.
STELLAR_CLAIMABLE_AMOUNT USDC per claimable balance (default 25). Must exceed the activate ceiling (5).

Stellar: XLM or USDC

A fresh Stellar address can come to life two ways, and the Balance panel offers both side by side — but only while the account does not exist:

  • Get devnet XLM — Friendbot creates the account with 10,000 XLM. One-way, plain-XLM path: it is only shown in the unfunded state because Friendbot only creates accounts (it 400s on existing ones), and taking it means that address skips Reserve entirely.
  • Receive a USDC payment → Activate account — the demo treasury pays a claimable balance to the address (no account needed), then one signature through Cavos Reserve creates the account, opens the USDC trustline, and claims the balance. Reserves and fees are paid out of the claimed USDC, so the account holds 0 XLM by design.

Treasury provisioning

  1. Generate a keypair in Stellar Lab and fund it via Friendbot.
  2. Open a trustline from the treasury to the chosen USDC issuer.
  3. Fund it with USDC from the Cavos issuer (GCKUFD5K…, see Reserve /v1/tokens), or from https://faucet.circle.com for Circle's testnet USDC (USDC:GBBD47IF6LWK7P7MDEVSCWR7DPUWV3NY3DTQEVFL4NAT4AQH3ZLLFLA5) — set NEXT_PUBLIC_STELLAR_USDC accordingly. Testnet USDC cannot be bought on the DEX; there is no XLM→USDC path.
  4. Put the secret in .env.local as STELLAR_TREASURY_SECRET (never NEXT_PUBLIC_).

Each unclaimed claimable locks 25 USDC + 0.5 XLM of treasury reserve. A Reserve-created account has no Cavos on-chain envelope, so it only unlocks on the browser that created it.

The kit dependency

This demo uses @cavos/[email protected]: multi-chain session, Cavos vault, lazy deploy, and the modal's inline render mode plus backgroundColor / radius / appLogo theming.

About

cavos-demo.vercel.app

Resources

Readme

Security policy

Security policy
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.