βš™οΈTypeScript SDK

Devnet Configuration

  • ChainId: 28206

  • RPC: https://rpc.testnet.lumibit.xyz

  • Explorer: https://scan.testnet.lumibit.xyz/

Usage

  1. Add dependencies: yarn add @lumibit/ethers

Signer & Provider

import {BTCNetwork, JsonRpcProvider, Wallet} from "@lumibit/ethers"


async function main() {
    const provider = new JsonRpcProvider('https://rpc.devnet.lumibit.xyz', BTCNetwork.Testnet)
    const signer = new Wallet(PRIVATE_KEY, provider)
}

main()

Send Transaction

Interact with Contract

Deploy Contract

LumiBit Utils

Uniswap Deployment Demo

We also provide a Hardhat Uniswap Deployment demo to show how to deploy complex contracts in lumibit

Last updated