-
Notifications
You must be signed in to change notification settings - Fork 170
docs: update policies and session key docs #1596
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
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
🌿 Documentation Preview
|
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.
Looks good! Just on question in the pr but not blocking.
Also, do we need to make these updates in this site and the new docs site?
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.
Looks great!
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.
Little bit more typos, but otherwise looks great!
Smart Wallet Policies are programmatic rules enforced through the offchain policy engine and/or onchain smart contract modules. They govern how a smart wallet interacts with the blockchain, from transaction execution to signer permissions. Unlike traditional embedded wallets, Alchemy Smart Wallets allow you to embed logic that restricts or automates behavior verifiably onchain. | ||
# **Key Concepts & Examples** | ||
|
||
Smart Wallet Policies are programmatic rules enforced through onchain smart contract modules and/or the offchain policiy engine. They govern how a smart wallet interacts with the blockchain, from transaction execution to signer permissions. Unlike traditional embedded wallets, Alchemy Smart Wallets allow you to embed logic that restricts or automates behavior verifiably onchain. |
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.
Typo: "policiy" -> "policy"
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.
I updated this as a commit suggestion.
|
||
- **Chain Restrictions:** Limit [transactions](/wallets/react/quickstart#2-get-your-alchemy-api-key) to only certain chains | ||
- **Multi-Factor Authentication:** Mandate [MFA](/wallets/react/mfa/setup-mfa) via an authenticator app like Authy | ||
- **Gas Sponsorship Rules:** [Define custom conditions](/wallets/react/sponsor-gas#create-a-gas-manager-policy) for gas sponsorship (e.g. sponsor up to $10 in gas, or first 10 transactions, allowlist/blocklist senders for sponsorship, custom rules, etc.). |
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.
(Nit) elsewhere in the docs we use "denylist" instead of "blocklist".
Copy changes for policies and session key docs.
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 focuses on updating documentation related to smart wallet policies, specifically enhancing the section on onchain policies using session keys, and restructuring the content for clarity and better organization.
Detailed summary
offchain-policy-configuration.mdx
.key-concepts-and-examples.mdx
.Onchain policies using session keys
.