Generates a throwaway Ed25519 session key, runs Login with Telegram with
nonce = base64url(session public key), and turns the resulting
id_token into the exact bytes TgWallet verifies on-chain.
Everything runs in this page — no backend, no client secret.
/mybots → your bot → Login Widget.… (no trailing slash).….
That is what the library sends as redirect_uri.
ES256K is restricted to the openid scope, so the token carries only
iss/aud/sub/iat/exp/nonce — no user-controlled strings for the contract to parse.
@BotFather → /mybots → your bot → Login Widget → Client ID.
……
Kept in localStorage so a reload does not invalidate a token you just captured.
In a real wallet this key never leaves the device and is worth at most one session.
Save as tests/live-vector.tolk in the project, then run
acton test tests/live.test.tolk to verify this exact token inside TVM.