How to get ABT Node?

Currently, we can only get ABT Node working for Linux and macOS. If you are using another OS like Windows, you can use a virtual machine and make sure your ABT Wallet can access your VM's IP address.

Step 1: Install nvm

To install nvm, run this command:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh)"
Sample output

install nvm

Note: You can also use one of the two commands from nvm's repo nvm or from the hidden content of this line, but this one works with both Linux and macOS.

This one works on macOS:

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash

and this one works on Linux:

wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash

Step 2: Install Node.js and npm

Get the latest LTS version of Node.js using this command (you can list all versions with nvm ls-remote):

nvm ls-remote | grep 'Latest LTS'
Sample output

list Node.js versions

At the time of writing this document, the latest LTS version is v12.18.3.

Then, install Node.js, which will automatically install npm (replace v10.22.0 with the version number):

nvm install v12.18.3
Sample output

install Node.js

Note: You can install the latest version of Node.js instead by running this command: nvm install-latest-npm

Step 3: Install ABT Node

Now, run this command to install ABT Node with npm:

npm install -g @abtnode/cli
Sample output

install ABT Node

Step 4: Install and set up ABT Wallet

Install ABT Wallet for iOS or Android at ABT Wallet. Then, open up the app and follow the directions in the app to set up your wallet.

Step 5: Install an IDE

If you are going to create blocklets, you are recommended to install an IDE. A popular IDE you can try is VSCode.