Command Line

Install Anywhere (npm)

If you use Node.js, you can install Topl Addresses using npm by running npm install -g bip_topl

However, please note that this will install the pure JavaScript implementation of Topl Addresses, which runs somewhat slower than the other options listed here. But it has the same interface, so it'll be easy to swap in another implementation later if you need a bit more speed!

Once you have run the above command, don't forget to require() it as a library!

When install via npm, Topl Addresses supports a Javascript API that aims to be compatible with Node. Full compatibility is a work in progress.

Dart Library

You can also use Dart Bip for Topl to get the speed of the Dart VM plus the ability to extend functions. To add it to an existing project:

1.) Install the Dart SDK. Make sure that its bin directory is on your path.
2.) Create a pubspec.yaml file like this:

name: my_project
dev_dependencies:
    bip_topl: ^x.y.z

3.) Run dart pub get

5.) Learn more about writing Dart code (it's easy!)