Every [ ARKIV ] quickstart today shows privateKeyToAccount pulling a raw key from .env. That is not the production path for agents, dApps, or any builder moving past prototype — yet there is no worked example showing the smart-wallet pattern. The SDK already accepts any viem-compatible account, so the capability exists; it is just invisible.
What: Add a recipes/smart-wallets/ page with one fully worked, end-to-end example covering:
- Connecting a smart-wallet account to the [ ARKIV ] SDK
- Creating a session key scoped to an [ ARKIV ] operation
- Creating and mutating an entity using that session key
- Handling entity expiration correctly (expiration is scheduled at write time, not enforced by teardown)
How:
Open decision — wallet partner choice:
The recipe needs one canonical example. Three candidates:
| Partner |
Notes |
| Safe |
Broadest ecosystem recognition; session-key support via Safe{Core} AA SDK; more setup steps |
| Privy |
Lowest onboarding friction for builders new to AA; embedded-wallet story maps well to agent use cases |
| Coinbase Smart Wallet |
Strong Base/Ethereum alignment; simple viem adapter; narrower audience |
Input needed from whoever owns wallet partnerships before work begins.
Every [ ARKIV ] quickstart today shows
privateKeyToAccountpulling a raw key from.env. That is not the production path for agents, dApps, or any builder moving past prototype — yet there is no worked example showing the smart-wallet pattern. The SDK already accepts any viem-compatible account, so the capability exists; it is just invisible.What: Add a
recipes/smart-wallets/page with one fully worked, end-to-end example covering:How:
privateKeyToAccountis introducedOpen decision — wallet partner choice:
The recipe needs one canonical example. Three candidates:
Input needed from whoever owns wallet partnerships before work begins.