BitcoinJ Request Specific Amount

69 Views Asked by At

I'm a java developer implementing bitcoinj in an app that I'm currently working on. However, I could not find an option to specify the amount when creating a receive address. Is it possible, and if possible, how can I do it.

1

There are 1 best solutions below

0
java4tech On

Have a look at BIP21 and then use can create QR code or a URI. Both sender and receiver needs to be BIP 21 comparable.

And in bitcoinj you can find BitcoinURI.java