Additional Resources
...
Aggregator Beta
What are Sessions?
Session Setup Guide
6min
creating a session is similar to logging into our app with active sessions, all other transactions within the app are signless and instantaneous creating a session involves signing 2 transactions in metamask transaction 1 this generates a json web token (jwt) which is valid for 30 days it is generated by signing your smart wallet address and timestamp transaction 2 this involves signing specific bytes for arbitrum and optimism the session key stored on your browser enables authorized transactions like swaps, bridges, trades, and gas tank deposits step 1 signing transaction 1 head to your account to activate the session click on create session sign transaction 1 to generate jwt token step 2 verify message of transaction 2 (optional) after signing transaction 1 , if desired you can verify the message of transaction 2 copy data from the modal and follow the outlined steps in the next section step 3 signing transaction 2 click "sign" in the second popup to set up the session steps to verify message of transaction 2 copy the code snippet by clicking on click here to copy data visit the stackblitz (use chromium based browsers like chrome, firefox, brave ) replace the contents of data json file with the copied code snippet data from step 1 save the file (cmd+s, ctrl+s) run “pnpm verify” on the terminal compare the signature payloud output printed with that shown in message of the second metamask popup