Skip to main content

Command Line

[block:image] { "images": [ { "image": [ "https://files.readme.io/16d2ea9-keyboard-4d5a3e1a.svg", "keyboard-4d5a3e1a.svg", 320, 320, "#998099" ] } ] } [/block]

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:

[block:code] { "codes": [ { "code": "name: my_project\ndev_dependencies:\n\tbip_topl: ^x.y.z", "language": "yaml" } ] } [/block] 3.) Run dart pub get

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