Skip to content

A command line tool written in Swift used to manipulate the Envelope data type.

Notifications You must be signed in to change notification settings

BlockchainCommons/envelope-cli-swift

Repository files navigation

envelope

A Swift command line tool for manipulating the Gordian Envelope data type.

Written by Wolf McNally for Blockchain Commons.

Dependencies and Resources

  • Introduction to Envelope
  • Envelope Docs
  • BC Secure Components - A collection of useful primitives for cryptography, semantic graphs, and cryptocurrency in Swift. Includes the reference implementation of the Envelope type.
  • BC Foundation - A collection of useful primitives for cryptocurrency wallets.
  • URKit - An iOS framework for encoding and decoding URs (Uniform Resources).
  • Research - Research and proposals of interest to the blockchain community.

Documentation and Examples

The following docs exemplify the basic functionality of the envelope-cli app.

Videos

For more examples of envelope-cli usage, see the envelope-cli videos and their transcripts.

Building

You will need Xcode 15 or later installed.

From the cloned repository directory, the following command will compile the tool and install it in the /usr/local/bin/ directory so it is available from the command line. The install.sh script will require you to enter your password to complete the install.

./install.sh

To check your installation, run:

envelope help

If you only want to run the tool from the command line without installing it:

./build.sh
swift run --run EnvelopeTool help

NOTE: If you run envelope with no arguments, it will begin waiting on input from stdin and you will need to press ^C to exit it.

NOTE: There is an uninstall.sh script if you wish to remove the tool.

From here, visit the Overview of Commands to start learning how to use the tool. If you are unfamiliar with the Envelope type, we suggest starting with the Introduction to Envelope.

About

A command line tool written in Swift used to manipulate the Envelope data type.

Resources

Stars

Watchers

Forks

Packages

No packages published