How RaiseGG's Smart Contract Keeps Your Funds Safe
A plain-English explanation of how the RaiseGG Anchor program works — and why no one, not even us, can take your stake.
When you stake $20 on a match, where does that money actually go? The answer is: a Solana smart contract vault that neither we nor you can access until a verified result arrives.
What is a PDA Vault?
A PDA (Program Derived Address) is an on-chain account controlled entirely by program logic — not by any private key. When you create a match, your USDC is transferred to a PDA vault specific to that match. The vault address is deterministic (derived from the match ID and program ID), so anyone can verify it exists on-chain.
Who Can Release the Funds?
Only the smart contract's resolve_match instruction can release funds — and it only fires when called by the RaiseGG authority wallet with a valid winner. The authority wallet is controlled by our backend, but the contract enforces the rules: 90% to the winner's wallet, 10% to the treasury. There's no "admin drain" function.
What If RaiseGG Goes Down?
If our servers went offline mid-match, the funds would remain locked in the vault. We have a cancel_match instruction that refunds both players — this is what runs when matches expire. In a worst-case scenario, we can push a match cancellation directly on-chain.
Audits and Open Source
The Anchor program source code is available for review. We plan to commission a third-party audit before reaching significant TVL (total value locked) on the platform.