You need to use Bitcoin Core JSON-RPC API with any language that’s used for net growth. There are two methods to do that:
Libraries
There are few libraries that can assist you to develop net functions for Bitcoin. Instance: The very best JavaScript libraries supporting Bitcoin Core?
OR
-
Experiment with Bitcoin Core RPC associated to wallets on testnet. When you perceive how issues work, run bitcoind with under bitcoin.conf:
testnet=1 server=1 take a look at.rpcport=PORT rpcuser=USERNAME rpcpassword=PASSWORD
-
Run Postman (There’s additionally Postwoman however I’ve not tried it)
-
Create a request with URL: https://127.0.0.1:RPC_PORT/
-
Choose ‘primary auth’ and enter RPC credentials
-
Physique(uncooked):
{"jsonrpc": "1.0", "id": "curltest", "methodology": "createwallet", "params": ["DW1",false,false,"",true,true]}
-
This may create a descriptor pockets with title ‘DW’ for those who ship the request. For utilizing it in your net software, you’ll be able to click on on
</>
code image and replica the code for one of many languages:
Few issues associated to safety: https://github.com/bitcoin/bitcoin/blob/grasp/doc/JSON-RPC-interface.md
There may be extra methods or higher methods to attain the identical. I’m not an internet developer. Simply making an attempt to assist.