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();