Skip to content

Instantly share code, notes, and snippets.

@notmandatory
Last active February 10, 2023 17:47
Show Gist options
  • Save notmandatory/9333655baad450c9d614a01a99e9c752 to your computer and use it in GitHub Desktop.
Save notmandatory/9333655baad450c9d614a01a99e9c752 to your computer and use it in GitHub Desktop.
signet setup
# install bitcoind via your favorite method
# start signet bitcoind
mkdir -p /tmp/signet1/bitcoind
bitcoind -datadir=/tmp/signet1/bitcoind -signet -server -fallbackfee=0.0002 -rpcallowip=0.0.0.0/0 -rpcbind=0.0.0.0 -blockfilterindex=1 -peerblockfilters=1 -daemon
# cookie file location: /tmp/signet1/bitcoind/signet/.cookie
# get blockchain info
bitcoin-cli -datadir=/tmp/signet1/bitcoind -signet getblockchaininfo
# create signet bitcoind wallet
bitcoin-cli -datadir=/tmp/signet1/bitcoind -signet createwallet "signet1"
# get new address
bitcoin-cli -datadir=/tmp/signet1/bitcoind -signet getnewaddress
# watch debug log to see progress of sync
tail -f /tmp/signet1/bitcoind/signet/debug.log
#cntl-c to exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment