@cyberbrokers/eth-utils
TypeScript icon, indicating that this package has built-in type declarations

0.0.30 • Public • Published

A general chain utils package dedicated to Cyberbrokers and the Lost Paradigm.

how to use

Install using npm i @cyberbrokers/eth-utils

import {config} from '@cyberbrokers/eth-utils'
import {getCbContractsByChainId} from '@cyberbrokers/eth-utils'

/**
 * Only necessary if you plan on using methods that require configs, such as getDelegateContract, getContractForAddress
 * */
config.setConfig({ 
    alchemy:{
        eth_key: 'dwd..'
    }
})

getCbContractsByChainId(1).cyberBrokersAddress // Cyberbrokers 0x... contract address

Documentation: https://mirrorware-io.github.io/utils/

CyberBrokers Metadata: CyberBrokers metadata is downloaded automatically on npm i. This is to keep the package size small

Development

  1. Git clone the repo

  2. Make appropriate changes and don't forget to run prettier.

  3. Make a PR to get your changes reviewed.

Readme

Keywords

none

Package Sidebar

Install

npm i @cyberbrokers/eth-utils

Weekly Downloads

69

Version

0.0.30

License

MIT

Unpacked Size

314 kB

Total Files

57

Last publish

Collaborators

  • marcusmilne
  • vinibroker
  • fayelure