Skip to content

A terminal-based application for interacting with the Tangle

License

Notifications You must be signed in to change notification settings

oopsmonk/iota_cmder

Repository files navigation

IOTA Commander

github actions

This application is for development, DO NOT USE IN PRODUCTION!!

A terminal-based application for interacting with the Tangle through iota.c. It is designed to run on PCs and embedded devices that POSIX compliant.

Commands

System

  • help: Show support commands.
  • version: Show version info.
  • node_set: Set connected node
  • node_info_conf: Display connected node.

Client APIs

  • node_info: Display node info.
  • api_msg_index: Find messages from a given Index.
  • api_get_balance: Get balance value from a given address.
  • api_msg_children: Get children from a given message ID.
  • api_msg_meta: Get metadata from a given message ID.
  • api_address_outputs: Get output IDs from a given address.
  • api_get_output: Get the output data from a given output ID.
  • api_tips: Get tips from the connected node.
  • api_send_msg: Send out a data message to the Tangle.
  • api_get_msg: Get a message data from a given message ID.

Wallet APIs

  • seed: Display wallet seed.
  • seed_set: Set wallet seed.
  • address: Display addresses from an index.
  • balance: Display balance from an index.
  • send: Send a value transaction to the Tangle.
  • mnemonic_gen: Generate a random mnemonic sentence
  • mnemonic_update: Update wallet mnemonic

How to Use

iota.c support openssl, mbedtls, libsodium crypto libraries, user can use CryptoUse to change the default openssl library.

CMake

Building the application with mbedtls

git clone https://github.com/oopsmonk/iota_cmder.git
cd iota_cmder
mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=$PWD -DCryptoUse:STRING=mbedtls ..
make -j8 && ./iota_cmder

Building the application with libsodium

git clone https://github.com/oopsmonk/iota_cmder.git
cd iota_cmder
mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=$PWD -DCryptoUse:STRING=libsodium ..
make -j8 && ./iota_cmder

About

A terminal-based application for interacting with the Tangle

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published