dapp

Build Stellar/Soroban client flows for wallet connection, transaction signing, and submission.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/ceshez/VELAR --skill dapp-ceshez
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dapp
Source: https://github.com/ceshez/VELAR/tree/main/.agents/skills/dapp
Command: npx skills add https://github.com/ceshez/VELAR --skill dapp-ceshez

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @stellar/stellar-sdk, @stellar/freighter-api, @creit.tech/stellar-wallets-kit.

What problem does it solve?

This Skill helps you build reliable Stellar and Soroban client flows by handling wallet connection, transaction construction, signing, simulation, and submission without guesswork.

Core Features & Use Cases

  • Wallet integration: Connect Freighter (or multi-wallet via Stellar Wallets Kit), manage allowed/network state, and trigger signing flows for XDR transactions.
  • Transaction building & submission: Build classic payments/operations and assemble Soroban invocation transactions, including resource estimation via simulation and confirmation handling.
  • Soroban contract invocation: Invoke smart contracts from a frontend or Node.js client by generating proper ScVal arguments, simulating, assembling, and submitting safely.

Quick Start

Connect a Stellar wallet, build a classic payment or Soroban invocation XDR, simulate (for Soroban), sign it, submit it, and wait for confirmation using Horizon/RPC for the configured network.

Frequently Asked Questions about dapp

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I connect a Freighter wallet and submit a Soroban transaction in Next.js?

Soroban contract invocation from a browser requires generating proper ScVal arguments, simulating the transaction for resource estimation, assembling the XDR, signing it via a wallet adapter like Freighter, and submitting it to the configured Stellar network.

How does transaction simulation work for Soroban smart contracts?

Transaction simulation for Soroban smart contracts works by estimating required resources and validating the operation before signing. The Stellar SDK simulates the invocation, assembles the transaction XDR, and handles explicit errors before final submission to RPC.

Can I use Stellar Wallets Kit for multi-wallet connection in a React application?

Yes, you can use Stellar Wallets Kit for multi-wallet connection in a React application. It works alongside the Freighter API to manage allowed network states and trigger signing flows for XDR transactions across different Stellar wallet providers.

Why does my Soroban transaction submission fail after signing?

Soroban transaction submission fails after signing when simulation and submission errors are not explicitly handled. You must ensure correct network passphrases are configured and verify resource estimation succeeds before assembling and submitting the final XDR.

Do I need the Stellar SDK to build classic payments and passkey-based smart accounts?

Yes, you need the Stellar SDK to build classic payments and passkey-based smart accounts. The SDK provides the necessary Horizon and RPC interfaces to construct operations, manage network passphrases, and handle transaction confirmation for Stellar dApps.