Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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 logo url: CHANGE_MEor resize, use logo_url
    logo_url: "https://raw.githubusercontent.com/nsart/coin-logos/master/btc.png"
...
# select bitcoin network: testnet, Legacy, SegWit etc.
    network: testnet
# select rpc host
    rpchost: bitcoind
# enter rpc port
    rpcport: 18332
# enter rpc user
    rpcuser: admin
# enter rpc password
    rpcpassword: password
# enter port
    port: 18333
...