Developers
The graph is the app. Read it, version it, import it, export it as source, and check the published version against its anchor.
Graph JSON
{
"version": 1,
"generator": "ringforge-gen 1.0.0",
"id": "g_…",
"app": { "name": "Tip jar", "slug": "tips", "theme": "forge", "accent": "#FF6A1A" },
"nodes": [
{ "id": "n_open", "type": "link-opened", "x": 0, "y": 40, "config": { "path": "/" } },
{ "id": "n_tips", "type": "tip-page", "x": 272, "y": 40,
"config": { "title": "Leave a tip", "amounts": "0.02,0.05,0.1", "asset": "hSOL" } }
],
"edges": [
{ "id": "e_1", "from": { "node": "n_open", "port": "out" }, "to": { "node": "n_tips", "port": "in" } }
],
"groups": [], "comments": []
}Export it from the builder (Export, Graph JSON). Importing it rebuilds the canvas exactly, positions and settings included.
Public API
GET /api/apps/<slug>
→ graph, owner, ownerRing, hash, memo, anchor { sig, slot }
GET /api/status
→ Privacy Rings program slot, SOL/hSOL rate, apps published
POST /api/test { graph, wallet? }
→ per-block dry run: SDK builds + mainnet simulationsCheck an anchor
hash = sha256(canonical({ version, generator, app, nodes, edges }))
memo = "ringforge:v1:<slug>:<hash>" // Memo program, signed by the owner
// fetch the anchor tx, find the memo in its logs, compare the hashSource export
A Vite and React app generated from the graph by ringforge-gen 1.0.0: same graph, same files. It uses @heliuslabs/spr in the browser for deposits and private transfers. Run it with npm install and npm run dev.
Read the export guideAddresses
- Privacy Rings program
- ring1GaLCuJnkUMVkX2JeZLTTX17wKsV4fZmPVzXANW
- User Registry
- regy3WAeRXMYuMYxr5iK3Bf9Arr3PcxGxyzAddbiqDQ
- State tree 0
- 777pvSGe5LaBd9nCczvE2FXEauiwtfGJ5XRpjKyniGor
- hSOL mint
- he1iusmfkpAdwvxLNGV8Y1iSbj4rUy6yMhEA3fotn9A
- Memo program
- MemoSq4gqABAXKb96qnH8TysNcWxMyWCqXgDLGmfcHr
- Ringforge fee wallet
- ATN3QpUV5KiG55oU1iKxEwJft7d8dQRoXhfh4g6BGreN