0.11.4 • Published 18 days ago

klayr-framework v0.11.4

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
18 days ago

Logo

Klayr Framework

License: Apache 2.0

What is Klayr Framework

Klayr Framework is an application framework to create a blockchain application compatible with the Klayr protocol. It provides an application where off-chain and on-chain logic can be extended with user defined plugins and modules.

Architecture Overview

The diagram below provides a high-level overview of the architecture:

Logo

The framework consists of 3 main parts, an application, a controller and a node.

The application is an entry point and manages the controller and the node. The node is responsible for blockchain protocol logic using user defined modules, while the controller is responsible for maintaining plugins and managing the interaction between plugins and the application.

Installation

$ npm install --save klayr-framework

Tests

npm run test:<testType>

testType can be unit|integration|functional

Executing the tests per file:
npm run test:<testType> -- [testPathPattern] [jestCliOptions]

Contribution

To test the changes in framework you can run example application under examples,

./bin/run start

If you want to test the changes in klayr-sdk/elements to reflect in klayr-sdk/framework, please make sure you run npm run build at klayr-sdk after making any changes in elements library and run the example app above.

Get Involved

ReasonHow
Want to chat with our communityReach them on Discord
Found a bugOpen a new issue
Found a security issueSee our bounty program
Want to share your researchPropose your research
Want to develop with usCreate a fork

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.