npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@jmcanterafonseca-iota/iotax

v1.5.6

Published

CLI for IOTA Chrysalis

Downloads

35

Readme

iotax

CLI for Chrysalis and beyond

License badge Build badge node badge npm badge

Installation

npm install -g @jmcanterafonseca-iota/iotax

Run

On the command line just run iotax

Commands

iotax [command]

Commands:
  iotax did      DID operations
  iotax vc       VC  Operations
  iotax channel  IOTA Streams Anchoring Channel operations

Options:
  --version  Show version number                                       [boolean]
  --mainnet  IOTA Mainnet                                              [boolean]
  --testnet  IOTA testnet                                               [boolean]
  --comnet   IOTA Comnet                                               [boolean]
  --net, -n  Node's endpoint or other IOTA network                     [string]
  --help     Show help                                                 [boolean]

DID

iotax did

DID Operations

Commands:
  iotax did create   DID Creation
  iotax did resolve  DID Resolution

Options:
  --version   Show version number                                      [boolean]
  --mainnet   IOTA Mainnet                                             [boolean]
  --testnet   IOTA testnet                                              [boolean]
  --comnet    IOTA Comnet                                              [boolean]
  --net, -n   Node's endpoint or other IOTA network                     [string]
  --help      Show help                                                [boolean]

DID Creation

iotax did create

DID Creation

Options:
  --version     Show version number                                      [boolean]
  --mainnet     IOTA Mainnet                                             [boolean]
  --testnet     IOTA testnet                                              [boolean]
  --comnet      IOTA Comnet                                              [boolean]
  --net, -n     Node's endpoint or other IOTA network                     [string]
  --help        Show help                                                [boolean]
  --didService  List of DID services (JSON Array)                        [string]

DID Resolution

iotax did resolve

DID Resolution

Options:
  --version   Show version number                                      [boolean]
  --mainnet   IOTA Mainnet                                             [boolean]
  --testnet   IOTA testnet                                              [boolean]
  --comnet    IOTA Comnet                                              [boolean]
  --net, -n   Node's endpoint or other IOTA network                     [string]
  --help      Show help                                                [boolean]
  --did      DID to be resolved                              [string] [required]

Verifiable Credentials (VC)

iotax vc

Verifiable Credential operations

Commands:
  iotax vc issue   VC issuance
  iotax vc verify  VC verification

Options:
  --version  Show version number                                       [boolean]
  --mainnet  IOTA Mainnet                                              [boolean]
  --testnet  IOTA testnet                                               [boolean]
  --comnet   IOTA Comnet                                               [boolean]
  --net, -n  Node's endpoint or other IOTA network                     [string]
  --help     Show help                                                 [boolean]
  --method   Verification Method                             [string] [required]

Issuing a VC

iotax vc issue

VC issuance

Options:
  --version  Show version number                                       [boolean]
  --mainnet  IOTA Mainnet                                              [boolean]
  --testnet  IOTA testnet                                               [boolean]
  --comnet   IOTA Comnet                                               [boolean]
  --net, -n  Node's endpoint or other IOTA network                     [string]
  --help     Show help                                                 [boolean]
  --method   Verification Method                             [string] [required]
  --issuer   DID of the issuer of the VC                     [string] [required]
  --expDate  Expiration Date                                 [string] [optional]
  --secret   Secret key of the issuer                        [string] [required]
  --subject  (D)ID of the subject of the VC                  [string] [required]
  --claims   Credential claim data (As a JSON Object)        [string] [required]
  --type     Credential type                                 [string] [required]
  --id       Credential id                                              [string]
  --json     Output the credential in JSON format ready for cyp        [boolean]

Verifying a VC or a VP

iotax vc verify

VC verification

Options:
  --version  Show version number                                       [boolean]
  --mainnet  IOTA Mainnet                                              [boolean]
  --testnet  IOTA testnet                                               [boolean]
  --comnet   IOTA Comnet                                               [boolean]
  --net, -n  Node's endpoint or other IOTA network                     [string]
  --help     Show help                                                 [boolean]
  --vc       Verifiable Credential to be verified (As JSON)  [string] [required]
  --vp       Verifiable Presentation to be verified (As JSON)  [string] [required]

Presenting a VC

iotax vc present

Options:
  --version  Show version number                                       [boolean]
  --testnet  IOTA Chrysalis Testnet                                    [boolean]
  --mainnet  IOTA Chrysalis Mainnet                                    [boolean]
  --comnet   IOTA Comnet                                               [boolean]
  --net, -n  Node's endpoint or other IOTA network                     [string]
  --help     Show help                                                 [boolean]
  --vc       VC to be presented                              [string] [required]
  --holder   Holder who presents the credential. By default is the credential
             subject                                                    [string]
  --method   Verification Method                             [string] [required]
  --secret   Secret key of the holder                        [string] [required]
  --id       Presentation id                                            [string]
  --type     Presentation type                                          [string]
  --json     Output the credential presentation in JSON format ready for cyp
                                                                       [boolean]

Anchoring Channels

Anchoring Channels operations (Powered by IOTA Streams)

Commands:
  iotax channel anchor  Anchors a message to an IOTA Streams Channel
  iotax channel fetch   Fetches one or more messages previously anchored to an
                        IOTA Streams Channel

Options:
  --version  Show version number                                       [boolean]
  --testnet  IOTA Chrysalis Testnet                                    [boolean]
  --mainnet  IOTA Chrysalis Mainnet                                    [boolean]
  --comnet   IOTA Comnet                                               [boolean]
  --net, -n  Node's endpoint or other IOTA network                     [string]
  --help     Show help                                                 [boolean]

Anchor message

iotax channel anchor

Anchors a message to an IOTA Streams Channel

Options:
  --version      Show version number                                   [boolean]
  --testnet      IOTA Chrysalis Testnet                                [boolean]
  --mainnet      IOTA Chrysalis Mainnet                                [boolean]
  --comnet       IOTA Comnet                                           [boolean]
  --net, -n       Node's endpoint or other IOTA network                     [string]
  --help         Show help                                             [boolean]
  --seed, -s     IOTA Streams Channel seed                              [string]
  --msg          (JSON) Message content to be anchored       [string] [required]
  --channel      ID of the Channel ('address:announceMsgID') to anchor the
                 message to                                             [string]
  --anchorageID  The anchorage point (message) ID to anchor the message to
                                                                        [string]

Fetch message(s)

iotax channel fetch

Fetches one or more messages previously anchored to an IOTA Streams Channel

Options:
  --version      Show version number                                   [boolean]
  --testnet      IOTA Chrysalis Testnet                                [boolean]
  --mainnet      IOTA Chrysalis Mainnet                                [boolean]
  --comnet       IOTA Comnet                                           [boolean]
  --net, -n      Node's endpoint or other IOTA network                     [string]
  --help         Show help                                             [boolean]
  --seed, -s     IOTA Streams Channel seed                              [string]
  --channel      ID of the Channel ('address:announceMsgID') from which to fetch
                 the message                                            [string]
  --msgID        ID of the message to be fetched                        [string]
  --anchorageID  ID of the anchorage where the message(s) to be fetched are
                 anchored to                                            [string]