idea404 / aa-dc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Account Abstraction Examples

This repo contains examples for account abstraction on zkSync.

Examples

MultiSig Account

This example shows how to create a multi-signature account on zkSync. The account is controlled by 2 keys, and requires both signatures to perform a transaction.

Pension Account

This example shows how to create a pension account on zkSync. The account is controlled by one key. The account also has a block-lock, which prevents any transactions from being performed until a certain block has passed.

Shared Account with Restrictions

This example shows how to create a shared account on zkSync. The account is controlled by any arbitrary number of keys - added or removed by an admin, and requires any of those signatures to perform a transaction. The account also has a permissioned set of contracts and contract methods it can call.

About

License:MIT License


Languages

Language:TypeScript 50.1%Language:Solidity 49.9%