You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
That would be a change in the bsvalias protocol. That's outside the scope of this library. This library is just an implementation of the protocol in javascript.
Still, I get your point. But I can answer why the standard was done in the way it was done. The idea of paymail is provide identity for users and interoperability for wallets. Doing something like directly use a pubkey to validate identity doesn't allow any of those. A public key is enough information to be identity. Keys might be stolen or lost, so they rotate. Also, with just a public key a wallet cannot perform any kind of operation. That's why inside paymail the way to reffer other people is always via a paymail.
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:
However, this does not:
The text was updated successfully, but these errors were encountered: