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
30 reactions
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
@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