Become a Provider
Welcome to the Lava network's provider introduction. In this page, you'll learn about the role of providers in the Lava network, as well as the necessary steps to get started as one.
To get the initial testnet LAVA stake, read the Provider Incubation program details π
Providers in Lava's Protocolβ
Providers are the backbone of the Lava network, servicing relay requests by staking on the network and operating RPC nodes on Relay Chains queried by Consumers (e.g., Cosmos, Ethereum, Osmosis, Polygon, etc.). In return, they earn fees in the form of LAVA tokens from the Consumers for servicing these requests.
Becoming a Providerβ
To join the Lava network as a provider, follow these steps:
- Ensure your Relay Chain RPC Nodes are operational and meet the required specifications.
- Stake LAVA and run Lavaβs lightweight Provider process, as detailed in our Provider Setup guide.
Learn more by reading our litepaper
Provider Parametersβ
When staking as a provider, there are four main parameters used in the transaction:
- Stake: The amount of LAVA to stake for the service.
- Geolocation: The location of the provider's nodes. (Note that
0
is only assigned via policy/gov proposal)
GLS = 0; // Global-strict
USC = 1; // US-Center
EU = 2; // Europe
USE = 4; // US-East
USW = 8; // US-West
AF = 16; // Africa
AS = 32; // Asia
AU = 64; // (Australia, includes NZ)
GL = 65535; // Global
- ChainID: The identifier of the target blockchain network, such as Cosmos Mainnet, Ethereum Ropsten, etc.
- Endpoints: A list of endpoints, each defining an address and geolocation
Providers need to stake separately for each supported spec. For example, if you support both Cosmos and Ethereum, you will need two separate stakes. Once your request is verified and included in the chain state, you'll be included in the Pairing List starting from the next Epoch and can begin servicing consumer requests through your nodes.
Supported APIs and Chain Specificationsβ
Lava's protocol expands its support to new RPCs by adding Specifications ("specs") via governance. Each spec describes the schema needed for the RPC and aligns the different actors on the provided interface.
To obtain information on a specific chain, run the following command, replacing SPEC-ID
:
curl -X 'GET' \
'https://rest-public-rpc.lavanet.xyz/lavanet/lava/spec/show_chain_info/SPEC-ID' \
-H 'accept: application/json'
Querying Available APIs and Chainsβ
To obtain a list of available APIs and chains, query all chain specs or use the following CLI commands for a detailed list:
curl -X 'GET' \
'https://public-rpc-testnet2.lavanet.xyz/rest/lavanet/lava/spec/show_all_chains' \
-H 'accept: application/json' | jq
Alternatively,
lavap q spec list-spec --node https://public-rpc-testnet2.lavanet.xyz:443/rpc/