Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Account Abstraction - Spending Limits #230

Open
egeaybars123 opened this issue Jul 4, 2024 · 5 comments
Open

Feature: Account Abstraction - Spending Limits #230

egeaybars123 opened this issue Jul 4, 2024 · 5 comments
Assignees

Comments

@egeaybars123
Copy link
Contributor

I thought I could create a Cairo contract and a content about Account Abstraction on Starknet. Spending/withdrawal limits for Starknet accounts for ERC-20 tokens could be added, and the developers could learn more about how to write their own account contracts on Starknet with Starknet By Example website. Do you think it is a good idea to add this feature on Starknet By Example?

@julio4
Copy link
Contributor

julio4 commented Jul 5, 2024

Hello! There is already an account abstraction section with a simple contract account example. Adding specific examples of account abstraction is a good idea (see #191).

Could you expand a little bit on what features you have in mind regarding spending/withdrawal limits?

@egeaybars123
Copy link
Contributor Author

egeaybars123 commented Jul 5, 2024

Hello! There is already an account abstraction section with a simple contract account example. Adding specific examples of account abstraction is a good idea (see #191).

Could you expand a little bit on what features you have in mind regarding spending/withdrawal limits?

Regarding spending limits, a user will be able to set a spending limit for a token address for any amount they want. Their limit will decrease if they call the approve or transfer function on the token contract address. The limit will also reset after any timestamp they want (daily, weekly or every 12 hours).

@ScottyDavies
Copy link

Hello @egeaybars123 can you please assign this issue to me?

@egeaybars123
Copy link
Contributor Author

Hello @egeaybars123 can you please assign this issue to me?

Hey @ScottyDavies, I'm already working on it at #236.

@egeaybars123
Copy link
Contributor Author

Hey @julio4, any updates on the feedback?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants