@egabee/sdk
v1.0.1
Published
Monitor web3 transactions for success and failure to understand your customers better!
Downloads
5
Maintainers
Readme
@egabee/sdk
Monitor web3 transactions for success and failure to understand your customers better!
This library help you to report failing and successfull transactions to your Egabee project dashboard. For example if a transaction didn't make on chain you can use the sdk to send to your egabee dashboard and see the transaction details possibly figure out failure reason.
Install
pnpm i @egabee/sdkyarn add @egabee/sdknpm i @egabee/sdkUsage
import { Egabee } from '@egabee/sdk'
const egabee = new Egabee({
dns: '<your-dns-goes-here>',
apiKey: '<your-api-key-goes-here>',
chainType: 'EVM' // Supported types are Substrate, Cosmos, EVM
//
// Optional fields
// contractIdentifier: 'UniswapV3Factory' // address or contract name
// chainId: '1'
})