Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 2 additions & 13 deletions src/pages/protocol/tip20/virtual-addresses.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ description: Understand how TIP-20 virtual addresses work, why they remove sweep

import { Cards, Card } from 'vocs'
import { MermaidDiagram } from '../../../components/MermaidDiagram'
import { StaticMermaidDiagram } from '../../../components/StaticMermaidDiagram'

# Virtual addresses for TIP-20 deposits

Expand All @@ -19,18 +18,8 @@ Without virtual addresses, per-customer deposit addresses are operationally expe

With virtual addresses, the customer-facing address is still unique, but it behaves like a routing alias. The protocol resolves it to the registered master wallet during the TIP-20 transfer itself.

<StaticMermaidDiagram chart={`flowchart LR
subgraph A[Without virtual addresses]
D1[Customer deposit address] --> B1[Separate onchain balance]
B1 --> S1[Sweep transaction]
S1 --> M1[Master wallet]
end

subgraph B[With virtual addresses]
D2[Customer virtual address] --> F2[TIP-20 forwarding]
F2 --> M2[Master wallet]
end
`} />
<img src="/images/tip20/virtual-addresses-light.png" alt="Without virtual addresses, each customer deposit address holds a separate onchain balance that must be swept to the master wallet. With virtual addresses, TIP-20 forwarding routes deposits directly to the master wallet." className="dark:hidden" />
<img src="/images/tip20/virtual-addresses-dark.png" alt="Without virtual addresses, each customer deposit address holds a separate onchain balance that must be swept to the master wallet. With virtual addresses, TIP-20 forwarding routes deposits directly to the master wallet." className="hidden dark:block" />

This means:

Expand Down
Loading