Hi,
currently online payment is quite inconveniently. Usually you have to copy a Bitcoin-address or use some service-specific browser plug-in.
I suggest to extend the RPC-interface with a web-payment API:
- A HTML5/Javascript-based website just uses Javascript in the browser to send a transaction-request to Bitcoin-Core-QT via loopback device.
- Bitcoin-Core-QT pops into foreground, shows the transaction details and asks the user for permission and wallet password.
- User accepts transaction/enters wallet password
- Bitcoin-Core-QT sends transaction and goes into background.
That way any website could just use Javascript to check if Bitcoin-Core-QT-RPC is available and create a transaction request. If Bitcoin-Core-QT-RPC is not available, the website can show the necessary transaction details to the user for manual processing.
Any other application or program can use the web-payment-API for In-App-payment, too.
ToDo:
- Define 127.0.0.1:8332 and [::1]:8332 as web-payment API-socket
- Define web-payment RPC-requests which work without RPC-login
- Programming