Wallet

Get runnable wallet-generation snippet — agent executes it; Solentic never sees the secret key

Returns runnable code snippets (JavaScript, Python, Solana CLI) under the runThis field. Solentic cannot generate the keypair for you — generation is the act of creating the random bytes, and whoever runs Keypair.generate() sees both halves at that instant. By returning code instead of generating server-side, Solentic provably never observes the private key. The agent executes one of the snippets in whatever it has available (code-interpreter tool, sandbox, shell, agent process) and captures walletAddress + secretKey. After funding the publicKey, the agent calls POST /api/v1/stake (one-shot: pass walletAddress + secretKey, get a confirmed signature back) or, for wallet extensions / multisig, the unsigned-transaction flow (POST /api/v1/stake/transaction → sign locally → POST /api/v1/transaction/submit).

post/api/v1/wallet/generate

Request

  • Base URL: https://solentic.theblueprint.xyz
  • URL: https://solentic.theblueprint.xyz/api/v1/wallet/generate
  • Auth: none required

Response

Local wallet generation code with security model and next steps

method'LOCAL_GENERATION'

Always LOCAL_GENERATION — wallet is generated in the agent's environment

whystring

Explanation of why local generation is used

Changes

No recorded changes to this operation across all 1 revision of this API.