Imports github.com/btcsuite/btcd/btcec github.com/btcsuite/btcd/chaincfg github.com/btcsuite/btcutil Standard library imports crypto/sha256 fmt io/ioutil log math/big math/rand net/http os