interledger / web-monetization-extension

An open-source browser extension that enables Web Monetization.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add route for connecting a wallet

raducristianpopa opened this issue · comments

Context

Todos

  • It should receive (from "Connect your wallet" form):
    • wallet address URL
    • amount
    • amount type
  • Flow:
    • validate request body
    • fetch wallet address information
      • if the wallet address is not valid throw an error
    • request a grant for quotes and outgoing payments
    • it should return:
      • interact redirect URL
      • continue URI
      • continue token

Keys are now generated when the extension is installed. The users will need to upload the public key in the wallet provider UI.