@merkl/registry
v1.7.6
Published
--- description: Easily find all Merkl contract deployment addresses ---
Downloads
13,507
Readme
description: Easily find all Merkl contract deployment addresses
Installation 🚀
To begin, install the @merkl/registry package into your project:
npm install @merkl/registryUsage Example 🛠️
Import the Merkl Registry Package 📦
import merklRegistry from '@merkl/registry'Use it!
Get Distributor address on Ethereum
import merklRegistry from '@merkl/registry'
// Distributor address on Ethereum
const distributor = merklRegistry(1).DistributorGet the chain Ids Merkl is deployed on
import { MerklRegistryJson } from '@merkl/registry'
const merklChainIds = Object.keys(MerklRegistryJson).map(chainId => +chainId)