@cyberbrokers/eth-utils
v0.0.33
Published
Install using `npm i @cyberbrokers/eth-utils`
Downloads
304
Readme
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
Git clone the repo
Make appropriate changes and don't forget to run prettier.
Make a PR to get your changes reviewed.