Treat this as an implementation example, not a complete SDK specification or
a list of requirements for every integration.
Implemented flow
1
Connect a wallet
The user connects a Stellar wallet. The application uses the connected
public account for wallet authorization and public payment destinations.
2
Check private-address registration
The application looks up the connected account in the private-address
registry. It enables private payment actions only after the registration is
active. An unregistered user can create and register a private address.
3
Deposit funds
The user selects an asset and amount. The application moves value from the
connected public balance to the user’s private address.
4
Send a private transfer
The sender enters the recipient’s public Stellar address. The application
resolves a registered recipient to a private address. If the recipient is
not registered, it sends an escrow note through Protocol Relay. After the
recipient registers, they discover the note with blinded recipient tags and
sweep with Direct Submission.
5
Withdraw funds
The user selects private funds and a public Stellar destination. The
application checks that the destination can receive the selected asset
before submitting the withdrawal. A private sender uses Protocol Relay;
otherwise the wallet submits Direct.
6
Present the result
The application stores transaction records, refreshes balances, and shows
operation history.
Operation map
Application responsibilities
The example application owns:- wallet connection and confirmation screens;
- private-address registration status;
- asset and amount selection;
- transaction progress and error presentation;
- local state, balance refresh, and transaction history;
- escrow-note discovery (blinded recipient tags) and Direct sweep submission.
Install the Stellar preset
Add the public SDK packages used by a Stellar application.
Operation how-tos
Follow the deposit, transfer, and withdrawal examples.