aladinjs-cli
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

Intended Audience

This tool is meant for developers only -- it is meant to be used for testing and debugging Aladin apps in ways that the Browser does not yet support. It is not safe to use this tool for day-to-day tasks, since many commands operate on unencrypted private keys. Everyone is encouraged to use the [Aladin

Installation

Requirements

Install the CLI

$ npm install -g https://github.com/ALADINIO/aladinjs-cli

This should install aladinjs-cli to your $PATH.

Troubleshooting

If running into EACCES permissions errors:

How to Use

The CLI has a built-in help system. Just run aladinjs-cli to access it. You can list all command documentation with aladinjs-cli help all.

Examples

$ aladinjs-cli gaia_listfiles --gaia_hub "https://hub.aladinnetwork.org" --app_private_key 3fb610986b2f80af87508ed3b699c4146cb4589264e521402fae6c4f969ab09e
/documents/1564791377194.json
/documents/1564791386260.json
/documents/1564791394787.json
documentscollection.json
key.json
5

How to Contribute

This tool is targeted towards Aladin developers. Patches to fix bugs are welcome!

Project Scope

The following features are considered in-scope for this tool:

  • Generating and broadcasting all supported types of Aladin transactions
  • Loading, storing, and listing data in Gaia hubs
  • Generating owner, payment and application keys from a seed phrase
  • Querying Aladin Core nodes
  • Implementing a minimum viable authentication flow

Everything else is out of scope. Specifically, the following will not be added to this tool:

  • Anything that requires persistent disk state -- this includes software wallets, configuration files, and so on
  • Anything that involves administrating other Aladin services
  • Features specific to a particular Aladin app
  • Any sort of plugin or extension system

How to Reach Other Aladin Devs

The best place to discuss CLI and app development is on the Aladin Forum.

Package Sidebar

Install

npm i aladinjs-cli

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

763 kB

Total Files

42

Last publish

Collaborators

  • aladinnetwork