Skip to main content
LI.FI Composer is an onchain execution engine. It bundles multi-step actions like swaps, deposits, and protocol calls into a single signed transaction, across supported EVM chains. This page is your launchpad: it gets you from zero to your first compiled Flow. For prizes, tracks, judging, and the workshop schedule, head to the LI.FI prize page on ETHGlobal.

Get started

1

Create an API key

Register at portal.li.fi and create an API key from your dashboard. Standard keys work for the hackathon, no special setup required.
2

Install the SDK

Pull the staging SDK, which exposes the hackathon features:
yarn add @lifi/composer-sdk@staging @lifi/compose-spec@staging
3

Create the SDK

Wire the SDK to the hackathon environment and you are ready to compose:
import { createComposeSdk } from '@lifi/composer-sdk';

const sdk = createComposeSdk({
  baseUrl: 'https://ethglobal-composer.li.quest',
  apiKey: process.env.LIFI_API_KEY,
});
ethglobal-composer.li.quest is a dedicated hackathon deployment with extra features enabled on top of production Composer, including recently added ones like flashloan aggregation. These extras are alpha, so keep amounts small while you experiment.
From here, follow the Quickstart to compile your first Flow. Use the baseUrl and install commands above in place of the defaults shown there.

Start from working code

The quickest way in is to copy a Flow that already runs. The composer-sdk-examples repo has runnable examples you can clone and adapt.

Help and resources

Quickstart

Compile your first Flow to calldata in a few minutes.

Build a Flow

The full walkthrough: inputs, materialisers, guards, and submission.

Examples repo

Runnable Flows to clone and adapt.
Building with an AI assistant? Point it at llms.txt for machine-readable docs. Stuck on something? Reach the team in the LI.FI Builders Telegram. We are around all weekend.