To work with process Bitcoin transactions you need to register on Chainstack and create the necessary node for provide services. the node. You can host your own node or use a custodian.
To turn on Bitcoin PI make the following changes in the configuration file:
Code Block |
---|
# global/config.yaml ... # enabled paymentInterfaces - true paymentInterfaces: enabled: true ... # select currency name bitcoin: # select currency id and turn on it id: "BITCOIN-PI" enabled: true ... # To change the Bitcoin url: CHANGE_ME ... |
...
logo or resize, use logo_url logo_url: |
...
Code Block |
---|
# global/config.yaml "https://raw.githubusercontent.com/nsart/coin-logos/master/btc.png" ... paymentInterfaces: # select bitcoin network: testnet, Legacy, SegWit etc. enabled: true ...network: testnet # select rpc host bitcoin:rpchost: bitcoind # enter rpc port id: "BITCOIN-PI"rpcport: 18332 # enter rpc user enabledrpcuser: true ... admin # enter rpc password logo_url: "https://raw.githubusercontent.com/nsart/coin-logos/master/btc.png"rpcpassword: password # enter port port: 18333 ... |