Adamant Api Jsclient

ADAMANT Javascript API library
Alternatives To Adamant Api Jsclient
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Go Ethereum41,6664311,92013 hours ago655September 15, 2022318lgpl-3.0Go
Official Go implementation of the Ethereum protocol
Substrate8,08822613 hours ago18March 01, 20221,144apache-2.0Rust
Substrate: The platform for blockchain innovators
Parity Ethereum6,73025152 years ago14July 24, 2020n,ullotherRust
The fast, light, and robust client for Ethereum-like networks.
Polkadot6,701113 hours ago2May 21, 2022610gpl-3.0Rust
Polkadot Node Implementation
Naivechain5,028
3 years ago30apache-2.0JavaScript
A blockchain implementation in 200 lines of code
Bitcore4,5311,17345916 hours ago90September 14, 2022379mitJavaScript
A full stack for bitcoin and blockchain-based applications
Chainlink4,3867713 hours ago37September 19, 2022148mitGo
node of the decentralized oracle network, bridging on and off-chain computation
Bitcoin On Nodejs2,461
4 months ago17JavaScript
《Node.js区块链开发》,注:新版代码已开源!请star支持哦-^-:
Graph Node2,434
14 hours ago365apache-2.0Rust
Graph Node indexes data from blockchains such as Ethereum and serves it over GraphQL
Snarkos2,364273 days ago6August 27, 202087gpl-3.0Rust
A Decentralized Operating System for ZK Applications
Alternatives To Adamant Api Jsclient
Select To Compare


Alternative Project Comparisons
Readme

ADAMANT JavaScript API library

ADAMANT JavaScript API is a library intended to interact with ADAMANT blockchain for JavaScript developers. Also ADAMANT Console and ADAMANT node Direct API are available.

Features:

  • High reliability
  • GET-requests to the blockchain
  • Sending tokens
  • Sending messages
  • Creating a delegate
  • Voting for delegates
  • Caching public keys
  • Encrypting and decrypting of messages
  • Forming and signing transactions
  • Working with ADM key pairs
  • Generating crypto wallets (addresses and keys), bound to ADM account
  • Working with ADAMANT epoch time
  • Support for WebSocket connections
  • Logging warnings, errors, info

Reliability

JS API shows decentralization in action—if a network node cannot fulfill your request, the library will redirect it to another node, and so on several times. You will get the result and you do not need to think about processing the request.

Health Check system pings all nodes in the list using /status endpoint, and connects to a node with actual height. When the library unable to process request with current node, it forces to re-initialize Health Check.

Usage

Add current version of ADAMANT JavaScript API library in project's package.json in dependencies section:

  "dependencies": {
    "adamant-api": "^1.4.0",

Or install library from npm:

npm i adamant-api

Initialize the library:

const nodesList = [
  "http://localhost:36666",
  "https://endless.adamant.im",
  "https://clown.adamant.im",
  "http://23.226.231.225:36666",
  "http://88.198.156.44:36666",
  "https://lake.adamant.im"
];
const api = require('adamant-api')({ node: nodesList, logLevel: 'info' });

Request example:

api.get('blocks').then(response => {
  console.log(response.data)
})

Documentation

See Wiki for documentation and usage.

Popular Nodejs Projects
Popular Blockchain Projects
Popular Runtime Environments Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Javascript
Node
Blockchain
Encryption
Bitcoin
Crypto
Wallet
Cryptocurrency
Health
Messenger
Health Check