Imports github.com/btcsuite/btcutil github.com/btcsuite/btcd/btcjson github.com/btcsuite/btcd/rpcclient github.com/btcsuite/btcd/chaincfg/chainhash github.com/btcsuite/btcd/wire Standard library imports encoding/json errors fmt io/ioutil net os path/filepath regexp strings