-
Notifications
You must be signed in to change notification settings - Fork 146
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
docs: add session key docs #1357
base: main
Are you sure you want to change the base?
Conversation
* docs: add ma v2 page * Update site/pages/smart-contracts/modular-account-v2/getting-started.mdx Co-authored-by: avarobinson <[email protected]> * Update site/pages/smart-contracts/modular-account-v2/getting-started.mdx Co-authored-by: avarobinson <[email protected]> * Update site/pages/smart-contracts/modular-account-v2/getting-started.mdx Co-authored-by: avarobinson <[email protected]> * Update site/pages/smart-contracts/modular-account-v2/getting-started.mdx Co-authored-by: avarobinson <[email protected]> * Update site/pages/smart-contracts/modular-account-v2/getting-started.mdx Co-authored-by: avarobinson <[email protected]> * fix: review fixes * chore: remove comment to standardize * Update site/pages/smart-contracts/modular-account-v2/getting-started.mdx Co-authored-by: avarobinson <[email protected]> * fix: imports in example * fix: lint * Update site/pages/smart-contracts/modular-account-v2/getting-started.mdx Co-authored-by: avarobinson <[email protected]> * Update site/pages/smart-contracts/modular-account/getting-started.mdx Co-authored-by: avarobinson <[email protected]> * chore: make it consistent --------- Co-authored-by: avarobinson <[email protected]>
* feat: add Choosing a Smart Account page * chore: lint * feat: benchmarks * feat: add mav2 overview * docs: update table to display diff from MAv2 as a percentage increase * docs: adding in feature table and other account details * docs: updating copy * docs: updating multisig * chore: cleanup gas benchmarks, remove runtime column * docs: clarify safe 4337 module * docs: remove sidebar link * docs: remove repeated table, add details * docs: mention ERC-4337 * docs: link audits, clarify legacy contracts * docs: rename legacy to other * docs: specify MAv2 breaking the sub-100k gas barrier * chore: format --------- Co-authored-by: Ava Robinson <[email protected]>
* docs: add ma v2 page * Update site/pages/smart-contracts/modular-account-v2/getting-started.mdx Co-authored-by: avarobinson <[email protected]> * Update site/pages/smart-contracts/modular-account-v2/getting-started.mdx Co-authored-by: avarobinson <[email protected]> * Update site/pages/smart-contracts/modular-account-v2/getting-started.mdx Co-authored-by: avarobinson <[email protected]> * Update site/pages/smart-contracts/modular-account-v2/getting-started.mdx Co-authored-by: avarobinson <[email protected]> * Update site/pages/smart-contracts/modular-account-v2/getting-started.mdx Co-authored-by: avarobinson <[email protected]> * fix: review fixes * chore: remove comment to standardize * Update site/pages/smart-contracts/modular-account-v2/getting-started.mdx Co-authored-by: avarobinson <[email protected]> * fix: imports in example * fix: lint * Update site/pages/smart-contracts/modular-account-v2/getting-started.mdx Co-authored-by: avarobinson <[email protected]> * Update site/pages/smart-contracts/modular-account/getting-started.mdx Co-authored-by: avarobinson <[email protected]> * chore: make it consistent * docs: restructure smart accounts layout * fix: pr review * Update site/pages/concepts/intro-to-account-kit.mdx Co-authored-by: avarobinson <[email protected]> * Update site/pages/resources/terms.mdx Co-authored-by: avarobinson <[email protected]> * Update site/pages/resources/terms.mdx Co-authored-by: avarobinson <[email protected]> * Update site/pages/resources/terms.mdx Co-authored-by: avarobinson <[email protected]> * Update site/pages/smart-contracts/choosing-a-smart-account.mdx Co-authored-by: avarobinson <[email protected]> * Update site/pages/smart-contracts/install-plugins.mdx Co-authored-by: avarobinson <[email protected]> * Update site/sidebar/smart-contracts.ts Co-authored-by: avarobinson <[email protected]> * fix: broken linksg --------- Co-authored-by: avarobinson <[email protected]> Co-authored-by: Ava Robinson <[email protected]>
…s to use mav2 (#1343) * docs: fixes typo * docs: updating guide to clean up account types and sidebar; * docs: cleaning up configs and advanced table * docs: fixing copy * docs: updating type param to be optional * docs: adds missing parameter definitions and fixes typos * docs: adds wording modifications * docs: fixing merge conflict --------- Co-authored-by: Ava Robinson <[email protected]>
* docs: add ma v2 page * Update site/pages/smart-contracts/modular-account-v2/getting-started.mdx Co-authored-by: avarobinson <[email protected]> * Update site/pages/smart-contracts/modular-account-v2/getting-started.mdx Co-authored-by: avarobinson <[email protected]> * Update site/pages/smart-contracts/modular-account-v2/getting-started.mdx Co-authored-by: avarobinson <[email protected]> * Update site/pages/smart-contracts/modular-account-v2/getting-started.mdx Co-authored-by: avarobinson <[email protected]> * Update site/pages/smart-contracts/modular-account-v2/getting-started.mdx Co-authored-by: avarobinson <[email protected]> * fix: review fixes * chore: remove comment to standardize * Update site/pages/smart-contracts/modular-account-v2/getting-started.mdx Co-authored-by: avarobinson <[email protected]> * fix: imports in example * fix: lint * Update site/pages/smart-contracts/modular-account-v2/getting-started.mdx Co-authored-by: avarobinson <[email protected]> * Update site/pages/smart-contracts/modular-account/getting-started.mdx Co-authored-by: avarobinson <[email protected]> * chore: make it consistent * docs: restructure smart accounts layout * fix: pr review * Update site/pages/concepts/intro-to-account-kit.mdx Co-authored-by: avarobinson <[email protected]> * Update site/pages/resources/terms.mdx Co-authored-by: avarobinson <[email protected]> * Update site/pages/resources/terms.mdx Co-authored-by: avarobinson <[email protected]> * Update site/pages/resources/terms.mdx Co-authored-by: avarobinson <[email protected]> * Update site/pages/smart-contracts/choosing-a-smart-account.mdx Co-authored-by: avarobinson <[email protected]> * Update site/pages/smart-contracts/install-plugins.mdx Co-authored-by: avarobinson <[email protected]> * Update site/sidebar/smart-contracts.ts Co-authored-by: avarobinson <[email protected]> * fix: broken linksg * docs: re-arranging sidebar for new account layout and updating references * chore: readd lost commit from ava --------- Co-authored-by: howydev <[email protected]>
* docs: adds 7702 react page * docs: adds note about gas sponsorship * docs: add note about getting access to testnet * docs: adding 7702 details * docs: modifies copy * docs: adds ERC-4337 account benefits * docs: fixing link --------- Co-authored-by: Ava Robinson <[email protected]>
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
fbf6c32
to
60266c4
Compare
0bf455a
to
7739fee
Compare
|
||
### Automate actions | ||
|
||
With the ability to delegate specific permissions to session keys, users can automate actions within predefined limits. Session keys can be used to streamline processes like recurring payments, contract interactions, or any activity that benefits from automation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you have an actual exmaple of this? Is this like executing limit orders on the backend without the users interaction?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yep, exactly!
site/pages/smart-contracts/modular-account-v2/session-keys/index.mdx
Outdated
Show resolved
Hide resolved
site/pages/smart-contracts/modular-account-v2/session-keys/index.mdx
Outdated
Show resolved
Hide resolved
site/pages/smart-contracts/modular-account-v2/session-keys/index.mdx
Outdated
Show resolved
Hide resolved
|
||
- The module must be installed with both validation and execution hooks, the validation hook track gas, whereas the execution hook tracks value | ||
- Special paymasters must be explicitly configured to count against limits (SDK WIP) | ||
- Limits can be updated dynamically after installation (SDK WIP) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove SDK WIP and either replace with unsupported or coming soon
site/pages/smart-contracts/modular-account-v2/session-keys/adding-session-keys.mdx
Outdated
Show resolved
Hide resolved
site/pages/smart-contracts/modular-account-v2/session-keys/adding-session-keys.mdx
Outdated
Show resolved
Hide resolved
site/pages/smart-contracts/modular-account-v2/session-keys/adding-session-keys.mdx
Outdated
Show resolved
Hide resolved
], | ||
}); | ||
|
||
// Adding a session key that has a 1 eth native token spend limit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wait isnt this the same as the other example?
Co-authored-by: avarobinson <[email protected]>
…ex.mdx Co-authored-by: avarobinson <[email protected]>
…ex.mdx Co-authored-by: avarobinson <[email protected]>
…ex.mdx Co-authored-by: avarobinson <[email protected]>
…ex.mdx Co-authored-by: avarobinson <[email protected]>
…ing-session-keys.mdx Co-authored-by: avarobinson <[email protected]>
…ing-session-keys.mdx Co-authored-by: avarobinson <[email protected]>
…ing-session-keys.mdx Co-authored-by: avarobinson <[email protected]>
…ing-session-keys.mdx Co-authored-by: avarobinson <[email protected]>
…ing-session-keys.mdx Co-authored-by: avarobinson <[email protected]>
…ing-session-keys.mdx Co-authored-by: avarobinson <[email protected]>
…ing-session-keys.mdx Co-authored-by: avarobinson <[email protected]>
Co-authored-by: avarobinson <[email protected]>
43e2e31
to
b67f239
Compare
Pull Request Checklist
yarn test
)site
folder, and guidelines for updating/adding docs can be found in the contribution guide)feat!: breaking change
)yarn lint:check
) and fix any issues? (yarn lint:write
)PR-Codex overview
This PR introduces new documentation for managing
Session Keys
in theModular Account V2
. It covers adding, using, and removing session keys, along with their permissions and security features.Detailed summary
Session Keys
section insidebar/smart-contracts.ts
.Session Keys
.Session Keys
.Session Keys
.Session Keys
.