0.1.2 • Published 2 months ago

chanhi-usage v0.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

Chanhi Usage

This npm package demonstrates the usage of the Chanhi Handler for various blockchain actions.

Installation

npm install chanhi-usage

Usage 

Replace "YOUR_API_KEY," "YOUR_RPC_ENDPOINT

const ChanhiUsage = require('chanhi-usage');

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

const app = new ChanhiUsage(apiKey, blockchainConfig);

// Example: Perform a blockchain action
app.performBlockchainAction('0xYourAddress', '123456', '0xReceiverAddress', '1.5');
0.1.2

2 months ago

0.1.0

2 months ago