# Blockchain : Bitcoin
## how setup node
First, install bitcoind (Daemon for connecting main Bitcoin Blockchain), follow below guide sites:
- [1 setup](https://gist.github.com/rjmacarthy/b56497a81a6497bfabb1)
- [2 setup](https://stopanddecrypt.medium.com/a-complete-beginners-guide-to-installing-a-bitcoin-full-node-on-linux-2021-edition-46bf20fbe8ff)
- [3 setup](https://www.devmanuals.net/install/ubuntu/ubuntu-12-04-lts-precise-pangolin/install-bitcoind.html)
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](https://medium.com/openware/how-to-configure-blockchain-node-in-the-tower-opendax-5e75e3264e18)
example for blockchain server field:
- http://rpcuser:rpcpass@46.209.13.2:18332
- http://rpcuser:rpcpass@192.168.15.100:8332
example for wallet uri field:
- http://rpcuser:rpcpass@185.194.78.52:#{port}/wallet/#{wallet_name}
- http://user1:changeme@46.209.13.2:18332/wallet/btc-dep
`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