Skip to main content

Build a dApp on CudoCompute

In this tutorial, we're going to set up a simple dApp on CudoCompute using create-cosmos-app created by Cosmology.

CudoCompute

01 Get started on CudoCompute

  1. Register an account at CudoCompute

  2. Add an SSH key Check out how

  3. Create a billing account and set up a project. Create a billing account Create a project

  4. Create a Virtual Machine Be sure to select Ubuntu Minimal 20.04

  5. SSH into the machine.

info

Let us know your thoughts by leaving feedback on the CudoCompute platform

02 Install create-cosmos-app on Ubuntu 20.04

  1. Update the package manager (press 1 when prompted to):
apt-get update && apt-get -y upgrade
  1. Run the following curl command
curl node:
curl -fsSL https://deb.nodesource.com/setup_19.x | sudo -E bash -
  1. Install node and git
sudo apt-get install -y nodejs
sudo apt-get install -y git
  1. Use npm to install yarn and create-cosmos-app
npm install --global yarn
npm install -g create-cosmos-app
  1. Run create-cosmos-app
create-cosmos-app
Name your app and set multi-chain:
? [name] Enter your new app name: my-app

Cloning into 'my-app'...

? [template] which template (Use arrow keys)

> connect-multi-chain

(you may need to wait a while)

  1. Change directory and run your app
cd my-app
yarn && yarn dev

Open the IP of your server in a web browser on port 3000, eg (http://34.246.34.92:3000)

🎉

Well done!