Files
Dena/docs/zagros/blockchain/set-up-bitcoin.md
2026-08-13 19:50:53 +03:30

1.9 KiB

Blockchain : Bitcoin

how setup node

First, install bitcoind (Daemon for connecting main Bitcoin Blockchain), follow below guide sites:

so run daemon and must be uptodate and contains all of blocks
** Start bitcoind as daemon**
bitcoind --daemon

then create wallet or if created before, must load them:

for loading wallet

first ssh on btc server , then:
bitcoin-cli loadwallet btc-hot
bitcoin-cli -testnet loadwallet btc-dep

for create walelt

bitcoin-cli -testnet createwallet btc-fee
bitcoin-cli createwallet btc-dep

btc-dep or btc-hot is optional name

So, create new address by each wallet and keep them for next step (create wallet in panel)

  • bitcoin-cli -testnet -rpcwallet=btc-fee getnewaddress
  • bitcoin-cli -rpcwallet=btc-dep getnewaddress
  • bitcoin-cli -testnet -rpcwallet=btc-fee getnewaddress

Now create relative blockchain, currency and wallet record in the panel

follow this guide site

example for blockchain server field:

example for wallet uri field:

18332, 8332 these are ports that daemon listen on it, and the Peatio talks to it with jsonrpc.
ports, user and password can be set in this file : bitcoin.conf

  • regtest ports are 18443, 18444
  • testnet ports are 18332, 18333
  • mainnet ports are 8332, 8333