6.0.3 • Published 2 months ago

@klayr/elements v6.0.3

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 months ago

Klayr Elements

Klayr Elements is a JavaScript library for building blockchain applications in the Klayr network

Installation

Installation via npm

Add Klayr Elements as a dependency of your project:

$ npm install --save @klayr/elements

Import using ES6 modules syntax:

import * as klayr from '@klayr/elements';

Or using Node.js modules:

const klayr = require('@klayr/elements');

Or import specific namespaced functionality:

import { transactions } from '@klayr/elements';
// or
const { transactions } = require('@klayr/elements');

Packages

PackageVersionDescription
@klayr/elementsnpmPackage contains everything
@klayr/api-clientnpmAn API client for the Klayr network
@klayr/chainnpmImplements blocks and state management that are used for block processing according to the Klayr protocol
@klayr/codecnpmDecoder and encoder using Klayr JSON schema according to the Klayr protocol
@klayr/cryptographynpmGeneral cryptographic functions for use with Klayr-related software
@liskhq/lisk-dbnpmA database access implementation for use with Klayr-related software
@klayr/p2pnpmunstructured P2P library for the Klayr protocol
@klayr/passphrasenpmMnemonic passphrase helpers for use with Klayr-related software
@klayr/transactionsnpmEverything related to transactions according to the Klayr protocol
@klayr/transaction-poolnpmTransaction pool implementation for the Klayr network
@klayr/treenpmMerkle tree implementations for use with Klayr-related software
@klayr/utilsnpmGeneric utility functions for use with Klayr-related software
@klayr/validatornpmValidation library according to the Klayr protocol

License

Copyright 2016-2020 Lisk Foundation

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.