Lava SDK (Beta)
Overview 🔎
The Lava-SDK is a powerful JavaScript/TypeScript library designed for developers. It enables decentralized access to all chains supported by the Lava ecosystem and can be used both in server and browser environments. By importing Lava-SDK into a project, developers can easily interact with multiple blockchains and build decentralized applications.
lavanet/lava/ecosystem/lava-sdk
npm:
@lavanet/lava-sdk
Prerequisites 📋
Lava SDK setup requires additional steps at the moment, but we're working on minimizing prerequisites as we progress towards Mainnet. The recommended flow is as follows:
Create an account on the Lava Gateway 🎫
Install
@lavanet/lava-sdkinto your local project repository ! 📥Add a public key to the Lava Gateway or use your auto-generated badge from Lava's badge server! 🔑 📛
Repositories 🔧
📦 Lava-SDK: implementation of the Lava SDK library. This repository provides the core functionality for developers to interact with multiple blockchain networks in a decentralized manner.
📦 Lava-SDK-providers: contains implementations of providers for various third-party libraries used for accessing blockchains using Lava SDK's underlying functionality. Lava-SDK-providers currently supports ethers.js, web3.js, cosmjs, and viem integrations and we plan to add support for even more blockchain libraries and web3 APIs in the future.
📦 Lava-providers: contains sdkSeedProviders.json, a resource for LavaSDK to discover the first providers to connect to access initial Pairing data.