New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

minos-sdk

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

minos-sdk

The Minos SDK is for web3 native companies to observe and monitor their web3 infrastructure end to end.

latest
Source
npmnpm
Version
0.2.1
Version published
Maintainers
1
Created
Source

Minos SDK for Monitaur

Welcome to Minos, the SDK for Monitaur, a Web3 monitoring and Application Performance Monitoring (APM) platform. Minos provides a simple and efficient way to monitor your appliations end-to-end, allowing you to monitor and analyze the performance of your Web3 on and off-chain.

Installation

To use Minos, follow these steps:

  • Install Minos using your preferred package manager:
npm install minos-sdk

or

yarn add minos-sdk
  • Import the Minos module in your application:
const Minos = require('minos-sdk');
  • Initialize Minos with your Monitaur Minos Application Token:
const minos = new Minos('MINOS_APPLICATION_TOKEN');

If you haven't created an Application yet, you can do so here

  • Start monitoring your Web3 application by using Minos' APIs and functions.

There are six levels you can create an event for:

fatal, warn, error, info, debug, and trace

minos.fatal(
  "Any message you want to share here for top level context",
  {
    message: "Add context that helps your team",
    // This is the context object, you can add whatever you'd like here
  },
  "userId", // not required
  "address" // not required
  );

Usage with Ethers.js

If you're using Ethers.js, we've built in custom injection logging that will create info and error events respectively. To do this the set up is really simple, you'll pass in the ethers provider that you created.

minos.initializeInjectionLogging(yourEthersProvider);

// make your Ethers
await provider.getBlock()

Getting Help

If you encounter any issues, have questions, or would like to provide feedback, please reach out to our support team at support@monitaur.xyz. You can also visit our knowledge base for additional resources and guides.

Authors

FAQs

Package last updated on 19 Sep 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts