Every user gets an account to use the app. They can sign messages, documents and transactions, and hold cryptocurrency.
Feature: Account
As a user
I want to have an account
Because I want to save my history of use and
Because I want to have access to things relevant to me
Scenario: User creates new account
Given I'm not logged in, and
And I don't have session cookies from previous use
When I am on any page
And I click "Sign in"
Then offer me to create new or use existing account
When I click "Create new account"
Then Ask me to save my private key as a Passkey on my device
When I save my passkey
Then Offer me to connect my Gmail account for recovery
When I
Scenario: User signs into existing account
Given I'm not logged in
And I don't have session cookies from previous use
When I am on any page
And I click "Sign in"
Then offer me to create new or use existing account
When I click "Use existing account"
Then Ask me to sign in with my Passkey
And offer me to regain access to my account using Gmail
Scenario: User rejoins while cookie is still active
Given I was recently logged in
And I have session cookies from previous use
When I open app
Then Connect my account
Every user gets an account to use the app. They can sign messages, documents and transactions, and hold cryptocurrency.