Skip to content

Save EOA to a DB #3

@rndquu

Description

@rndquu

Depends on #2

Right now safe.ubq.fi is able to generate EOA address from a passkey but doesn't save it to a database.

This way user has to perform an additional registration step:

  1. User calls /register and the bot replies with "Pls create an EOA at safe.ubq.fi"
  2. User creates a new EOA at safe.ubq.fi
  3. User calls /wallet to register his address in our DB (additional step)

We should support the following flow:

  1. User calls /register and the bot replies with "Pls create an EOA at safe.ubq.fi"
  2. User creates a new EOA at safe.ubq.fi and safe.ubq.fi's backend saves user's address to a DB

Ideally for a DB we should use a partner's json storage (i.e. his ubiquibot-config repository) but if ubiquity-os/plugin-template#2 is not implemented at the time somebody starts this issue then we can simply use our supabase instance and leave "json storage" for the next feature iteration.

Original comment.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions