Core API

Wallet Providers

LaserEyes supports multiple Bitcoin wallet providers through a unified interface, making it simple to integrate with any supported wallet.

Supported Wallets

UniSat

UNISAT

Popular Bitcoin and Ordinals wallet

Xverse

XVERSE

Stacks and Bitcoin wallet with Ordinals support

OYL

OYL

Bitcoin wallet focused on Ordinals

Magic Eden

MAGIC_EDEN

Multi-chain NFT marketplace wallet

OKX

OKX

Multi-chain wallet from OKX exchange

Leather

LEATHER

Stacks and Bitcoin wallet

Phantom

PHANTOM

Multi-chain wallet with Bitcoin support

Wizz

WIZZ

Bitcoin and Ordinals wallet

Orange

ORANGE

Bitcoin wallet with Ordinals support

Usage

Basic Example

using-providers.ts
import { 
  UNISAT, 
  XVERSE, 
  OYL, 
  LEATHER, 
  MAGIC_EDEN, 
  OKX, 
  PHANTOM, 
  WIZZ, 
  ORANGE 
} from '@omnisat/lasereyes-core'

// Connect to UniSat wallet
await client.connect(UNISAT)

// Connect to Xverse wallet
await client.connect(XVERSE)

// Connect to OYL wallet
await client.connect(OYL)

Provider Detection

provider-detection.ts
import { isWalletAvailable } from '@omnisat/lasereyes-core'

// Check if UniSat wallet is available
const isUnisatAvailable = isWalletAvailable(UNISAT)

// Get all available wallet providers
const availableProviders = [
  UNISAT,
  XVERSE,
  OYL,
  LEATHER,
  MAGIC_EDEN,
  OKX,
  PHANTOM,
  WIZZ,
  ORANGE
].filter(provider => isWalletAvailable(provider))

Next Steps