Example Usage: Sol Lock & Unlock App

A complete example showing how to build a staking app with generated policies, TypeScript SDK, and React components.

Generated Policy

AI-generated policy from the prompt below

Prompt Used:

"make an app where any user can lock their sol, and unlock their sol whenever they want"

Generated Constants:

{
  "MIN_STAKE_AMOUNT": "1000000"
}
Loading...