session-grants

Scoped, capped, expiring, revocable automation keys for Kernel accounts, EIP-7702, Swig roles and Squads vaults.

As a git dependency

cargo add cratefield-session-grants --git https://github.com/Cratefield/harness

In the repository, not on crates.io yet.

What it is

session-grants.

On-chain session grants (issue #762): scoped, capped, expiring, revocable automation keys for ERC-4337/ERC-7579 Kernel accounts, EIP-7702 EOAs, Swig roles and Squads v4 vaults. The owner’s credential — a passkey or a sealed key — signs a grant once. After that the server can act only inside the on-chain limits the grant names: which contracts or programs, which functions, how much value or token, how often, until when. The crate holds the ports and the domain model; the enforcement is the chain’s.

From the crate’s own README.

History

Changelog.

Not released on its own: it is taken from the repository as a git dependency, and has no CHANGELOG.md yet.

One of 76 crates in the harness, all of them MIT and all of them in one repository.