Create 2-of-3 Wallet
Minimal Flutter flow to create a 2-of-3 wallet group.
Example
import 'package:blockchain_kit_sdk_flutter_plugin/blockchain_kit_sdk_flutter_plugin.dart';
final sdk = BlockchainKitSdk();
final result = await sdk.create2of3Wallet('My 2of3 Wallet');
result.fold(
(thresholdGroup) {
print('Created 2-of-3 wallet group: ${thresholdGroup.groupId}');
},
(error) {
print('Create 2-of-3 wallet failed: ${error.message}');
},
);
Notes
- Keep
groupIdas your primary wallet identifier. - 2-of-3 flows typically require additional transport and coordinator setup in full production integration.