Skip to content

Railgun-Community/deployments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@railgun-community/deployments

Contains deployment configs and artifacts for each chain

Installation:

npm install @railgun-community/deployments

Usage:

const deployment = require('@railgun-community/deployments');

// Get ethereum deployment details by network name
console.log(deployment.chainConfig.ethereum);

// Get ethereum deployment details by chain ID
console.log(deployment.chainConfig[1]);

/**
{
  delegator: { address, deploymentBlock },
  implementation: '...',
  proxy: '...',
  ...
}
*/

// Get ABIs
console.log(deployment.abis);

/**
{
  delegator: '...',
  implementation: '...',
  proxy: '...',
  ...
}
*/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published