libbitcoin/libbitcoin-explorer

change from default for mainnet to testnet

tobben1998 opened this issue · 1 comments

Can anyone help with changing default settings from mainnet to testnet, so I do not always have to use -c testnet.cfg on every thing I do?

Edit libbitcoin-explorer/data/bx.cfg and update all of the settings that show the proper defaults for testnet (see bx.cfg for reference) and save that file to /some/path/bx.cfg. After that, export BX_CONFIG=/some/path/bx.cfg (or set the env var appropriately for your shell) and then use bx as normal.