Skip to content

L1Network/L1-ts

Repository files navigation

L1 TypeScript DevKit

A comprehensive TypeScript development kit for building modern web applications on Antelope blockchains (EOS, Telos, WAX, UX).

Core Packages

  • packages/core - Core SDK for Antelope blockchain interactions and smart contract integration
  • packages/react - React components and hooks for building blockchain-based frontend applications
  • packages/lib - Shared utilities and helper functions
  • packages/errors - Antelope-specific error handling and definitions
  • packages/tsconfig - Standardized TypeScript configuration

Features

  • 🚀 Built for modern Antelope development
  • 💻 Framework agnostic core with React-specific bindings
  • 🔒 Type-safe contract interactions
  • 📦 Modular and extensible architecture
  • 🌐 Support for all major Antelope networks
  • 🔧 Built-in wallet integrations (Anchor, Wombat)
  • 📊 Resource management (CPU/NET/RAM)
  • ⚡ Optimized for performance

Development Setup

Requirements

  • Bun 1.0+

Quick Start

# Clone and setup project
git clone https://github.com/l1-network/l1-ts.git
cd l1-ts
bun install

Development Commands

bun dev        # Start development server
bun build      # Create production build
bun test       # Run test suite

Usage Examples

// Core SDK Usage
import { createL1Client } from '@l1network/core'

const client = createL1Client({
  nodeUrl: 'https://eos.greymass.com',
  chainId: 'aca376f206b8fc25a6ed44dbdc66547c36c6c33e3a119ffbeaef943642f0e906'
})

// React Components
import { L1Provider, WalletButton } from '@l1network/react'

function App() {
  return (
    <L1Provider>
      <WalletButton />
      {/* Your dApp components */}
    </L1Provider>
  )
}

Contributing

Please read the contributing guidelines before submitting any pull requests.

License

MIT License

About

L1Network TypeScript DevKit

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published