Access Web3 APIs, the Lava way
This repository contains implementations of providers for various third-party libraries used for accessing blockchains.
The providers in this repository use the Lava-SDK for decentralized access using the Lava ecosystem. The lava-sdk provides an easy-to-use interface for querying specified network in fully decentralized way, and the providers in this repository abstract away the implementation details for specific third-party libraries.
Roadmap
The Lava-SDK-providers is currently in the Alpha stage and is not production-ready for all usecases.
Roadmap highlights:
- Implement ethers.js provider
✅ - Implement cosmosJS provider
- Implement web3.js provider
Installation
Prerequisites (Alpha version)
SDK setup requires additional steps at the moment, but we're working on minimizing prerequisites as we progress through the roadmap.
- Create a wallet on the Lava Testnet, have LAVA tokens
- Stake in the chain you want to access
- Stake in Lava chain
Need help? We've got you covered #developers
and we'll provide testnet tokens and further support
Yarn
yarn add @lavanet/lava-sdk-providers
NPM
npm install @lavanet/lava-sdk-providers
Usage
For each provider implementation, there is a separate readme file on how to use it. Below are the available provider implementations along with a link to their respective readme file:
Make sure to follow the instructions in the respective readme file to properly configure and use the provider implementation.