Install Rainbow Node di Linux/Ubuntu
#Buat Wallet/install wizz wallet
https://testnet.rainbowprotocol.xyz/connect
#Pindahkan network/rpc ke TESTNET4
https://docs.wizz.cash/wizz-wallet/faq/advanced
#Update paket
sudo su
apt update
#Install curl, tmux dan git
apt install -y curl git tmux
#Install docker (jika blm install)
apt install docker.io y
#Install docker-compose (jika blm install)
apt install docker-compose -y
#Buat folder data
mkdir -p /root/project/run_btc_testnet4/data
#Download btc_testnet4 dan install
git clone https://github.com/rainbowprotocol-xyz/btc_testnet4
cd btc_testnet4
docker-compose up -d
#Buat Wallet (ubah namawallet)
docker exec -it bitcoind /bin/bash
bitcoin-cli -testnet4 -rpcuser=demo -rpcpassword=demo -rpcport=5000 createwallet namawallet
bitcoin-cli -testnet4 -rpcuser=demo -rpcpassword=demo -rpcport=5000 getnewaddress
#Exit (simpan wallet)
exit
#Download repo rbo
git clone https://github.com/rainbowprotocol-xyz/rbo_indexer_testnet.git && cd rbo_indexer_testnet
wget https://github.com/rainbowprotocol-xyz/rbo_indexer_testnet/releases/download/v0.0.1-alpha/rbo_worker
chmod +x rbo_worker
#Buat session baru tmux atau screen
tmux new -s rainbow
#Connect Bitcoin Core dan Run indexer
./rbo_worker worker --rpc http://127.0.0.1:5000 --password demo --username demo --start_height 42000
#Keluar dari tmux
Ctrl B, lepas semua lalu tekan D
#Simpan principal/komitmen (harus di simpan yaa)
cat ./identity/principal.json
#Simpan privatekey
cat ./identity/private_key.pem
#register (paste principal dan klik submit)
https://testnet.rainbowprotocol.xyz/explorer
#DONE
0 komentar:
Posting Komentar