d0cd / slingshot

A lightweight CLI for deploying programs and executing transactions on Aleo.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

slingshot

slingshot has been archived. Please use snarkOS and the associated Developer CLI to run a beacon node for local developement.

Archive

Slingshot is a lightweight CLI for deploying programs and executing transactions on Aleo.

Table of Contents

1. Overview

For more information on Aleo, 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.2 Build from Source Code

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

# Download the source code
git clone https://github.com/d0cd/slingshot.git

# Enter the 'slingshot' directory
cd slingshot

# Install 'slingshot'
cargo install --path .

Now to use slingshot, in your terminal, run:

slingshot

3. Usage Guide

3.1 Starting a development node

slingshot node start --key <PRIVATE_KEY>

3.2 Pour from faucet

slingshot pour <ADDRESS> <AMOUNT>

3.2 Deploying a program

slingshot deploy --path <PATH_TO_DIR> 

3.3 Executing a program

slingshot execute <PROGRAM_NAME> <FUNCTION_NAME> <INPUTS>

About

A lightweight CLI for deploying programs and executing transactions on Aleo.

License:GNU General Public License v3.0


Languages

Language:Rust 100.0%