Imports github.com/btcsuite/btcd/chaincfg/chainhash Standard library imports crypto/rand crypto/sha256 encoding/binary errors fmt io/ioutil math/bits net net/http