An interactive, step-by-step walkthrough of non-custodial onboarding, native XRPL escrow locks, dynamic yield analytics, and DAO governance.
The dashboard is the signed-in home. A four-step journey tracks Google login, a Testnet faucet claim, an XRPL escrow lock, and the voting power that lock unlocks. Live XRP balance and governance totals refresh from the ledger and from Supabase without blocking navigation.
User journey
Sign in with Google through Web3Auth, claim Testnet XRP, lock XRP in a native escrow, then cast or delegate votes with the voting power that escrow creates. One escrowed XRP equals one voting power.
XRPL
Balances come from account_info on the locked Testnet cluster (wss://s.altnet.rippletest.net:51233). The faucet proxy funds the classic address derived from the Web3Auth key. The product claim is 200 Testnet XRP.
Supabase
The signed-in wallet is synced to public.users. Vault totals, proposal tallies, and the user’s votes are read after that session exists, so the dashboard can show deposited XRP and voting power beside the live ledger balance.
Profile is the self-custody account card. Google login never creates a custodial wallet on a YieldVault server. Web3Auth returns a private key in the browser, and the app derives a deterministic XRPL classic address from that key.
Web3Auth
Login uses the Auth adapter on Sapphire Devnet. The same Google identity always maps to the same XRPL address because the wallet is built from the provider’s key entropy.
Faucet and QR
Claim 200 Free Testnet XRP calls POST /api/xrpl/faucet with a signature from the connected wallet, then polls account_info until the balance updates. The QR encodes the classic address so another Testnet wallet can pay it.
What you keep
The address, live balance, auth provider, and escrow stats stay on one screen. YieldVault cannot move the XRP. Only a transaction signed in this browser can.
Export reveals the XRPL family seed when the derived wallet has one, otherwise the private key. Derivation happens locally after you are connected. The secret is shown only after you choose Reveal, and the copy action warns you to clear the clipboard.
Key handling
The seed or private key is derived in the browser from the Web3Auth provider. It is not written to Supabase and it is not sent to the faucet or governance APIs.
Session
The connected session shows the Google profile and the XRPL address that matches the key. Logout clears the local Web3Auth session and the app’s Supabase session header.
Why it matters
You can import the family seed into another XRPL wallet and keep the same Testnet account. That is the self-custody exit: the escrow and the XRP stay under the key you can export.
Deposit signs a native XRPL EscrowCreate. The XRP leaves the spendable balance and sits in a ledger escrow until FinishAfter. YieldVault cannot finish or cancel that escrow early. The lock used by the product is 30 days.
On-chain
The wallet signs EscrowCreate for the entered XRP amount with FinishAfter set from the lock window. After tesSUCCESS, the transaction hash is the on-chain proof. Display APY is not minted by the escrow.
APY and reserve
The screen shows a 15% display APY from automated treasury strategies, modeled off-ledger. The $100 minimum is a USD notional using the configured XRP price, not a ledger reserve. Spendable XRP still respects the 10 XRP base reserve.
Voting power
Supabase stores the deposit against your user id. Active escrowed XRP becomes voting power one-for-one. A later vote uses that sum, not a number typed in the browser.
Withdraw / Send XRP covers both a withdrawal of funds to an external address and a direct XRP transfer on Testnet. You enter the destination classic address, an optional destination tag, and the amount. The form checks the tag and keeps the 10 XRP base reserve before the wallet signs a native Payment.
Withdrawal and transfer
Use this flow to withdraw XRP to an external wallet or to send a direct XRP payment to any classic address. The destination must be a different r-address. A destination tag is optional and, when set, must be an integer from 0 through 4294967295.
Base reserve
The form keeps 10 XRP aside for the ledger base reserve so a send cannot drop the account below the reserve and fail on-chain. Escrowed XRP is not part of this spendable balance.
Supabase
A successful payment can be logged in xrp_transfers for the history view. The ledger remains the source of truth: account_tx decides whether the row is shown as sent or received.
The growth visualizer is client-side math. A slider runs from the $100 minimum to $10,000 in $50 steps and converts USD to XRP at the display price. Nothing here is submitted to the ledger.
30-day pro-rata
The lock-window card uses simple interest: principal × 15% × (30 / 365). That matches a single escrow period and does not compound inside the month.
6-month and 1-year
Longer cards compound monthly. Six months is six periods and one year is twelve, at a monthly rate of 15% / 12. The chart splits principal from estimated yield.
What it is not
EscrowCreate does not pay interest on XRPL. These figures are a display model of the 15% target. Principal stays in the native escrow until the finish time.
History merges the XRPL account transaction list with Supabase rows for deposits, votes, delegations, and transfers. Incoming payments that are missing from the database are written back when the page loads. Each hash links to the Testnet explorer.
Ledger rows
account_tx pages Payment and EscrowCreate results. A payment you sent is shown as Sent. A payment you received is shown as Received, with the counterparty address. Escrow creates are labeled Escrow Deposit.
Supabase rows
Votes, delegation changes, and stored transfers fill types the ledger request does not label by itself. If a ledger payment and a stored transfer share a hash, the ledger row wins.
Explorer
Every hash opens https://testnet.xrpl.org/transactions/… so a reviewer can confirm the same transaction on the public Testnet ledger.
Governance lists proposals stored in Supabase: title, category, status, and yes / no / abstain tallies. Your voting power is the sum of active escrow deposits. Submitting a vote calls cast_governance_vote, which checks that you are the signed-in user and applies that escrow-backed power.
Proposals
Anyone with a session can submit a proposal. The list itself is public. Tallies change only inside the vote function, so a client cannot edit yes/no totals directly.
Casting a vote
Vote Yes, Vote No, or Abstain on an active proposal. Changing a vote removes the previous weight and adds the current escrow power. Closed proposals reject new votes.
Power source
Power is escrowed XRP, one for one, not a separate staked token. If nothing is locked, the vote is rejected. Delegation can point that same power at another address without moving the XRP.
Submit Proposal opens from DAO Governance. You set a title, a category, a description, and how many days the vote stays open. On submit, the proposal is stored in Supabase as active, with zero tallies, and it appears at the top of the list.
Form
Categories are Yield Strategy, Fees, Treasury, Parameter, and Other. The title needs at least 8 characters and the description at least 20. Target duration defaults to 7 days and must be between 1 and 30.
Supabase
The insert writes public.proposals with status active, ends_at set from the duration, and yes, no, and abstain counts at zero. A signed-in session is required. The row is not an XRPL transaction.
What happens next
The new proposal is live for voting immediately. Members cast Yes, No, or Abstain with escrow-backed voting power until the end date. Submitting a proposal does not move XRP or change your escrow.
Delegation assigns your voting power to a preset representative or to any classic XRPL address. The underlying escrow stays in your account. You can switch or clear the delegate without signing an XRPL payment.
Presets
The modal offers the Treasury Strategy AI Delegate, the XRPL Foundation Delegate, and the YieldVault Council, plus a custom r-address. Preset addresses are display identities for the demo.
State
The choice is saved in user_delegations for your user id and mirrored in local storage so the governance screen can show it immediately. It does not create an escrow or a payment.
Custody
Delegating does not transfer XRP and does not give the delegate your seed. They receive the voting weight only. Your FinishAfter escrow and your spendable balance stay unchanged.