Skip to main content
Deno 2 is finally here 🎉️
Learn more

deno-symbol-cli

Symbol Cli tool with Deno

Install

Change the --name option to the name of the command you want to use.

The --unstable option is required to use npm.

deno install --force --name desy --allow-env --allow-read --allow-net --unstable https://deno.land/x/deno_symbol_cli@0.1.2/main.ts

Usage


  Usage:   Deno Symbol Cli
  Version: 0.1.2

  Description:

    Symbol Cli tool with Deno

  Options:

    -h, --help                  - Show this help.                                         
    -V, --version               - Show the version number for this program.               
    -e, --endpoint  [endpoint]  - Symbol API Endpoint                        (Default: "")

  Commands:

    help      [command]  - Show this help or the help of a sub-command.
    tx        <hash>     - Get transaction info from hash              
    payload   <payload>  - Get decoded transaction from payload        
    account   <account>  - Get account info from address or public key 
    block     <height>   - Get block info from block number            
    mosaic    <id>       - Get mosaic info from mosaic id              
    chain                - Get current chain info                      
    validate  <address>  - Check if valid address

Example

desy tx -e https://00.symbol-node.eu:3001 708BD3A74CCE27C8D1A6D6002A853705CAF174CC6FFABCFDBD3D159EE2B1E1F2