All Projects β†’ LiskHQ β†’ Lisk Core

LiskHQ / Lisk Core

Licence: apache-2.0
πŸ“Ÿ Lisk blockchain application platform

Programming Languages

javascript
184084 projects - #8 most used programming language
typescript
32286 projects

Projects that are alternatives of or similar to Lisk Core

application
AdonisJS application class to read app related data
Stars: ✭ 19 (-75.95%)
Mutual labels:  application, core
Bee
A framework for IOTA nodes, clients and applications in Rust
Stars: ✭ 176 (+122.78%)
Mutual labels:  application, blockchain
Zazu
πŸš€ A fully extensible and open source launcher for hackers, creators and dabblers.
Stars: ✭ 2,060 (+2507.59%)
Mutual labels:  platform, core
Fsfirestore
Functional F# library to access Firestore database hosted on Google Cloud Platform (GCP) or Firebase.
Stars: ✭ 22 (-72.15%)
Mutual labels:  platform, core
server
Server/API for Vela (Target's official Pipeline Automation Framework)
Stars: ✭ 74 (-6.33%)
Mutual labels:  application, core
zazu
πŸš€ A fully extensible and open source launcher for hackers, creators and dabblers.
Stars: ✭ 2,078 (+2530.38%)
Mutual labels:  platform, core
Hive
Fast. Scalable. Powerful. The Blockchain for Web 3.0
Stars: ✭ 142 (+79.75%)
Mutual labels:  blockchain, platform
worker
Worker for Vela (Target's official Pipeline Automation Framework)
Stars: ✭ 27 (-65.82%)
Mutual labels:  application, core
cli
CLI for Vela (Target's official Pipeline Automation Framework)
Stars: ✭ 23 (-70.89%)
Mutual labels:  application, core
Learn Solidity
Code base for "Learn Solidity: Programming Language for Ethereum Smart Contracts" course in Tosh Academy & Blockchain Council
Stars: ✭ 44 (-44.3%)
Mutual labels:  application, blockchain
Portis Sdk
Portis Web SDK [DEPRECATED, PLEASE USE OUR NEW SDK: https://github.com/portis-project/web-sdk]
Stars: ✭ 78 (-1.27%)
Mutual labels:  blockchain
Marketprotocol
Ethereum based derivatives trading protocol creating digital tokens for any asset
Stars: ✭ 78 (-1.27%)
Mutual labels:  blockchain
Blockchain golang
Blockchain demo based on golang 基于golangηΌ–ε†™ηš„εŒΊε—ι“Ύε…¬ι“Ύdemo
Stars: ✭ 80 (+1.27%)
Mutual labels:  blockchain
Trust Wallet Ios
πŸ“± Trust - Ethereum Wallet and Web3 DApp Browser for iOS
Stars: ✭ 1,228 (+1454.43%)
Mutual labels:  blockchain
Hardware Libraries
Particle parts for computer-aided design (CAD)
Stars: ✭ 77 (-2.53%)
Mutual labels:  core
Evt
Boost Engine for Token Economy
Stars: ✭ 1,226 (+1451.9%)
Mutual labels:  blockchain
Iroha Javascript
JavaScript library for Iroha, a Distributed Ledger Technology (blockchain) platform.
Stars: ✭ 77 (-2.53%)
Mutual labels:  blockchain
Blockerized Dockchain
Because all problems are solvable with containers and blockchains
Stars: ✭ 77 (-2.53%)
Mutual labels:  blockchain
Db Seeder
A database seeder app for MySQL
Stars: ✭ 77 (-2.53%)
Mutual labels:  application
Quick Screen Recorder
Lightweight desktop screen recorder for Windows.
Stars: ✭ 80 (+1.27%)
Mutual labels:  application

Logo

Lisk Core

License: Apache 2.0 GitHub tag (latest by date) GitHub repo size DeepScan grade GitHub issues GitHub closed issues

Lisk is a next-generation crypto-currency and decentralized application platform, written entirely in JavaScript. The official documentation about the whole ecosystem can be found in https://lisk.io/documentation.

Lisk Core is the program that implements the Lisk Protocol. In other words, Lisk Core is what every machine needs to set-up to run a node that allows for participation in the network.

This document details how to install Lisk Core from source and from npm registry, but there are two other ways to participate in the network: binaries and Docker images. If you have satisfied the requirements from the Pre-Installation section, you can jump directly to the next section Installation Steps.

Index

Installation

Dependencies

The following dependencies need to be installed in order to run applications created with the Lisk SDK:

Dependencies Version
NodeJS 12.20.1

You can find further details on installing these dependencies in our pre-installation setup guide. Clone the Lisk Core repository using Git and initialize the modules.

From Source

git clone https://github.com/LiskHQ/lisk-core.git
cd lisk-core
git checkout master
npm ci
npm run build
./bin/run --help

From NPM

$ npm install -g lisk-core
$ lisk-core COMMAND
running command...
$ lisk-core (-v|--version|version)
lisk-core/3.0.0-beta.2.5 darwin-x64 node-v12.20.0
$ lisk-core --help [COMMAND]
USAGE
  $ lisk-core COMMAND
...

Command Topics

Autocomplete

To use autocomplete feature for commands & flags follow the instructions after running

$ lisk-core autocomplete

Managing Lisk Node

To start a Lisk Core node as a background process, we recommend using a process management tool, such as PM2.

Example using PM2

npm i -g pm2
pm2 start "lisk-core start" --name lisk-mainnet
pm2 status
pm2 logs lisk-mainnet

For a more advanced options refer to PM2 documentation.

Configuring Lisk Node

lisk-core start supports flag and environment variable options to configure a node.

Also, custom configuration through JSON file is available through the --config, -c flag.

Example

With custom config file ./custom-config.json below

{
  "network": {
    "port": 5000,
  },
  "transactionPool": {
    "maxTransactions": 8096,
    "maxTransactionsPerAccount": 1024,
  },
  "forging": {
    "delegates": [{
      "encryptedPassphrase": "iterations=10&cipherText=0dbd21ac5c154dbb72ce90a4e252a64b692203a4f8e25f8bfa1b1993e2ba7a9bd9e1ef1896d8d584a62daf17a8ccf12b99f29521b92cc98b74434ff501374f7e1c6d8371a6ce4e2d083489&iv=98a89678d1ccd054b85e3b3c&salt=c9cb4e7783cacca6c0e1c210cb9252e1&tag=5c66c5e75a6241538695fb16d8f0cdc9&version=1",
      "hashOnion": {
        "count": 10000,
        "distance": 1000,
        "hashes": [
          "aaf012545a584890a169cf57d8f7e688",
          "f7a3fb976e50d882c709edb63bde4d9c",
          "1bd121882cb1dee1107699001c2676fb",
          "c4ad7d98da02c94ef8bda2f80d35290a",
          "096f0e77f963face5e99b9db460ce45f",
          "de3d0c34bdcbdcfa2b7b1871c99d4948",
          "5deb5e369a98510932835d74768cf86c",
          "c0cd6ce3f75256149c8fe5d0bffdc99a",
          "1a32706893f1523db0c7bb81be5e55ac",
          "7e8f1ea4aa317993152e1a6b55b16f25",
          "5e5100bbd2c2d5e00197d4ec19102dd6"
        ]
      },
      "address": "9cabee3d27426676b852ce6b804cb2fdff7cd0b5"
    }],
  },
  "plugins": {
    "httpApi": {
      "port": 7000,
    },
  },
}

Running a command will overwrite the default config and use the specified options.

lisk-core start -n devnet -c ./custom-config.json

For a more detailed understanding of configuration read this online documentation.

Tests

Automated tests

All automated tests will run with the below command.

npm test

Running a local development node

In order to run a node for a local test, in a root folder of lisk-core, run below command.

./bin/run start -n devnet --data-path ./devnet-data --port 3333 --api-ws --enable-http-api-plugin --http-api-plugin-port 3334 --enable-forger-plugin

This command will start a lisk-core node using data path ./devent-data with HTTPAPI and Forger Plugins. Data on the node can be obtained by commands like

./bin/run node:info --data-path ./devnet-data
./bin/run block:get 3 --data-path ./devnet-data

Contributors

https://github.com/LiskHQ/lisk-core/graphs/contributors

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].