0.10.2 • Published 1 year ago

@lavanet/lava-sdk-providers v0.10.2

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 year ago

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:

  1. Implement ethers.js provider ✅
  2. Implement cosmosJS provider
  3. 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.

  1. Create a wallet on the Lava Testnet, have LAVA tokens
  2. Stake in the chain you want to access
  3. Stake in Lava chain

Need help? We've got you covered 😻 Head over to our Discord channel #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:

  1. Ethers.js

Make sure to follow the instructions in the respective readme file to properly configure and use the provider implementation.