Skip to content

LI.FI Intents Dashboard

LI.FI Intents Dashboard

The LI.FI Intents Dashboard is a web application that allows solvers to manage their operations within the LI.FI intent marketplace. This platform serves as the central hub for solvers to monitor their performance, manage API access, and configure their solver identity. It is a self serving platform. If you have any issues, please reach out to us.

Users can create an account by signing up through the dashboard. Once registered, they gain access to the solver management interface.

Registering Solver Identity

After creating an account, users must set up their solver identity by configuring a solver name. This identity is required before users can create API keys or participate in the marketplace.

Creating API Keys

Once a solver identity is established, users can create and manage API keys. These API keys are essential for:

  • Pushing Quotes: Submit inventory quotes to the order server using the /quotes/submit endpoint
  • Registering Solver Accounts: Solver accounts are essentials for reputation tracking.

Endpoint: POST /solver-api/account/register
Authentication: Required (API Key)
Content-Type: application/json

{
"address": "0x1234567890123456789012345678901234567890",
"message": "Hello, world!",
"signature": "0x1234567890abcdef..."
}
  1. Signature Verification: The system validates that the signature was created by the claimed address using Ethereum’s verifyMessage function
  2. Address Uniqueness Check: Each address can only be registered once across the entire system
  3. Solver Association: The address is automatically linked to the solver account associated with the API key used for authentication
// 1. Sign a message with your solver address
// Using ethers.js or similar library
const message = "Hello, world!";
const signature = await wallet.signMessage(message);
Terminal window
# 2. Register the address
curl -X POST "https://order-dev.li.fi/solver-api/account/register" \
-H "Content-Type: application/json" \
-H "x-api-key: sk_your_api_key_here" \
-d '{
"address": "0x1234567890123456789012345678901234567890",
"message": "Hello, world!",
"signature": "0x1234567890abcdef..."
}'

Success Response:

{
"id": 1,
"address": "0x1234567890123456789012345678901234567890",
"solverId": 5,
"createdAt": "2024-01-15T10:30:00.000Z",
"updatedAt": "2024-01-15T10:30:00.000Z"
}

Error Responses:

  • 400 Bad Request: Invalid request data
  • 401 Unauthorized: Invalid signature or API key
  • 403 Forbidden: Address already registered
  • 404 Not Found: Solver not found

View Registered Addresses: GET /solver-api/solver/identities

Returns all addresses registered under your solver account:

[
{
"id": 1,
"address": "0x1234567890123456789012345678901234567890",
"solverId": 5,
"createdAt": "2024-01-15T10:30:00.000Z",
"updatedAt": "2024-01-15T10:30:00.000Z"
}
]

You can also view the registered addresses through the dashboard in the settings page.

Registered Addresses

The dashboard displays key metrics including:

  • Orders quoted
  • Quotes uploaded
  • Orders filled
  • Current reputation score

Metrics