Skip to content

holographxyz/networks

Repository files navigation

Holograph

Holograph Protocol - Network Configurations

Description

The Holograph Protocol works with a specific set of EVM blockchains, requires certain configurations, and uses proprietary chain IDs. This package helps to access all those variable conveniently.

Development

Getting Started

  1. Install package with npm i @holographxyz/networks
  2. Using the package:
    • TypeScript: import { networks } from '@holographxyz/networks'
    • JavaScript: const { networks } = require('@holographxyz/networks');
  3. The package also includes type definitions for: NetworkType, Network, and Networks.

RPC Endpoints

Every network is defined with a network name key inside of the networks object. Each network has a default RPC endpoint listed under rpc. You can override the detault value via environment variables. Environment variables are loaded from the .env file of your project/repo. The environment variables that are being queried is shown in the sample.env file.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •