Skip to content

Branta Zero Knowledge Sendside Integration #3864

@keith-gardner

Description

@keith-gardner

Describe the feature

Using Zeus, I would like the wallet to auto-verify onchain destinations for QR codes when the business/receiver is running Branta, for zero-knowledge only.

Privacy Implications:

  • IP Address is shown to Branta server
  • No other data is seen by Branta.

QR Format

On a QR, when branta_id and branta_secret are present, query Branta Server.

bitcoin:BC1QDTZGWE39CUN8ZW8RKQ5VSZDYQJHQXNZMX59S8E?amount=0.000307&branta_id=LZ5YL4kNufQDrMp1Bp8WaWGZTNlrYLw1HFc8zKIm4tsGwYG8zHVpV6I/p15O8sktkIoVvTRGcqsPUENPYTmKpo/Yb5fkiw==&branta_secret=b271c0b1-b3c4-47d5-a723-4108bbe28f09

Example

Using Branta JS SDK, query Branta with getZKPayment, to receive a response.

If adding the SDK as a dependency is undesirable, using the raw API is straightforward as well: API

UX

(to do, render business name + image optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions