Skip to main content

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.

github github:

lavanet/lava/ecosystem/lava-sdk

npm 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:

  1. Create an account on the Lava Gateway 🎫

  2. Install @lavanet/lava-sdk into your local project repository ! πŸ“₯

  3. Decide whether you'll be doing frontend or backend 🏭

  4. 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.