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

During wrap step, generate peercoin URI #10

Closed
peerchemist opened this issue Aug 20, 2021 · 8 comments
Closed

During wrap step, generate peercoin URI #10

peerchemist opened this issue Aug 20, 2021 · 8 comments
Labels
enhancement New feature or request

Comments

@peerchemist
Copy link
Member

Example of an URI:

peercoin:mjmgQXtg9ACBUq2YKL8tdmpJF6S1cWZ5Nr

@peerchemist peerchemist added the enhancement New feature or request label Aug 20, 2021
@jointhepartypooper
Copy link
Collaborator

Please explain like i am 5

what can you do with a string such as: peercoin:mjmgQXtg9ACBUq2YKL8tdmpJF6S1cWZ5Nr

@peerchemist
Copy link
Member Author

If you have properly installed peercoin-qt on your system, with mime info set all that jazz you can click on URI and it will automatically bring up the peercoin-qt/send_tab with address and amount already inputed.

@peerchemist
Copy link
Member Author

Full URI example:

peercoin:muuaf6eHen5dP2HMjttW7KNFJYjGzWaZYA?amount=10.000000&message=wrapmeister_aug_20_20%3A44

@peerchemist
Copy link
Member Author

Google hit on something which looks like it does it: https://github.com/coins/bitcoin-uri-js

@jointhepartypooper
Copy link
Collaborator

so when wrap responses with a peercoinaddress, encode it with somethin like https://github.com/bitcoinjs/bip21/blob/master/index.js and put that in the QR-code ?

@peerchemist
Copy link
Member Author

Qr code and/or uri, like a click able link.

@jointhepartypooper
Copy link
Collaborator

see commit 614edd8

@peerchemist
Copy link
Member Author

Awesome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants