Giter Site home page Giter Site logo

aleo-workshop-encode-club's Introduction

workshop

๐Ÿ“œ A starter guide to build applications on Aleo ๐Ÿ“œ

Table of Contents

Build Guide

Prerequisites

This workshop requires the following prerequisites.

  1. Install Git

  2. Install Rust

  3. Install Leo

  4. Install snarkos

    For Windows: snasrkOS releases Using unzip and run with cmd/pw. Note: Can export enviroment to path.

  5. Install Leo Wallet

  6. Install VSCode

Aleo Testnet - how to get credits?

Aleo Discord Using faucet to get Aleo.

/sendcredits {WalletAddress} 15

Installation

Follow the instructions here to setup the Development Environment to start building Dapps on Leo

IDE Support

This workshop requires one of the following IDEs.

VSCode (Preferred)

Start by installing VSCode with bit.ly/start-vscode.

Next, in VSCode, open the VSCode Marketplace, type Leo into the search bar, and proceed to install the Leo plugin.

Leo VSCode

Sublime Text

Installation Steps

Start by installing Sublime Text with bit.ly/start-sublime.

Next, in Sublime Text, install Package Control:

  • On Windows/Linux: ctrl + shift + p, type Install Package Control, and press Enter.
  • On macOS: cmd + shift + p, type Install Package Control, and press Enter.

Next, in Sublime Text, install LSP:

  • On Windows/Linux: ctrl + shift + p, select Package Control: Install Package, type LSP, and press Enter.
  • On macOS: cmd + shift + p, select Package Control: Install Package, type LSP, and press Enter.

Lastly, in Sublime Text, install LSP-leo:

  • On Windows/Linux: ctrl + shift + p, select Package Control: Install Package, type LSP-leo, and press Enter.
  • On macOS: cmd + shift + p, select Package Control: Install Package, type LSP-leo, and press Enter.

Deploy Program

Command (no fee)

For Macos/ Linux:

PRIVATEKEY="${PRIVATEKEY}"
PROGRAM_ID="<project_name>"
snarkos developer deploy \
--private-key "${PRIVATEKEY}" \
--query https://api.explorer.aleo.org/v1 \
--priority-fee 0 \
"${PROGRAM_ID}.aleo" \
--path "./${PROGRAM_ID}/build/" \
--broadcast https://api.explorer.aleo.org/v1/testnet3/transaction/broadcast
--network 1

For Windows (Using direct .exe file):

.\snarkos developer deploy "${APPNAME}.aleo" --private-key "${PRIVATEKEY}" --query "https://api.explorer.aleo.org/v1" --path "./${APPNAME}/build/" --broadcast "https://api.explorer.aleo.org/v1/testnet3/transaction/broadcast" --priority-fee 0

Result

Result (demo):

aleo-workshop-encode-club's People

Contributors

laishawadhwa avatar

Watchers

 avatar

Forkers

dvgui

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.