Open holic opened 4 months ago
Some additional reminders for myself:
config.appInfo
to config.app
for alignment with upcoming app metadata config.gasPerAction
and config.calldataPerAction
in favor of gas tank gauge analogyclient
?chains
should use our own type to include icon URL, bundler URL, etc.usePreparedAppAccountClient
exported from coreuseAccountModal
) should be constructed as part of initializing account kit, not during import timeSyncStore
to avoid undefined
sprinkled everywhereresolveJsonModule
and strong types when importing ABI from .json.d.ts
files
We've been prototyping a complete wallet integration and user onboarding flow in https://github.com/latticexyz/mud/pull/2623
This issue will capture what we have left for a v1 and replaces some previous issues.
This new library/package will be wired up in the same way you might wire up RainbowKit or ConnectKit, where it sits within a Wagmi provider and leans on the Wagmi config for defaults. It will expose an
appAccountClient
that is populated once a user has fully onboarded (wallet connected, app account funded and registered into the world).Unstable_CallWithSignatureModule
audited