Documentation

Build with Laserium

Comprehensive guides and API references to integrate with Laserium's non-custodial DeFi infrastructure on Solana.

Getting Started

Laserium is a non-custodial DeFi protocol on Solana that enables users to deposit single assets, provide liquidity for oracle-priced swaps, and earn yield through automated capital allocation.

Prerequisites

  • A Solana wallet (Phantom, Solflare, or similar)
  • SOL tokens for transaction fees
  • Assets you want to deposit (USDC, SOL, etc.)

First Deposit

  1. Connect your Solana wallet to the Laserium app
  2. Select the asset you want to deposit from available vault options
  3. Enter the amount and approve the transaction
  4. Your vault tokens will be minted, representing your share of the vault
  5. Start earning yield automatically as the protocol routes your capital

Core Concepts

Isolated Asset Vaults

Each vault accepts a single asset type, eliminating impermanent loss. Deposits are represented by vault tokens that accrue value over time as yield is generated.

Oracle-Powered Swaps

Trading executes at oracle-verified prices rather than AMM curves, protecting against manipulation and MEV. Liquidity providers earn fees from swap volume.

Dynamic Yield Engine

The protocol continuously analyzes yield opportunities across integrated strategies and automatically reallocates vault capital to maximize returns while managing risk.

Developer SDK

The Laserium TypeScript SDK provides a simple interface for integrating vault deposits, swaps, and data queries into your application.

Installation

npm install @laserium/sdk

Basic Usage

import { LaseriumClient } from '@laserium/sdk';

const client = new LaseriumClient({
  rpcUrl: 'https://api.mainnet-beta.solana.com',
  wallet: yourWallet
});

// Deposit into vault
const tx = await client.deposit({
  vaultId: 'USDC_VAULT',
  amount: 1000
});

// Query vault info
const vault = await client.getVault('USDC_VAULT');
console.log(vault.apy, vault.tvl);

Smart Contracts

Laserium's smart contracts are built with Anchor and deployed on Solana mainnet. All contracts are open source and audited.

Vault Program

LSR1uMx...AbcD5678

Swap Program

LSSWP2kL...XyZ9012

Yield Router

LSYLD3mN...DeF3456

Oracle Adapter

LSORC4nO...GhI7890

Security

Security is our top priority. Laserium employs multiple layers of protection:

Smart Contract Audits

All contracts audited by leading security firms including Kudelski, Halborn, and Trail of Bits

Non-Custodial Architecture

Users maintain complete control of their assets at all times. No admin keys or centralized control

Open Source

All code is publicly verifiable on GitHub with comprehensive test coverage

Bug Bounty Program

Report vulnerabilities and earn rewards up to $100,000. Contact security@laserium.finance

API Reference

Access real-time protocol data through our REST and WebSocket APIs.

Base URL

https://api.laserium.finance/v1

Common Endpoints

GET/vaults
List all available vaults
GET/vaults/:id
Get vault details and performance
GET/swaps/quote
Get swap quote for token pair
GET/stats
Protocol-wide statistics

Ready to Start Building?

Join our developer community and get support