Bitcoin Catnet
info
Gunakan Ubuntu 22.04
Source
Install Bitcoin
- Download
wget https://github.com/bitcoin-inquisition/bitcoin/releases/download/v27.0-inq/bitcoin-27.0-inq-x86_64-linux-gnu.tar.gz
- Extract
tar -xzf bitcoin-27.0-inq-x86_64-linux-gnu.tar.gz; rm bitcoin-27.0-inq-x86_64-linux-gnu.tar.gz
cd bitcoin-27.0-inq/bin
- Copy
cp bitcoin-cli bitcoind /usr/local/bin
- Tes command
bitcoin-cli -h
Buat Directory baru
cd $HOME
mkdir -p ~/.bitcoin/catnet
Buat file config
nano ~/.bitcoin/catnet/bitcoin.conf
- Isi dengan ini
# General settings
signet=1
txindex=1
server=1
daemon=1
deprecatedrpc=create_bdb
# Signet settings
[signet]
# Custom signet challenge
signetchallenge=5121027be9dab7dfc2d1b9aac03f883b9a229fc9c298770dec626b2acbf39e9b6e0e0c51ae
# Add the seed node
addnode=catnet.btcwild.life
# RPC settings
rpcbind=127.0.0.1
rpcallowip=127.0.0.0/8
rpcport=38332
rpcuser=bebasapapun
rpcpassword=bebasapapun
- Ganti bagian
rpcuser
danrpcpassword
. - Save
Buka port p2p
ufw allow ssh; ufw allow 38333; ufw enable
Jalankan bitcoind
bitcoind -datadir=$HOME/.bitcoin/catnet
Cek koneksi
bitcoin-cli -rpcport=38332 -rpcuser=userMu -rpcpassword=passwordMu getpeerinfo
Ganti bagian rpcuser
dan rpcpassword
sesuai pas bikin tadi
Generate wallet
bitcoin-cli -rpcport=38332 -rpcuser=userMu -rpcpassword=passwordMu -named createwallet wallet_name="wallet" descriptors=false
Generate address baru
bitcoin-cli -rpcport=38332 -rpcuser=userMu -rpcpassword=passwordMu getnewaddress
Ambil faucet
Cek Balance
bitcoin-cli -rpcport=38332 -rpcuser=userMu -rpcpassword=passwordMu getbalances
Send BTC
- Buat adress baru lagi pake cara: Generate address baru
- Copy address, send menggunakan command
bitcoin-cli -rpcport=38332 -rpcuser=userMu -rpcpassword=passwordMu -named sendtoaddress address="tb1qpv4vt55cgwr5rq8v97zwva3dwchvq733txxl9r" amount=0.001 fee_rate=2
ganti bagian address
amount
dan fee_rates
sesuka hati