ECPair constructor

ECPair(Uint8List _d, Uint8List _Q, { dynamic network, bool compressed: true })

Default constructor. If network is not provided, it will assume Bitcoin Cash mainnet

Implementation

ECPair(this._d, this._Q, {network, this.compressed = true}):
  this.network = network ?? Network.bitcoinCash();