@8pay/deployments

1.8.0 • Public • Published

@8pay/deployments

An helper module that keeps track of all 8pay's deployments. It provides an easy way to obtain the addresses where core smart contracts are deployed and the abis to interact with them.

Usage

const Deployments = require('@8pay/deployments');

const deployments = new Deployments(Deployments.Network.BSC);

const contract = deployments.get('OneTime');

console.log(contract);

/*
{
    address: '0x...',
    abi: [...],
    blockNumber: 3029344
}
*/

Supported networks

  • BSC
  • ETHEREUM
  • POLYGON
  • SANDBOX

Package Sidebar

Install

npm i @8pay/deployments

Weekly Downloads

4

Version

1.8.0

License

MIT

Unpacked Size

240 kB

Total Files

41

Last publish

Collaborators

  • 8pay-admin