Provision a core account with a referral code
Self-service signup for a new wallet. The caller first obtains a
server-issued nonce from /v1/onboarding/nonce, signs the
purpose-bound signup message (with the nonce embedded) with the
wallet, and submits the referral code bound into that message. The
platform BFF consumes the nonce (single use), allocates a durable
account id, consumes the referral code, and submits core
account_create with a scoped provisioner token.
Fresh accounts start unfunded. Devnet/Mainnet balances come from the vault/deposit path; there is no server-side paper funding.
Body
Referral code to consume for signup.
"ALICE"
Base58 Solana wallet address being provisioned.
"GmQozSzrtMjXt5F1Bed8Vrt55zCbiga8vDZr47RX9wC8"
Purpose-bound signup message signed by the wallet. The referral code line must use the normalized code value, meaning trimmed and uppercased. The nonce line must carry a server-issued nonce from POST /v1/onboarding/nonce; each nonce is single-use.
"Sign up for Joyride\n\nWallet: GmQozSzrtMjXt5F1Bed8Vrt55zCbiga8vDZr47RX9wC8\nReferral code: ALICE\nNonce: 4Wz9pJb1rQx7cVd2mKf8sT3u"
Base58 Ed25519 signature over message.
"3Qf2Bz..."
Response
Account exists or was created for the wallet