๐Ÿ” Grid + Turnkey Integration Test

Test Grid smart accounts with Turnkey passkey wallets

โš ๏ธ Passkey client not ready. Make sure Turnkey is properly configured.

๐Ÿ”— API Wallets (0)

Search database for wallets associated with any email address
No API wallets found. Click "Refresh" to check for existing wallets.

Documentation

๐Ÿ” Wallet Lookup Methods

  • LocalStorage: Wallets saved from previous test sessions
  • API (Auto): Wallets for mock user (DEV_AUTH_BYPASS enabled)
  • Email Lookup: Search database for any email address
  • Email lookup searches both auth.users and direct wallet records

๐Ÿ—‘๏ธ Wallet Deletion

  • Normal deletion requires wallet export if enforced by Turnkey
  • Force deletion bypasses export requirements but is irreversible
  • Deleting primary wallet auto-promotes another wallet to primary

๐Ÿ’ณ Grid Payment Flow

  1. Prepare: Backend returns intent_payload + mpc_payload
  2. Sign: GridStamper signs mpc_payload only
  3. Confirm: Backend sends both payloads to Grid

๐Ÿ“ฑ React Native Integration

  • Backend prepare โ†’ returns payload objects
  • Client GridStamper.stamp() โ†’ signs mpc_payload
  • Backend confirm โ†’ finalizes transaction