How do I build a webwallet soultion for BTC to allow subscribed users deposit their funds, allow to withdraw whenever required by the user?
I am new to bitcoin development. I am going through documentation and researching to build below in the webwallet solution
- Create a HD Wallet which can assign addresses to subscribed users.
- BackUp / Restore HD wallet on a different machine for managing any risks.
- Allow user to withdraw funds as needed by processing a Withdrawal transaction if the user is sufficient funds in his account.
Top Answer/Comment:
You can use Bitcoin Core JSON-RPC API with any language that is used for web development. There are two ways to do this:
Libraries
There are few libraries that will help you develop web applications for Bitcoin. Example: The best JavaScript libraries supporting Bitcoin Core?
OR
Experiment with Bitcoin Core RPC related to wallets on testnet. Once you understand how things work, run bitcoind with below bitcoin.conf:
testnet=1
server=1
test.rpcport=PORT
rpcuser=USERNAME
rpcpassword=PASSWORD
Run Postman (There is also Postwoman but I have not tried it)
Create a request with URL: https://127.0.0.1:RPC_PORT/
Select 'basic auth' and enter RPC credentials
Body(raw):
{"jsonrpc": "1.0", "id": "curltest", "method": "createwallet", "params": ["DW1",false,false,"",true,true]}
This will create a descriptor wallet with name 'DW' if you send the request. For using it in your web application, you can click on </> code symbol and copy the code for one of the languages:

Few things related to security: https://github.com/bitcoin/bitcoin/blob/master/doc/JSON-RPC-interface.md
There can be more ways or better ways to achieve the same. I am not a web developer. Just trying to help.
상단 광고의 [X] 버튼을 누르면 내용이 보입니다