Luka Isailovic pfp
Luka Isailovic
@lukaisailovic.eth
Smart Sessions🧠 - DCA Demo I requested permissions dapp side in order to set up DCA strategy, and then disconnected from the dapp. With the permissions, the dapp continued to execute the strategy in the background, without any further action from me! This is how it works👇
2 replies
15 recasts
59 reactions

Luka Isailovic pfp
Luka Isailovic
@lukaisailovic.eth
Smart sessions allow users to delegate access to their account to the dapp, scoped by a certain set of permissions. In practice, this means that you can set up something similar to: "I allow you to spend up to 100 USDC from my account once a week." or: "I give you permission to swap USDC to ETH every day, with a maximum of 1 ETH per transaction." Some other use cases are: - Subscriptions - Gaming - AI Agents and so much more!
1 reply
0 recast
1 reaction

Luka Isailovic pfp
Luka Isailovic
@lukaisailovic.eth
Everything is based on the ERC-7715 standard, which specifies a new wallet_grantPermissions RPC call. Using the RPC, a dapp can request certain permissions and also specify a key to be used for signing userOps down the line. After the response from wallet_grantPermissions, the user can safely disconnect from the dapp. The dapp will, usually from the server, use the response (permissions context) as well as the key it specified in the request to consume the permissions with the help of the Wallet Service
1 reply
0 recast
1 reaction

Luka Isailovic pfp
Luka Isailovic
@lukaisailovic.eth
Finally, @reown AppKit SDK abstracts all this complexity from the dapp developers and offers a simple interface to build and consume permissions with Smart Sessions! In the demo, I showed how it works with AppKit Embedded Wallet however, this is compatible with any wallet that supports ERC-7715. The feature is available on testnet networks, so you can start building with it already, and pretty soon it’s going to be available across all mainnet networks as well!
0 reply
0 recast
1 reaction