Skip to main content
One runnable script per sign-in path, covering the whole flow: session keys → sign in → authenticateJwt with the session signer → create and sign with backUpToDynamic: true → refresh → re-authenticate at the refresh limit.
This script collects the OTP code on stdin; in production, collect it through your own channel.
Run any of them with your environment variables set, for example:
If sign-in or wallet creation fails, check the dashboard configuration steps in the quickstart first: embedded wallets enabled, chains enabled, and the environment ID correct.
Last modified on July 17, 2026