Before you can start using the Open Source NFT & Wallet Auth Framework for Cardano, you will need to set up an appropriate development environment. A crucial part of this setup is installing Visual Studio Code (VSCode), a popular code editor that offers great support for JavaScript and blockchain development.
Visual Studio Code is a lightweight but powerful source code editor which runs on your desktop and is available for Windows, macOS, and Linux. It comes with built-in support for JavaScript, TypeScript, and Node.js and has a rich ecosystem of extensions for other languages (such as C++, C#, Java, Python, PHP, Go) and runtimes.
Step 1: Download VSCode
Go to the official Visual Studio Code website.
Click on the download link for your operating system (Windows, macOS, or Linux).
Follow the download instructions provided on the site.
Step 2: Install VSCode
For Windows:
Run the downloaded installer (.exe
file).
Follow the prompts in the Setup Wizard to complete the installation.
You can accept the default settings, which include adding VSCode to your path, to make it accessible from the command line.
For macOS:
Open the downloaded .zip
archive.
Move the Visual Studio Code
app to your Applications folder.
Launch it from your Applications folder or Spotlight search.
For Linux:
Depending on the distribution, you can install VSCode using snap
, apt
, or yum
:
For Debian/Ubuntu-based distributions: sudo apt install code
For Fedora/RHEL-based distributions: sudo yum install code
For any Linux distribution supporting Snap Packages: sudo snap install --classic code
Step 3: Verify Installation
Once installed, open Visual Studio Code by searching for it in your start menu or applications directory. You can verify that it's correctly installed by opening a new terminal or command prompt and typing:
Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine. It is crucial for running the development server and various build tools needed when working with JavaScript frameworks, including our Open Source NFT & Wallet Auth Framework for Cardano.
Node.js can be installed on Windows, macOS, and Linux, and comes with npm
(node package manager), which is used to install libraries and tools needed for modern JavaScript development.
Step 1: Download Node.js
Visit the official Node.js website.
You will see options for the "LTS" (Long-Term Support) version and the "Current" version. We recommend downloading the LTS version for better stability and support.
Click on the download link for your operating system.
Step 2: Install Node.js
For Windows:
Run the downloaded installer (.msi
file).
Follow the instructions provided by the installer, which will guide you through the setup process including the installation of npm
.
Make sure to check the boxes that allow Node.js
and npm
to be added to your PATH if they are not selected by default.
For macOS:
Open the downloaded .pkg
file.
Follow the instructions in the installation wizard to install Node.js and npm
.
The installer will also automatically add Node.js and npm
to your PATH.
For Linux:
You can install Node.js via the package manager of your Linux distribution. For most popular distributions, NodeSource provides convenient install scripts:
For Debian/Ubuntu-based distributions:
For Fedora, Enterprise Linux, and Fedora-based distributions:
These scripts will install Node.js and npm
and add them to your PATH.
Step 3: Verify Installation
To check that Node.js and npm
are correctly installed, open a terminal or command prompt and type: