WalletImpl constructor
WalletImpl({
- required BlockchainAdapter blockchainAdapter,
- required ShelleyAddress stakeAddress,
- required Bip32KeyPair addressKeyPair,
- required String walletName,
- required HdWallet hdWallet,
- int accountIndex = defaultAddressIndex,
- CoinSelectionAlgorithm coinSelectionFunction = largestFirst,
Normaly WalletFactory is used to build a wallet and call this method.
Implementation
WalletImpl({
required BlockchainAdapter blockchainAdapter,
required ShelleyAddress stakeAddress,
required this.addressKeyPair,
required String walletName,
required this.hdWallet,
this.accountIndex = defaultAddressIndex,
this.coinSelectionFunction = largestFirst,
}) : super(
blockchainAdapter: blockchainAdapter,
stakeAddress: stakeAddress,
walletName: walletName);