Wallet

constructor(pointer: Pointer)(source)


constructor(noPointer: NoPointer)(source)

This constructor can be used to instantiate a fake object. Only used for tests. Any attempt to actually use an object constructed this way will fail as there is no connected Rust object.


constructor(descriptor: Descriptor, changeDescriptor: Descriptor, network: Network, connection: Connection)(source)

Build a new Wallet.

If you have previously created a wallet, use load instead.