Replaced privkey with privKey for consistency with other btc packages.