Imports github.com/btcsuite/btcd/btcec github.com/btcsuite/btcd/chaincfg github.com/btcsuite/btcd/chaincfg/chainhash github.com/btcsuite/btcd/txscript github.com/btcsuite/btcd/wire github.com/btcsuite/btcutil Standard library imports bytes crypto/aes crypto/cipher crypto/md5 crypto/rand encoding/hex encoding/json errors io io/ioutil log os