Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

janvi100104/TrustLance

Open more actions menu

TrustLance

TrustLance is a Stellar-based freelance escrow platform.
It helps clients and freelancers lock funds safely, track escrow lifecycle states, and settle payments through connected wallets.

Highlights

  • Multi-wallet connect flow (Freighter, xBull, Albedo, LOBSTR, Rabet, Hana, Hot Wallet, Klever)
  • Escrow lifecycle actions: create, fund, release, refund
  • Stellar payment flow for direct XLM transfers
  • Dashboard for escrow contracts, transactions, and wallet/network settings
  • Persistent local dashboard records via Zustand stores
  • Modern Next.js frontend with App Router and shadcn-style UI primitives

Tech Stack

  • Next.js 16
  • React 19
  • TypeScript
  • Tailwind CSS v4
  • Zustand
  • Stellar SDK + Freighter API + Stellar Wallets Kit

Repository Structure

.
├── frontend/                 # Next.js app
│   ├── app/                  # Routes (landing, dashboard, pricing, features)
│   ├── components/           # UI + feature components
│   ├── lib/stellar/          # Wallet, transaction, and contract helpers
│   └── store/                # Zustand stores
├── trustLance/               # Soroban Rust workspace
│   └── contracts/escrow/     # Escrow smart contract
├── scripts/                  # Utility scripts
└── docs/                     # Project docs

Quick Start (Frontend)

1) Prerequisites

  • Node.js 20+
  • pnpm
  • A Stellar wallet extension (Freighter recommended)

2) Install and run

git clone <your-repo-url>
cd stellar-connect-wallet/frontend
pnpm install

Create frontend/.env.local:

NEXT_PUBLIC_STELLAR_NETWORK=TESTNET
NEXT_PUBLIC_HORIZON_URL=https://horizon-testnet.stellar.org
NEXT_PUBLIC_SOROBAN_RPC_URL=https://soroban-testnet.stellar.org
NEXT_PUBLIC_ESCROW_CONTRACT_ID=

Start dev server:

pnpm dev

Open http://localhost:3000.

Frontend Scripts

Command Description
pnpm dev Run local dev server
pnpm build Build production app
pnpm start Start production server
pnpm lint Run ESLint

Wallet + Network Notes

  • Wallet connection and signing are handled through Stellar Wallets Kit and Freighter API.
  • Balance fetch uses Horizon (NEXT_PUBLIC_HORIZON_URL).
  • Escrow actions require a deployed contract ID in NEXT_PUBLIC_ESCROW_CONTRACT_ID.
  • Recommended network for development is TESTNET.

Dashboard Data Notes

  • Wallet balance and signed transactions are real network interactions.
  • Dashboard records (escrows/transfers) are stored in local persisted Zustand stores.
  • Dashboard analytics are computed from those stored records.

Main Routes

Route Purpose
/ Landing page
/dashboard Overview and analytics
/dashboard/escrow Create escrow
/dashboard/escrow-contracts Manage escrow contracts
/dashboard/transactions Send/receive + history
/dashboard/settings Wallet/network/preferences
/features, /how-it-works, /pricing Marketing pages

Smart Contract Workspace

Soroban contract code lives in:

  • trustLance/contracts/escrow

Use Cargo from the trustLance workspace to build/test contract code.

Wallet connected state

Screenshot 2026-03-20 201224

Balance displayed

Screenshot 2026-03-20 201253

Successful testnet transaction

Screenshot 2026-03-20 201427

The transaction result is shown to the user

Screenshot 2026-03-20 201450

Contributing

Contributions are welcome.
Open an issue first for significant feature or architectural changes.

License

MIT

About

TrustLance is a modern, decentralized freelance marketplace designed to connect clients with top global talent. By leveraging blockchain technology and smart contracts, it ensures secure, automated payments and transparent project management. The platform features AI-powered talent matching to streamline the hiring process and provides a trust-base

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.