Skip to content

Address resolution: Sender 'pubkey' OR 'senderHandle' #9

@wildnothing

Description

@wildnothing

The identity of a sender should be able to be proven via a paymail OR their public key.
Otherwise we are enforcing that a sender MUST have a paymail handle, which may not always be the case.

https://www.moneybutton.com/api/v1/bsvalias/address/[email protected]

For example, this returns a successful response:

{
    "senderHandle" : "[email protected]",
    "amount" : 1000,
    "dt" : "2021-02-27T17::30+0000",
    "purpose" : "blah",
    "signature" : "HwbaE0o8eYPNsTt3T7LmggruS0UwS/2WYiXHpsu6VmTIOXoohm4MR+YN4Hb/mSKP2hw30DTVMc4tsmK13dy/4/I="
}

However, this does not:

{
    "amount" : 1000,
    "dt" : "2021-02-27T17::30+0000",
    "purpose" : "blah",
    "pubkey" : "02150c35fe106a25311243c0c9c9189de0b21955f69dc14e8bf401f4399a8ae905",
    "signature" : "HwbaE0o8eYPNsTt3T7LmggruS0UwS/2WYiXHpsu6VmTIOXoohm4MR+YN4Hb/mSKP2hw30DTVMc4tsmK13dy/4/I="
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions