This section consists of concise, goal-oriented how-to guides that are designed in a manner to help the user solve specific issues.
The guides are listed in chronological order, walking the user through the basic steps of developing a blockchain application with the Lisk SDK.
The most important parts of building a blockchain application are described below:
The configuration guide covers how to configure a blockchain application and how to modify the default values.
The custom transactions guide explains how to add and register a new transaction type.
Finally, the launch the app guide describes the steps needed to move from a local devnet to a public blockchain network.
As an example, the guides use the Hello World app, which contains a very basic blockchain application with one custom transaction type and a simple frontend.
This basic example describes a minimal set of code which is required to implement a blockchain application.
If you wish to follow the guides on a 1-to-1 basis, it is recommend to set up the 'Hello World' app as described below.
Alternatively it is possible to start directly with your own use case, or a tutorial, and then refer back to the guides for further detailed information on certain specific topics, as and when required.
To set up the Hello World app, first install the prerequisites, then clone the repository and navigate into it as shown below:
git clone https://github.com/LiskHQ/lisk-sdk-examples.git cd lisk-sdk-examples/hello_world
Now install all required node modules for the node application by executing the following command below:
The next step is to spin up the devnet node by executing the following command:
node index.js | npx bunyan -o short
If the setup was successful, it will be possible to view the logs of the node in the terminal.
Once the node is started, it will spin up a local devnet with only one node, and all 101 genesis delegates forging on that node. The delegates will then add a new block to the blockchain, which will also be visible in the logs every 10 seconds.
All remaining topics of the Hello World application are explained further in the dedicated Lisk SDK guides.