OnFinality
New RPC users get 35% off their first monthView the offer
OnFinality Learn
Network & Protocol Guides3 min read

Verify Your First Aptos Keyless Transaction

Use a test account to verify the Aptos Keyless flow from sign-in through account derivation, signing and transaction confirmation.

TL;DR

Use a test account to verify the Aptos Keyless flow from sign-in through account derivation, signing and transaction confirmation.

Prepare a test sign-in

Use your own test OAuth client and callback URL. Generate an ephemeral key pair with the SDK and bind the login request to its nonce. After the redirect, derive the Keyless account with the returned JWT and that same ephemeral key pair. Keep the JWT and private key out of logs.

Sign and verify the sender

Record the derived public account address. On a test network, fund the account for gas or have an explicit fee payer. Build a small test transaction using that address as sender. Sign and submit through the SDK, then compare the sender in the confirmed result with the derived address.

Diagnose the failed stage

If the login works but derivation fails, verify the callback, JWT audience, bound nonce and expiry. If the SDK returns a transaction hash, use that hash to check the committed result before submitting again. Record the network, sender, hash and final execution status.

Network connection settings · Official documentation

Never Worry about Infrastructure Again

OnFinality takes away the heavy lifting of DevOps so you can build smarter and faster.

Get Started