Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 537 Bytes

File metadata and controls

28 lines (18 loc) · 537 Bytes

bitcoin-scripts

Repo for my Bitcoin scripts

RPC connection

  • Configure bitcoind to allow incoming RPC connections
sudo vim /mnt/hdd/bitcoin/bitcoin.conf

Modify these two lines

rpcallowip=192.168.1.0/24
main.rpcbind=0.0.0.0:8332

Configure RPC credential in .env file

  • Allow RPC in UFW from local network
sudo ufw allow from 192.168.1.0/24 to any port 8332 proto tcp comment 'Allow Bitcoin RPC from local network' && sudo ufw reload