βοΈTypeScript SDK
We are upgrading our SDK from Devnet to Testnet. Stay tuned for updates!
Devnet Configuration
ChainId:
28206RPC:
https://rpc.testnet.lumibit.xyzExplorer: https://scan.testnet.lumibit.xyz/
Usage
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