Skip to content
/ aleo Public
forked from ProvableHQ/sdk

A Software Development Kit (SDK) for Zero-Knowledge Transactions

License

Notifications You must be signed in to change notification settings

dieface/aleo

 
 

Repository files navigation

Aleo SDK

The Aleo SDK is a developer framework to make it simple to create a new account, craft a transaction, and broadcast it to the network.

Table of Contents

1. Overview

** ATTENTION: This codebase is in active development. **

For more information, visit Welcome to Aleo to get started.

2. Build Guide

2.1 Install Rust

We recommend installing Rust using rustup. You can install rustup as follows:

2.2a Build from Crates.io

We recommend installing aleo this way. In your terminal, run:

cargo install aleo

Now to use aleo, in your terminal, run:

aleo

2.2b Build from Source Code

Alternatively, you can install aleo by building from the source code as follows:

# Download the source code
git clone https://github.com/AleoHQ/aleo && cd aleo

# Install Aleo
$ cargo install --path .

Now to use aleo, in your terminal, run:

aleo

3. Usage Guide

3.1 Generate a new Aleo account.

To generate a new Aleo account, run:

aleo account new [FLAGS] [OPTIONS]

The command can be run with the following optional parameters:

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -s, --seed <seed> 

3.2 Decrypt an Aleo record ciphertext.

To decrypt a record and view its contexts, run:

aleo record from [FLAGS] [OPTIONS]

The command can be run with the following optional parameters:

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -c, --ciphertext <ciphertext> (required) The cipherext hex string.
    -k, --viewkey <view-key> (required) The Aleo view key string to decrypt the ciphertext.

About

A Software Development Kit (SDK) for Zero-Knowledge Transactions

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 83.6%
  • JavaScript 13.2%
  • HTML 1.9%
  • Other 1.3%