Setup / Installation
  • This guide assumes you are running Linux Ubuntu 20 (alternatively, use a Virtual Machine or use WSL2)

Installing NPM using NVM

When I develop web3 applications, I exclusively use Javascript and NodeJS. To use the NodeJS Environment, you will need Node Package Manager (NPM). The best way to install NPM is by first installing NVM. (haha, sorry.)
To install NVM on Linux, simply follow the instructions on the Github Readme titled 'Installing and Updating':
GitHub - nvm-sh/nvm: Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions
Once you have installed NVM, open a new Terminal and type 'nvm'. You should see a list of commands. Then, type 'nvm install x' where x is the version number of NPM that you would like to install. For example, 'nvm install 10' will install version 10, a relatively common version. (Some apps will require that you install and use a different version, its usually noted in their Readme docs.)

Getting Started

Now that you have NPM installed, the world is at your fingertips.
Clone the Infernal-Simple-Dapp template in a terminal with the command:
Then follow the readme instructions to build the dapp from source locally.
Last modified 10mo ago