Example applications

Radixdlt-js Skeleton

This minimal sample App will showcase some of the things that can be done with the JavaScript client library.

Build Setup

# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev

Check the live version here.

Updating the live version

  1. Run npm run build to generate the production files under the dist folder.

  2. Rename it to docs.

  3. Update the repo.

Note: it may take a few minutes to update.

Tip: Check the GitHub project page for further details.

Radixdlt-js Server

This is an example server using Express.js

Setup

Install dependencies using npm install or yarn install

Start the server by running npm server or yarn serve

The default port is set to 3000

The server will generate a new address on each startup

After running the server, you can:

  • see your address by going to http://localhost:3000/

  • check you balance at http://localhost:3000/balance

  • see the list of transactions at http://localhost:3000/transfers

Tip: check the GitHub project page for further details.

Join the Radix Community