>
Back to home

LACE Wallet - Trading Feature

Built the trading functionality for Cardano's official light wallet at IOHK/Input Output.

TypeScriptReactNestJSCardanoWeb3
Visit project

Overview

Contributed to LACE, the innovative light wallet platform from Input Output Global (creators of Cardano). Led development of the trading feature with a team of freelancers.

Technical Scope

Backend Architecture

Built robust NestJS services to manage interactions with the Cardano blockchain and partner platforms:

// DEX aggregator service
@Injectable()
export class DexAggregatorService {
  constructor(
    private readonly sundaeswap: SundaeSwapProvider,
    private readonly minswap: MinswapProvider,
    private readonly muesliswap: MuesliSwapProvider,
  ) {}
 
  async getBestRate(params: SwapParams): Promise<SwapQuote> {
    const quotes = await Promise.all([
      this.sundaeswap.getQuote(params),
      this.minswap.getQuote(params),
      this.muesliswap.getQuote(params),
    ])
 
    return quotes.reduce((best, quote) =>
      quote.outputAmount > best.outputAmount ? quote : best
    )
  }
}

Frontend Integration

Implemented React components for seamless wallet integration:

  • Real-time price feeds
  • Slippage tolerance configuration
  • Transaction preview and confirmation
  • Multi-DEX routing visualization

Key Achievements

  • Shipped trading feature to production wallet used by thousands
  • Integrated with multiple Cardano DEXs (SundaeSwap, Minswap, MuesliSwap)
  • Maintained high test coverage with comprehensive E2E testing
  • Collaborated with blockchain team on transaction building