Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User should able to link account by scan unfunded public QR #17

Open
6 tasks
katopz opened this issue Aug 22, 2018 · 0 comments
Open
6 tasks

User should able to link account by scan unfunded public QR #17

katopz opened this issue Aug 22, 2018 · 0 comments
Assignees
Labels
Milestone

Comments

@katopz
Copy link
Member

katopz commented Aug 22, 2018

  1. User scan unfunded public QR w.catcat.io/{account_id}.
  2. Server show redirect link with line://oaMessage/{LINE_id}/?{account_id} (more provider will show later).
  3. User get redirect to LINE app with account_id preset and click send.
  4. Bots take account_id message as Stellar public key and return balance.

Bots :

Hold on, getting account information...

Bots :

Account seem to be empty, deposit?

Recheck Deposit

User : Deposit
Bot :

Please scan private QR w.catcat.io/{pub_pri_hash}

Server :

  • Confirm with distributor account
  • Make base reserved payment (50% from paid)
  • Add CAT trust
  • pay CAT (50% from paid)

Bot :

Deposit succeeded!
XLM : 50
CAT : 50

Bot :

Do you want to link this account with LINE?

No Yes

User : (Choose Yes)

link GDLHYFGZMGFURJKGOWRE5OJZ4GX54OG5N2PQQANSBYUYRNPBDAZINCAT

Server :

  • Add account_id to users.wallets.xlm.account_id = ``

Bot :

Please scan private QR w.catcat.io/{pub_pri_hash}

User : (Scan private QR)
Server :

  • Update account_id to users.wallets.xlm.account_id = pub_pri_hash
    Bot :
Account GDLH...NCAT linked! 
XLM : 50
CAT : 50
@katopz katopz added the WALLETS label Aug 22, 2018
@katopz katopz added this to the v1 milestone Aug 23, 2018
@katopz katopz modified the milestones: v1, v2 Aug 27, 2018
@katopz katopz modified the milestones: v2, v3, v4 Sep 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants