Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Signing for Payment Zone microtransactions #3

Open
itamarro opened this issue Apr 26, 2018 · 1 comment
Open

Signing for Payment Zone microtransactions #3

itamarro opened this issue Apr 26, 2018 · 1 comment

Comments

@itamarro
Copy link
Contributor

Since there's one bitcoin wallet for the Payment Zone, users all send their BTC to the same address (otherwise doing the settlement transactions would become costly).

Also, the CosmicBridge wallet doesn't integrate with Bitcoin directly - the user performs the payment via some other, standard bitcoin wallet.

This means the CosmicBridge wallet needs to know a user is actually the owner of a specific Bitcoin address like the user claims (otherwise the user could feed in any address and claim they're the owners of it). One easy way to do this is have the user sign a message one time via the private key. We can think of other ways too.

@lidarwin
Copy link

lidarwin commented May 9, 2018

Changing the name because the method of using CosmicBridge/wallet (chrome extension) to sign a microtransaction is the best way.

To initiate a PZ Microtransaction, we must have the signature of the payer's bitcoin wallet. The functionality to sign something should be available in some form in the bcoin API.

@lidarwin lidarwin changed the title Create a way for the CosmicBridge wallet to prove ownership of a Bitcoin address Signing for Payment Zone microtransactions May 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants