Skip to content

Commit bdae974

Browse files
committed
docs: fix ASCII art box diagram alignment in README files
Align right-side vertical pipes to consistent column positions across all documentation files to form proper rectangular boxes.
1 parent 3b84778 commit bdae974

7 files changed

Lines changed: 149 additions & 149 deletions

File tree

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,18 @@ A **2-of-3 threshold MPC wallet SDK** designed for AI agents. Enables secure tra
1313

1414
```
1515
┌─────────────────────────────────────────────────────────────┐
16-
SDK Layer
16+
SDK Layer
1717
│ ┌──────────────┐ ┌──────────────┐ ┌──────────────┐ │
18-
│ │ TypeScript │ │ Python │ │ WASM │ │
19-
│ │ SDK │ │ SDK │ │ Bindings │ │
18+
│ │ TypeScript │ │ Python │ │ WASM │ │
19+
│ │ SDK │ │ SDK │ │ Bindings │ │
2020
│ └──────┬───────┘ └──────┬───────┘ └──────┬───────┘ │
2121
└─────────┼─────────────────┼─────────────────┼───────────────┘
2222
│ │ │
2323
┌─────────┴─────────────────┴─────────────────┴───────────────┐
24-
Rust Core
24+
Rust Core
2525
│ ┌──────────────┐ ┌──────────────┐ ┌──────────────┐ │
26-
│ │ DKLs23 MPC │ │ Policy │ │ Key Share │ │
27-
│ │ Engine │ │ Engine │ │ Storage │ │
26+
│ │ DKLs23 MPC │ │ Policy │ │ Key Share │ │
27+
│ │ Engine │ │ Engine │ │ Storage │ │
2828
│ └──────────────┘ └──────────────┘ └──────────────┘ │
2929
└─────────────────────────────────────────────────────────────┘
3030
```

contracts/README.md

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -6,41 +6,41 @@ ERC-4337 smart account contracts secured by MPC threshold signatures for AI agen
66

77
```
88
┌─────────────────────────────────────────────────────────────────────────────┐
9-
│ MPC SMART ACCOUNT SYSTEM
9+
MPC SMART ACCOUNT SYSTEM │
1010
├─────────────────────────────────────────────────────────────────────────────┤
1111
│ │
12-
│ ┌──────────────────┐ ┌──────────────────┐ ┌──────────────────┐ │
13-
│ │ AI Agent │ │ User │ │ Recovery │ │
14-
│ │ (Share 1) │ │ (Share 2) │ │ Guardian
15-
│ │ │ │ │ │ (Share 3)
16-
│ └────────┬─────────┘ └────────┬─────────┘ └────────┬─────────┘ │
17-
│ │ │ │ │
18-
│ └───────────────┬────────┴───────────────────────
19-
│ │ │
20-
│ ▼ │
21-
│ ┌──────────────────────────────┐ │
22-
│ │ MPC Threshold Signing │ │
23-
│ │ (2 of 3)
24-
│ └──────────────┬───────────────┘ │
25-
│ │ │
26-
│ ▼ │
27-
│ ┌─────────────────────────────────────────────────────────────────────
28-
│ │ MpcSmartAccount
29-
│ │ • ERC-4337 compliant
30-
│ │ • MPC signature validation
31-
│ │ • Built-in spending limits
32-
│ │ • Address whitelisting
33-
│ │ • Time restrictions
34-
│ │ • UUPS upgradeable
35-
│ └─────────────────────────────────────────────────────────────────────
12+
│ ┌──────────────────┐ ┌──────────────────┐ ┌──────────────────┐
13+
│ │ AI Agent │ │ User │ │ Recovery │
14+
│ │ (Share 1) │ │ (Share 2) │ │ Guardian
15+
│ │ │ │ │ │ (Share 3)
16+
│ └────────┬─────────┘ └────────┬─────────┘ └────────┬─────────┘
17+
│ │ │ │
18+
│ └───────────────┬────────┴────────────────────────┘
19+
│ │
20+
│ ▼
21+
│ ┌──────────────────────────────┐
22+
│ │ MPC Threshold Signing │
23+
│ │ (2 of 3)
24+
│ └──────────────┬───────────────┘
25+
│ │
26+
│ ▼
27+
│ ┌───────────────────────────────────────────────────────────────────────┐
28+
│ │ MpcSmartAccount
29+
│ │ • ERC-4337 compliant
30+
│ │ • MPC signature validation
31+
│ │ • Built-in spending limits
32+
│ │ • Address whitelisting
33+
│ │ • Time restrictions
34+
│ │ • UUPS upgradeable
35+
│ └───────────────────────────────────────────────────────────────────────┘
3636
│ │
37-
│ ┌──────────────────────────┐ ┌──────────────────────────
38-
│ │ MpcRecoveryModule │ │ MpcSpendingLimitHook
39-
│ │ • Guardian management │ │ • Per-tx limits
40-
│ │ • Time-delayed recovery │ │ • Daily/weekly limits
41-
│ │ • Key rotation support │ │ • Token-specific limits
42-
│ └──────────────────────────┘ │ • Whitelist enforcement
43-
│ └──────────────────────────
37+
│ ┌────────────────────────────┐ ┌────────────────────────────┐
38+
│ │ MpcRecoveryModule │ │ MpcSpendingLimitHook
39+
│ │ • Guardian management │ │ • Per-tx limits
40+
│ │ • Time-delayed recovery │ │ • Daily/weekly limits
41+
│ │ • Key rotation support │ │ • Token-specific limits
42+
│ └────────────────────────────┘ │ • Whitelist enforcement
43+
└────────────────────────────┘
4444
│ │
4545
└─────────────────────────────────────────────────────────────────────────────┘
4646
```

docs/README.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -155,30 +155,30 @@ print(f"Wallet address: {address}")
155155

156156
```
157157
+------------------------------------------------------------+
158-
| AI Agent |
159-
| +----------------------------------------------------+ |
160-
| | MPC Agent Wallet SDK | |
161-
| | - Key share (1 of 3) | |
162-
| | - Policy engine | |
163-
| | - Transaction builder | |
164-
| +----------------+-----------------------------------+ |
165-
+-------------------+----------------------------------------+
166-
|
167-
v
168-
+-----------------------------------------------------------+
169-
| Message Relay |
158+
| AI Agent |
159+
| +------------------------------------------------------+ |
160+
| | MPC Agent Wallet SDK | |
161+
| | - Key share (1 of 3) | |
162+
| | - Policy engine | |
163+
| | - Transaction builder | |
164+
| +------------------+-----------------------------------+ |
165+
+---------------------+--------------------------------------+
166+
|
167+
v
168+
+------------------------------------------------------------+
169+
| Message Relay |
170170
| - Session management |
171171
| - Approval flow |
172172
| - Webhook notifications |
173-
+-------------------+---------------------------------------+
174-
|
175-
+-----------+-----------+
176-
v v
177-
+---------------+ +---------------+
178-
| User Device | | Recovery |
179-
| (Key share 2) | | Guardian |
180-
| | | (Key share 3) |
181-
+---------------+ +---------------+
173+
+---------------------+--------------------------------------+
174+
|
175+
+-----------+-----------+
176+
v v
177+
+---------------+ +---------------+
178+
| User Device | | Recovery |
179+
| (Key share 2) | | Guardian |
180+
| | | (Key share 3) |
181+
+---------------+ +---------------+
182182
```
183183

184184
## Security Model

0 commit comments

Comments
 (0)