Skip to content

matter-labs/zksync-sso-contracts

ZKsync SSO ERC-7579 Contracts

A user & developer friendly modular smart account implementation on ZKsync; simplifying user authentication, session management, and transaction processing.

Aiming to be compliant with the ERC-7579 standard.

Based on the ERC-7579 reference implementation by Rhinestone.

Caution

The factory and module interfaces are not yet stable! Any contracts interfacing ModularSmartAccount will likely need to be updated in the final version. The code is currently under audit and the latest may contain security vulnerabilities.

Local Development

Requires the latest foundry.

  1. Install workspace dependencies with forge soldeer install.
  2. Build the project with forge build.
  3. Run tests with forge test.

To run the integration tests: 0. Install dependencies with pnpm install

  1. Run the local development node with pnpm anvil.
  2. In a separate terminal, run the bundler with pnpm bundler
  3. Deploy all contracts and a test account with pnpm deploy-test
  4. Run integration tests with pnpm bundler-test

About

ZKsync SSO 7579 Contracts

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5