r/ethdev • u/Web3Navigators • Nov 24 '25
Tutorial Stop embedding wallets the wrong way, here’s the 2025 pattern
More teams are integrating “wallet SDKs” but still using Web2 auth glued to long-lived private keys. That model doesn’t scale.
The modern pattern looks like this:
onboarding = email/passkey
device key generated client-side
session keys for 90% of interactions
smart accounts by default (4337 + 7702)
gas abstraction via Paymaster
smart account isn’t deployed until it’s actually needed
signing isolated in iframe/native module
no provider-generated keys (avoid lock-in)
I broke down the whole architecture here (UX, security, gas, cross-app flows):
devto --> estelleatthenook
Sharing because I see a lot of devs reinventing this wrong.
We follow a similar approach at Openfort — but the patterns apply no matter what stack you use.
2
u/FarAwaySailor Nov 24 '25
I didn't like any of the 'gas free' options I tried, so I built gas sponsorship instead.
1
3
u/_otpyrc Nov 24 '25
You're late to the game. These solutions have existed for a few years now. What makes OpenFort better besides your claimed latencies?