Stellar Playbook

website·Indexed 29 days ago

https://stellarplaybook.com/

A comprehensive guide for developers building on the Stellar Network. It provides technical documentation and directories for creating Classic and Smart wallets, implementing key management with passkeys, integrating on-off ramps via SEP-24 and SEP-6, and deploying DeFi solutions including yield-bearing assets, AMMs, and the Stellar Disbursement Platform (SDP).

Tokens
14.5K
Snippets
31
Records
159
Agent score
49%

What's inside Stellar Playbook

  1. Overview of the Stellar Wallet Playbook

    The Stellar Wallet Playbook is a guide for developers and wallet builders to create secure and user-friendly digital finance applications on the Stellar network. It provides guidance on bridging onchain and offchain finance, utilizing Stellar's network of on/off-ramps, Real World Assets (RWAs), yield-bearing products, and native DeFi protocols. Key design decisions covered in the playbook include choosing between Classic and Smart Wallets and determining necessary integrations for scaling to millions of users.
  2. Overview of Bridge Protocols for Stellar

    Bridges are protocols that enable the transfer of assets between different blockchain networks. In the context of Stellar, these solutions connect the Stellar network to other blockchain ecosystems, allowing users to move their assets across chains.
  3. Overview of Stellar Ramps for Wallet Integration

    Stellar Ramps is a suite of open standards designed for wallets and applications to connect with a global network of on- and off-ramps provided by Stellar anchors (institutions and fintechs bridging Stellar to traditional payment rails). Implementing these standards allows users to exchange local fiat for digital assets (and vice versa) directly within a wallet for on-chain storage, transmission, or usage.
  4. Overview of Blend Protocol for Wallet Integration

    Blend is a multi-asset lending and borrowing protocol on the Stellar smart contract platform. It allows users to supply assets as collateral, borrow against that collateral, and earn rewards via an emissions system. Wallet providers can integrate Blend to offer yield-generating opportunities directly within their wallet environment.
  5. Overview of DeFindex Yield Aggregation Protocol

    DeFindex is a vault and yield aggregation protocol built on Stellar/Soroban designed to simplify DeFi access for wallets and users. It enables the creation of tokenized vaults that automatically distribute funds across multiple yield-generating strategies (such as Blend lending protocols and liquidity pools). Vault managers can rebalance positions and optimize returns without requiring additional user signatures, allowing asset managers or wallets to offer yield-generating accounts without building deep in-house DeFi expertise.
  6. Utilize AMMs and DEX Aggregators on Stellar

    Automated Market Makers (AMMs) enable decentralized trading and liquidity provision on Stellar. Soroswap is a notable AMM that provides decentralized exchange functionality and DEX aggregation, allowing users to swap tokens at the best available rates across multiple liquidity sources.
  7. Use XycLoans for decentralized flash loans

    XycLoans is a flash-loans-only protocol on Soroban. It uses token-specific liquidity pools where borrowers can take flash loans and lenders can provide liquidity to earn yields without the risk of liquidity loss.
  8. Understand Classic Wallets on Stellar

    Classic Wallets use Stellar's traditional account model and rely on features native to the Stellar protocol without using Soroban smart contracts. They are backed by Classic Stellar Accounts (addresses starting with 'G...') and use Ed25519 public/private keypairs for transaction signing. Account data (subentries) is stored directly within Stellar Core.

    Key capabilities include:

    • Sending and receiving XLM and issued assets
    • Trustline management
    • Signer management (adding/removing signers)
    • Trading via the Stellar Decentralized Exchange (DEX)
    • Account or trustline sponsorship
    • Data storage via the ManageData operation

    Ideal for lightweight mobile/web wallets, high-throughput/low-fee applications, and apps without complex on-chain logic requirements.

  9. Implement a Custodial Wallet architecture

    In a custodial wallet model, the service provider controls the user's private keys and manages accounts on their behalf. This architecture is typically used by exchanges or services requiring full control over the user experience. Key characteristics include using a central ledger (database or omnibus account model) to track users and having the backend sign transactions on behalf of the user.

    Advantages:

    • Simplified UX (users don't manage keys).
    • Easier account recovery and support.
    • Better enforcement of compliance and transaction logic.

    Trade-offs:

    • High security and compliance responsibility.
    • Creates a central point of failure.
    • May require regulatory licenses (KYC, custody licenses).