Main commands
This page covers the top three functionalities of DappnodeSDK: init
, build
, and publish
. Each command plays a crucial role in the development and deployment process of dappnode packages (DNPs).
init
The init
command allows you to initialize a new DAppNodePackage (DNP) repository. This is the first step when creating a new DNP. To use the init
command, run the following:
npx @dappnode/dappnodesdk init
The following are all the possible init
options:
build
The build command is used to build a new version of a DNP. It generates the IPFS hash for the package. To use the build command, run the following:
npx @dappnode/dappnodesdk build
The following are all the possible build
options:
publish
The publish
command is used to publish a new version of the DNP in an Aragon Package Manager Repository. To use the publish
command, run the following:
npx @dappnode/dappnodesdk publish
The following are all the possible publish
options: