0

i am trying to convert the

URI into BIP21

currently i am generating URI from bitcoinj library, but i want it to be on BIP21 Standard. i have read many articles but didn't found any solution

13
  • Do you have an example of an URI generated by bitcoinj lib?
    – Chak
    Dec 19, 2017 at 19:27
  • yes here: "mqe8V3Vrp77JKYG2tfnQ6P8wpN4YVZ84V2"
    – Zombie
    Dec 19, 2017 at 21:55
  • Have you tried convertToBitcoinURI(String address, Coin amount, String label, String message) or convertToBitcoinURI(Address address, Coin amount, String label, String message) ? or github.com/bitcoinjs/bip21
    – Chak
    Dec 19, 2017 at 22:01
  • no i didn't try this...
    – Zombie
    Dec 19, 2017 at 22:10
  • yes i try this but didn't work for me
    – Zombie
    Dec 20, 2017 at 11:14

1 Answer 1

0

The source file for that method is here

BIP21 wiki

Method can be accessed like this

 String bitcoinURI = BitcoinURI.convertToBitcoinURI(String address, Coin amount, String label, String message);
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.