Imports github.com/roasbeef/btcutil github.com/roasbeef/btcd/btcec github.com/btcsuite/fastsha256 github.com/roasbeef/btcd/chaincfg github.com/codahale/chacha20poly1305 Standard library imports crypto/hmac crypto/cipher bytes encoding/binary encoding/hex fmt io net strings time