CLI (Command Line Interface)

https://cli.portal.network

Introduction

A tool and list of command for developers to simplify the process of developing dApps, dWebs. The CLI currently supports functions such as creating a dApp template, attaching and removing a plugin to dApp.

In this one-stop solution, as a dApp/ dWeb developer, you will get:

  • Built-in smart contract compilation, linking, deployment, and management.

  • Automated code testing with Mocha and Chai.

  • Configurable with support technologies for custom build processes.

Documentation

kaizen new

To create the epic web3 integration project which is made by Portal Network**

Parameters:

-n [project-name]: this parameter is required.

Output:

kaizen plugin:add noia

To install NOIA Network SDK plugin via kaizen in project, this project should be used kaizen new to created

Parameters:

no parameter required

Output:

kaizen plugin:add bluzelle

To install Bluzelle SDK via kaizen in project, this project should be used kaizen new to created

Parameters

-b [vue|react]: choose the front-end boilerplate you want, default is Vue.

Usage

  • React

    In React, Bluzelle’s sdk will wrapped and pass down through component property.

  • Vue

    In Vue, Bluzelle’s sdk were wrapped into an object. Once you initialize Bluzelle, it will be returned. You can use object spread syntax to replace them into your components, or just use them like a normal object.

kaizen plugin:add nkn

To install NKN SDK plugin via kaizen in project, this project should be used kaizen new to created

kaizen build

To build the KAIZEN’s dapp, and the built code will be output into the build folder

kaizen init

To setup the configuration you need, like IPFS provider.

kaizen publish

To upload your dapp to the IPFS. You shall execute kaizen build before publish

Last updated

Was this helpful?