TrustLance

Next.js 16React 19TypeScriptStellar SDKSorobanZustand
TrustLance preview

overview.

Built TrustLance, a decentralized freelance marketplace using Stellar blockchain and Soroban smart contracts for secure, automated escrow payments. Features multi-wallet support, escrow lifecycle management, and a modern dashboard for tracking contracts and transactions.

about.

TrustLance connects clients and freelancers through a trustless escrow system. Funds are locked in Soroban smart contracts until work is completed, with automated release on milestone approval. The platform supports 8+ wallet providers and provides a complete dashboard for managing escrow contracts, transactions, and wallet settings.

technical implementation.

Smart Contract Escrow

Built Soroban Rust contracts for escrow lifecycle management. Funds are locked until conditions are met, with automatic release or refund based on client/freelancer actions.

Multi-Wallet Integration

Integrated Stellar Wallets Kit and Freighter API to support 8+ wallet providers. Users can connect their preferred wallet and sign transactions seamlessly.

key features.

  • Multi-wallet connect (Freighter, xBull, Albedo, LOBSTR, Rabet, Hana, Hot Wallet, Klever)
  • Escrow lifecycle: create, fund, release, refund
  • Stellar payment flow for direct XLM transfers
  • Dashboard for escrow contracts, transactions, and wallet settings
  • Persistent local dashboard records via Zustand stores
  • Soroban smart contract for escrow logic

screenshots.

TrustLance dashboard

Overview of escrow contracts and transaction history.

TrustLance escrow creation

Create and fund escrow contracts with Stellar wallets.

challenges & solutions.

Challenge: Supporting multiple wallet providers with consistent UX

Solution: Used Stellar Wallets Kit as a unified abstraction layer. Each wallet adapter handles provider-specific quirks while exposing a consistent interface to the dashboard.

Challenge: Ensuring escrow funds are safely locked until conditions are met

Solution: Implemented Soroban smart contracts with time-locked release conditions. Funds are provably locked on-chain and can only be released or refunded through contract calls.