Skip to content

The final phase of the test net Aleo and deployment of the smart contract

Notifications You must be signed in to change notification settings

iimehdii/aleo_test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

aleo_test

The final phase of the test net Aleo and deployment of the smart contract aleo deyploy

start:

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

source $HOME/.cargo/env

rustup install stable

rustup update stable

rustup default stable

git clone https://github.com/AleoHQ/leo cd leo

apt install clang gcc libssl-dev pkg-config

cargo install --path .

git clone https://github.com/AleoHQ/snarkOS.git --depth 1 cd snarkOS

./build_ubuntu.sh

cargo install --path .

send sms

@AleoFaucet send 10 credits to alexxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

After receiving fast via SMS, insert your record with Viewkey and get a new record

cd $HOME

mkdir demo_deploy_Leo_app && cd demo_deploy_Leo_app

WALLETADDRESS=""

APPNAME=helloworld_"${WALLETADDRESS:4:6}"

leo new "${APPNAME}"

PATHTOAPP=$(realpath -q $APPNAME)

cd $PATHTOAPP && cd ..

PRIVATEKEY=""

RECORD=""

At the end, you should receive such a line code:

snarkos developer deploy "${APPNAME}.aleo" --private-key "${PRIVATEKEY}" --query "https://vm.aleo.org/api" --path "./${APPNAME}/build/" --broadcast "https://vm.aleo.org/api/testnet3/transaction/broadcast" --fee 600000 --record "${RECORD}"

About

The final phase of the test net Aleo and deployment of the smart contract

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published