This repository has been archived by the owner on Sep 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #257 from getwax/update-repo-docs
Update Repo Documentation, archive older components, CI e2e tests
- Loading branch information
Showing
99 changed files
with
194 additions
and
1,197 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,40 @@ | ||
# Wallet Account eXperiments (WAX) | ||
WAX's goal is to deliver set of production-ready components that help developers easily utilise cryptographic primitives in smart accounts | ||
|
||
We seek to achieve this with a three pronged approach: | ||
1. Showcase, via examples, the benefits of cryptographic primitives in smart accounts | ||
- including examples of novel use cases that compose smart account modules | ||
2. Develop an easy-to-use opinionated SDK that makes integrating these benefits easy for non-web3 devs | ||
3. Provide a focused dev environment for the integration of more primitives into smart accounts | ||
![WAX Logo](./waxGreenLogo.png) | ||
|
||
## Components **(diagram outdated)** | ||
The showcase dApps are comprised of application specific code (pink) that leverages the SDK (yellow). | ||
The SDK contains the off-chain companion of corresponding on-chain cryptographic primitives (grey). | ||
Existing smart accounts will be used to demonstrate integration of the primitives in 4337-compatible verification logic. | ||
Primary monorepo for the Wallet Account eXperiments (WAX) project, which focuses on integrating novel & useful cryptographic technologies into the Ethereum Account Abstraction (AA) ecosytem to improve the experience of using accounts. We build on top of [ERC-4337](https://eips.ethereum.org/EIPS/eip-4337) & related specs. | ||
|
||
**Diagram**: current explorations and proposed development | ||
# Using this monorepo | ||
Are you looking to build a plugin/module for the AA/ERC-4337 ecosystem and want examples & tooling? Check out [the plugins package](./packages/plugins/). | ||
|
||
![WAX Composition](./docs/images/wax-composition.svg) | ||
Are you interested in compressing ERC-4337 data? Start with [the compression package](./packages/compression/) | ||
|
||
- The green areas are WAX's focus. | ||
- Within the SDK there will be additions that enable projects to readily adopt novel features. | ||
- On-chain, between smart contracts and primitives, the verification data+logic will be designed to be composable. Smart accounts can then dynamically benefit from more than one primitive, and this will be developed in sync with broader smart account modularisation. | ||
## Compression | ||
[packages/compression](./packages//compression/) | ||
|
||
# Using this monorepo | ||
## packages/demos | ||
You're a web dev and want to bring the latest web3 capabilities to your product/users. | ||
Here you will not only find 'hello world' wrappers of base primitives, but also composite examples highlighting novel product features. | ||
|
||
## packages/sdk | ||
The sdk is useful for: | ||
- non-web3 builders wanting to leverage the latest smart account capabiltiies | ||
- SDK devs who also want to support interaction with the bleeding edge of smart account verification capabilities | ||
|
||
## packages/plugins | ||
You're a smart account dev and would like to integrate new primitives | ||
New verification schemes are integrated into existing open smart accounts here. | ||
This is where modularised byte verification is developed. | ||
Contracts implementing compression for ERC-4337 accounts to reduce data being posted from rollups. | ||
|
||
## Demos | ||
[packages/demos](./packages/demos/) | ||
|
||
Demos showcasing WAX components. | ||
|
||
## Deterministic Deployer | ||
[packages/deterministic-deployer](./packages/deterministic-deployer/) | ||
|
||
Deploys contracts to deterministic addresses. | ||
|
||
## Plugins | ||
[packages/plugins](./packages/plugins/) | ||
|
||
Plugins/modules for smart contracts accounts, including test scaffolding. | ||
|
||
## SDK | ||
[packages/sdk](./packages/sdk/) | ||
|
||
SDK code to help with ERC-4337 interactions. | ||
|
||
## Archive | ||
[archive](./archive/) | ||
|
||
Work & projects that are no longer actively used but could be useful as references. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Archive | ||
This directory contains work & projects that are no longer active or maintained but could be useful as references | ||
|
||
## Barebones | ||
|
||
Lightweight Smart Account framework | ||
|
||
## Images | ||
|
||
Older technical diagrams for WAX project | ||
|
||
## ZKP | ||
|
||
Circuits related to ERC-4337 accounts & a TypeScript ZKEmail relayer |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,3 @@ | ||
# Packages | ||
|
||
## Barebones | ||
|
||
Lightweight Smart Account | ||
|
||
## Compression | ||
|
||
Contracts implementing compression for ERC-4337 accounts | ||
|
||
## Demos | ||
|
||
Demos showcasing WAX components | ||
|
||
## Plugins | ||
|
||
Plugins for Smart Accounts | ||
|
||
## SDK | ||
|
||
(Prototype) SDK code to help with ERC-4337 interactions | ||
|
||
## ZKP | ||
|
||
Circuits related to ERC-4337 accounts and a typescript relayer | ||
See [top level README](../README.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,14 @@ | ||
# Demos | ||
# Demos | ||
Demos of WAX modules & functionality | ||
|
||
[Email Recovery](./email-recovery/) | ||
|
||
Demo of account recovery via email using https://github.com/zkemail/email-recovery | ||
|
||
[Fee Calculator](./fee-calculator/) | ||
|
||
Calculator to assist in determing if it is cheaper to use BLS + compression on rollups vs. a normal transaction/UserOp | ||
|
||
[In Page](./email-recovery/) | ||
|
||
Showcase of experimental modules bult by WAX team. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Determinisitic Deployer | ||
|
||
Deploys contracts to deterministic addresses | ||
|
||
Based on create2 and the deployer contract from https://github.com/Arachnid/deterministic-deployment-proxy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.