Use staging for development and testing:import { Network } from "@oraichain/lfg-client-js";
const network = Network.staging();
// Network properties
console.log(network.chainId); // "lfg-staging-1"
console.log(network.indexerConfig); // Indexer endpoints
console.log(network.validatorConfig); // Validator endpoints
Staging network uses test tokens with no real value. Perfect for development.
Use mainnet for production applications:import { Network } from "@oraichain/lfg-client-js";
const network = Network.mainnet();
// Network properties
console.log(network.chainId); // "lfg-mainnet-1"
console.log(network.indexerConfig); // Indexer endpoints
console.log(network.validatorConfig); // Validator endpoints
Mainnet uses real assets. Always test thoroughly on staging first.