Skip to content
This repository has been archived by the owner on May 15, 2023. It is now read-only.
/ slingshot Public archive
forked from ProvableHQ/sdk

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

License

Notifications You must be signed in to change notification settings

d0cd/slingshot

 
 

Repository files navigation

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.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 100.0%