Skip to content

Add expiry param support #6

@yashasvi-ranawat

Description

@yashasvi-ranawat

Should the URI support parameters for OP_RETURN and expiry of the payment request?

Pro:

  1. Invoicing becomes easier with invoicing reference numbers passed as OP_RETURN.
  2. No direct online interaction is needed between payer and payee; supports privacy.
  3. With expiry information in the payment request, the indirect way of interacting becomes safer.

Example:

bitcoincash:<address>?s=1234&opr=0b696e766f69636520353436&e=1686573082&m=electricity%20bill

Here, the payer needs to send a tx with an OP_RETURN output of locking byte: 6a0b696e766f69636520353436, an output sending 1234 sats to bitcoincash:<address>, by 1686573082 unix time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions