WalletService class

Constructors

WalletService.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

addAccount({required SecureStore secureStore, required Wallet wallet, required String seedPhrase}) Future<(Wallet, Account)>
addWallet({required SecureStore secureStore, required String seedPhrase, String? walletId, int accountId = 0, String walletName = 'Wallet', WalletType walletType = WalletType.openZeppelin}) Future<Wallet>
computeAddress({required Felt privateKey}) Future<Felt>
deployAccount({required SecureStore secureStore, required Account account}) Future<bool>
derivePrivateKey({required String seedPhrase, required int derivationIndex}) Future<Felt>
getStarknetAccount({required SecureStore secureStore, required Account account, required String walletId}) Future<Account>
isAccountValid({required Account account}) Future<bool>
newSeedPhrase() String
newWalletId() String
storePrivateKey({required SecureStore secureStore, required String privateKey, required String accountId, required String walletId}) → dynamic
validateSeedPhrase({required String seedPhrase}) bool