Skip to main content

Cudos Blast

Cudos Blast is a useful tool to support smart contract compilation, deployment and interaction.

00 Prerequisites

Before you get started with Cudos Blast, ensure you have met the following prerequisites:

PrerequisiteMinimum versionRecommended version
Install Node.js14.15.016.10.0
Install npm6.9.07.24.0
Install Docker engine19.03.1320.10.12
Install Docker compose1.27.41.29.2
WINDOWs USERS

For Windows users we recommend using Windows Subsystem for Linux (WSL). To avoid permission issues with WSL, you may have to change npm default directory.

01 Setup Rust

The Cudos chain works with Rust

Checkout Setup Rust

02 Install Cudos Blast

Globally

Use npm to install Cudos Blast CLI tool globally. This means you can create a new project anywhere.

info

This project needs to run as root using sudo

sudo npm install cudos-blast -g

# confirm installation
blast --version
TIP

Use npx cudos-blast to run commands. This ensures you are always using the latest version.

Locally - Add to a single project

If you only want to install Cudos Blast into a single project then do the following:

# Create a folder for your project
mkdir myproject
cd myproject

# Initialise a project and follow the prompts
blast init

# Confirm installation
blast --version
Congratulations 🎉

If a blast version is returned, you have successfully installed Cudos Blast.