@@ -5,21 +5,21 @@ description: Borrow, claim interest, and manage Blend positions entirely from st
55
66---
77
8- Blend × Wraith Integration
8+ # Blend × Wraith Integration
99
1010Blend is the main Soroban lending protocol on Stellar.
1111Wraith adds privacy through stealth addresses.
1212This guide shows you how to combine both: borrow, claim interest, and manage your
1313position without ever exposing your main wallet.
1414
15- Prerequisites
15+ ## Prerequisites
1616
17- · A Soroban-funded testnet account (use Friendbot).
18- · Some testnet XLM for fees.
19- · Lobstr (with testnet mode) or any Stellar testnet wallet.
20- · Basic familiarity with Soroban transactions.
17+ - A Soroban-funded testnet account (use Friendbot).
18+ - Some testnet XLM for fees.
19+ - Lobstr (with testnet mode) or any Stellar testnet wallet.
20+ - Basic familiarity with Soroban transactions.
2121
22- 1 . Borrow to a Stealth Address
22+ ## 1. Borrow to a Stealth Address
2323
2424Borrowing directly into a stealth address keeps your loan destination private.
2525
@@ -48,7 +48,7 @@ Borrowing directly into a stealth address keeps your loan destination private.
48484 . Withdraw from the stealth address later using the stealthPrivateKey.
4949 Wraith provides a reveal function to prove ownership and sweep funds back to a public key.
5050
51- 2 . Claim Borrow Interest into Stealth
51+ ## 2. Claim Borrow Interest into Stealth
5252
5353Blend users earn interest on supplied collateral. You can redirect interest payments
5454to a stealth address for private yield.
@@ -64,52 +64,52 @@ to a stealth address for private yield.
6464 );
6565 ```
66663 . Testnet verification:
67- · Supply some XLM/USDC to Blend.
68- · Wait for a small interest accrual (you can fast‑forward time on testnet).
69- · Claim interest to the stealth address.
70- · Use the Wraith reveal to confirm the funds arrived.
67+ - Supply some XLM/USDC to Blend.
68+ - Wait for a small interest accrual (you can fast‑forward time on testnet).
69+ - Claim interest to the stealth address.
70+ - Use the Wraith reveal to confirm the funds arrived.
7171
72- 3 . Position Management from a Stealth Address
72+ ## 3. Position Management from a Stealth Address
7373
7474You can check your borrow position’s health and repay debt without linking it to your
7575public identity.
7676
77- Viewing Position Health
77+ ### Viewing Position Health
7878
79- · Use Blend’s read‑only contract functions with your public key.
79+ - Use Blend’s read‑only contract functions with your public key.
8080 But to prove ownership from a stealth address, Wraith’s SDK can generate a
8181 zero‑knowledge proof that you control the stealth private key.
8282 ``` bash
8383 wraith prove --stealth-key < key> --contract blend --function get_position
8484 ```
8585 This returns an authorized view of your position.
8686
87- Repaying Debt
87+ ### Repaying Debt
8888
89- · You can repay directly from the stealth address by signing a transaction with the
89+ - You can repay directly from the stealth address by signing a transaction with the
9090 stealth private key. Make sure the stealth address has the required asset to repay.
9191 ``` rust
9292 // Sign with stealthPrivateKey
9393 blend_client . repay (& stealth_address , & asset , & amount );
9494 ```
9595
96- Adding Collateral
96+ ### Adding Collateral
9797
98- · Similarly, you can top up collateral from the stealth address if funds are there.
98+ - Similarly, you can top up collateral from the stealth address if funds are there.
9999
100- 4 . Liquidation Risk Callouts
100+ ## 4. Liquidation Risk Callouts
101101
102- · Stealth addresses are invisible to public block explorers.
102+ - Stealth addresses are invisible to public block explorers.
103103 If your borrow position becomes under‑collateralized, Blend’s liquidation bot
104104 cannot directly seize collateral from a stealth address.
105105 You must self‑liquidate or add collateral in time.
106- · No automatic alerts – you are responsible for monitoring your position health.
107- · Funds in a stealth address are not frozen – but if the address has no funds to
106+ - No automatic alerts – you are responsible for monitoring your position health.
107+ - Funds in a stealth address are not frozen – but if the address has no funds to
108108 cover the debt, your original collateral (in the public pool) can be lost.
109- · Always keep the stealth private key backed up – losing it means losing all
109+ - Always keep the stealth private key backed up – losing it means losing all
110110 funds held in that stealth address.
111111
112- 5 . Testnet Example
112+ ## 5. Testnet Example
113113
114114Complete walk‑through on Stellar testnet:
115115
0 commit comments