1.0.1 • Published 1 year ago

@egabee/sdk v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

@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/sdk
yarn add @egabee/sdk
npm i @egabee/sdk

Usage

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'
})