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

chanhi-handler

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chanhi-handler

A versatile handler for blockchain communication and smart contract interactions.

latest
Source
npmnpm
Version
0.1.2
Version published
Maintainers
1
Created
Source

Chanhi Handler

This npm package provides a versatile handler for blockchain communication and smart contract interactions.

Features

  • Connects to different blockchains using a custom API key.
  • Supports Ethereum and other compatible networks.
  • Simplifies interaction with smart contracts, NFTs, and blockchain data.

Installation

npm install chanhi-handler

Usage
const ChanhiHandler = require('chanhi-handler');

const apiKey = 'YOUR_API_KEY';
const blockchainConfig = {
  rpcEndpoint: 'YOUR_RPC_ENDPOINT',
  apiEndpoint: 'https://api.example.com'
};

const handler = new ChanhiHandler(apiKey, blockchainConfig);

// Example: Get balance for a specific address
handler.getBalance('0xYourAddress').then(balance => {
  console.log('Balance:', balance);
});

Keywords

blockchain

FAQs

Package last updated on 04 Mar 2024

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