@crypto-com/chain-nodelib
TypeScript icon, indicating that this package has built-in type declarations

0.3.1 • Public • Published

Crypto.com Chain library for Node.js

This repository contains the Node.js library for interacting with Crypto.com Chain.

Warning

Crypto.com Chain and this library is currently in the alpha development phase and subjects to changes. Before proceeding, please be aware of the following:

  • This library is not production-ready, do not use in production systems.

  • Do not transfer any ERC20 tokens to addresses generated by this sample code as it can cause loss of funds.

  • Crypto.com is not liable for any potential damage, loss of data/files arising from the use of the library.

Installation

Install via NPM

npm install @crypto-com/chain-nodelib

Depending on your Node.js languages:

  1. TypeScript

    import * as cro from "@crypto-com/chain-nodelib";
  2. JavaScript:

    const cro = require("@crypto-com/chain-nodelib");

Build manually

  1. Clone this repository to your project

    git clone https://github.com/crypto-com/chain-nodelib 
  2. Install and build chain-nodelib

    cd chain-node-lib
    npm install
    npm build
  3. Add chain-nodelib to your package.json

    {
        ...
        "dependencies": {
            "@cryptocom/chain-nodelib": "file:./chain-nodelib",
        }
    }

Examples

An example is worth a thousand words, we provide code examples of different use cases below.

If you couldn't find an example for your use case, please open an issue and tell us.

Address

View Key

Transaction

Staking and Council Node

HD Wallet

Browser support

Right now the library does not support Browser.

License

Apache 2.0

Readme

Keywords

none

Package Sidebar

Install

npm i @crypto-com/chain-nodelib

Weekly Downloads

1

Version

0.3.1

License

Apache-2.0

Unpacked Size

181 kB

Total Files

158

Last publish

Collaborators

  • saisankar1531
  • crypto-it-team