Skip to content

Starting a Project | Introduction to JavaScript

This guide explains how to create a project that uses the xrpl.js library to connect to the XRP Ledger and perform basic transactions.

Tools required.

  • Text editor (VS Code is recommended)
  • Node.js installation

Setting up a project

  1. Create a new directory and initialize the new Node.js project by running the following command in that directory.

    Terminal window
    npm init -y
  2. Install the xrpl.js library into the project.

    Terminal window
    npm install xrpl