KYC
Prepare KYC (wallet)
Register a user for KYC by proving wallet ownership with a signed challenge message.
POST
Use this path when your users connect a wallet instead of verifying by email OTP. The wallet must sign the challenge from Wallet challenge.
After a successful prepare, call Create KYC session with
Your StarkFi API key.
Wallet address that signed the challenge.
Exact challenge message returned by
POST /security/wallet/challenge.Signature bytes (base58 for Solana, hex for EVM) proving ownership of
wallet.Optional email to link to the wallet. If provided, it must not already belong to a different wallet.
Signing the challenge message
After you receivedata.message from Wallet challenge, sign that exact string with the user’s wallet. Send the result as signed_bytes in this request (hex for EVM, base58 for Solana).
- EVM (ethers.js)
- Solana (web3.js)
wallet instead of email..png?fit=max&auto=format&n=I_v6ul4JDafNKFQP&q=85&s=f0ad25536f8a3ca42331fcff88ab2b26)