registerAccount method
void
registerAccount({})
override
Register accounts for a given namespace or chainId. Used to construct the Namespaces map for the session proposal. Each account must follow the namespace:chainId:address format or this will throw an error.
Implementation
@override
void registerAccount({
required String chainId,
required String accountAddress,
}) {
try {
return engine.registerAccount(
chainId: chainId,
accountAddress: accountAddress,
);
} catch (e) {
rethrow;
}
}