#cosmwasm #sgx #quartz #cycle #cosmos #command-line-tool

app quartz-rs

A CLI tool to streamline development and deployment of Quartz applications. Quartz is a flexible framework for privacy-preserving computation via Trusted Execution Environments (TEEs) organized and secured by smart contracts.

2 unstable releases

0.1.0 Oct 17, 2024
0.0.0 Sep 25, 2024

#7 in #cycles

Download history 130/week @ 2024-09-23 25/week @ 2024-09-30 3/week @ 2024-10-07 129/week @ 2024-10-14 7/week @ 2024-10-21

136 downloads per month

Apache-2.0

165KB
3K SLoC

quartz CLI

A CLI tool to manage Quartz applications. The quartz CLI tool is designed to streamline the development and deployment process of Quartz applications.

It provides helpful information about each command and its options. To get a list of all available subcommands and their descriptions, use the --help flag:

$ quartz --help

Quartz 0.1.0
A CLI tool to manage Quartz applications

USAGE:
    quartz [SUBCOMMAND]

OPTIONS:
    -h, --help       Print help information
    -V, --version    Print version information

SUBCOMMANDS:
    init        Create base Quartz app directory from template
    build       Build the contract and enclave binaries
    enclave     Enclave subcommads to configure Gramine, build, sign, and start the enclave binary
    contract    Contract subcommads to build, deploy the WASM binary to the blockchain and call instantiate
    handshake   Run the handshake between the contract and enclave

Installation

To install Quartz, ensure you have Rust and Cargo installed. Then run:

cargo install quartz-rs

Usage

See the getting started.

Run quartz init to copy the example app into a new directory. Quartz apps are organized like:

myapp/
├── contracts/
├── enclave/
├── frontend/
└── README.md

Dependencies

~100MB
~2M SLoC