Skip to content

Commit ce7eebd

Browse files
author
tilo-14
committed
Replace ASCII account lifecycle diagram with light/dark images
1 parent a1d7c01 commit ce7eebd

3 files changed

Lines changed: 10 additions & 18 deletions

File tree

images/account-lifecycle-dark.png

128 KB
Loading

images/account-lifecycle.png

165 KB
Loading

snippets/rent-sponsorship-explained.mdx

Lines changed: 10 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,13 @@ Accounts get auto-compressed (cold balance) when the virtual rent balance goes b
1212
The cold account's state is cryptographically preserved on the Solana ledger.
1313
Users only interact with hot accounts and load the cold balance in-flight when using the account again.
1414

15-
```text
16-
Rent sponsor PDA Fee payer bumps
17-
pays rent-exemption virtual rent on write
18-
│ │
19-
▼ │
20-
┌─────────┐ ┌────┴────┐
21-
│ CREATE │ ──────────────────►│ HOT │◄───┐
22-
└─────────┘ └────┬────┘ │
23-
│ │
24-
no writes for │ client loads
25-
threshold │ cold → hot
26-
(e.g. 24h) │ under the hood;
27-
│ │ rent sponsor
28-
▼ │ funds rent again
29-
┌─────────┐ │
30-
│ COLD │────┘
31-
└─────────┘
32-
```
15+
<div className="block dark:hidden">
16+
<Frame>
17+
![Account lifecycle](/images/account-lifecycle.png)
18+
</Frame>
19+
</div>
20+
<div className="hidden dark:block">
21+
<Frame>
22+
![Account lifecycle](/images/account-lifecycle-dark.png)
23+
</Frame>
24+
</div>

0 commit comments

Comments
 (0)