Code Monkey home page Code Monkey logo

thaler-nodelib's Introduction

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

Documentation

You can generate API documentation by running

npm run docs:generate

Generated documentation is available at docs/dist

Browser support

Right now the library does not support Browser.

License

Apache 2.0

thaler-nodelib's People

Contributors

bors[bot] avatar calvinaco avatar calvinlauyh avatar dependabot-preview[bot] avatar juno-yu avatar tomtau avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.