dApp Store CLI
The BlockApps STRATO CLI makes it easy to upload apps to your STRATO node.
STRATO CLI requires NodeJS 6 or above
In your terminal, run:
npm install -g strato-cli
Test your installation:
We need to let the CLI know which node to deploy the app to.
You can use STRATO Public Network running at https://stratodemo.blockapps.net or you can run own local instance of STRATO using https://github.com/blockapps/strato-getting-started
Deploy to BlockApps Public (Demo) Node
Create a Developer account on STRATO Public Network https://stratodemo.blockapps.net
Faucet your account after login to your account from
Don’t forget to faucet your account!
Deploy to Your Node
strato config. You will be prompted for a
<username>, type in your username of the account created above. For
<hostname> you will be prompted to press [Enter] or [Space] as below. Enter the URL of your node (e.g. http://localhost)
Create a Sample App
strato init, and enter the information about your app:
app # <any title> app## <any## > version: <any version number> email: <your email address>
Completing this step will create a new folder with the
app’s title in the current directory.
cd into the app directory and review the file contents, you should have the following:
app directory ├─ contracts/ │ └─ ...all solidity contract files (*.sol) │ ├─ metadata.json │ └─ index.html
Upload the app to your STRATO node by running the following command from your home directory where
<app name> is the folder created in above steps.
For example if the
app's title in the above steps is SampleApp in my home folder then upload command will be
strato upload SampleApp
Linux/Mac strato upload path/to/<app name> Windows strato upload path\to\<app name>
You will be prompted for a
password for the STRATO User you created at the start of this guide.
Upon successful upload of the application, you will receive the following response including the URL of the deployed app:
application successfully deployed with url http://<hostname>/apps/<unique url>
Strato Public Network the app will be visible in the App Launchpad, you can view it and use it by navigating to: http://stratodemo.blockapps.net/dashboard/#/apps
Check User Balance
Balance will displayed in
wei for configured user
For additional commands for the STRATO CLI Tool, run