createAccount method
void Function(Transaction)
createAccount()
Create the sender's canonical account wrapper and share it. new
derives the wrapper at its deterministic address (see
deriveAccountWrapperId) and aborts if it already exists; share
publishes the shared object apps borrow against.
Implementation
void Function(Transaction) createAccount() => (tx) {
final wrapper = account_registry.new_(config: _generatedConfig)(tx);
account.share(
config: _generatedConfig,
arguments: {'self': wrapper},
)(tx);
};