################ First prepare the prerequisites and enter the following codes after starting.
So let's go! step by step
I am using Bitvise SSH Client software to run the commands.
When you connected by SSH to your server I copy and paste the commands line by line to prepare prerequisites on our server, so let's do it.|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | shnext
source $HOME/.cargo/envnext
rustup install stablenext
rustup update stablenext
rustup default stablenext
git clone https://github.com/AleoHQ/leo
cd leonext
apt install clang gcc libssl-dev pkg-confignext
cargo install --path .next
git clone https://github.com/AleoHQ/snarkOS.git --depth 1
cd snarkOSnext
./build_ubuntu.shAnd last one for this part
cargo install --path .At this point, you must have received Faucet via Twitter or SMS.
so befor to get faucet you should visit this site to put your wallet address in green list.
When you done this step we can get our faucet by SMS, to do that we can throw a text message to
number : +1867-888-5688
Send 10 credits to aleo... (Your wallet address)to get faucet by Twitter twite below line :
@AleoFaucet send 10 credits to aleo... (Your wallet address)So excited till now 😍 when you received the faucet on your wallet try to run the final commands line by line. let's do it.
First command
cd $HOMEnext
mkdir demo_deploy_Leo_app && cd demo_deploy_Leo_appnext, , be aware to put your wallet address in below
WALLETADDRESS="put-your-wallet-address-here"next, be aware to put your wallet address in below
APPNAME=helloworld_"${WALLETADDRESS:4:6}"next, here we create a new app
leo new "${APPNAME}"next
PATHTOAPP=$(realpath -q $APPNAME)next
cd $PATHTOAPP && cd ..next, be aware to put your wallet private key in below
PRIVATEKEY="put-your-wallet-private-key-here"Now go to aleo.tools and use the value & view key of your faucet transation that you received.
RECORD="put-the-code-that-you-get-it-here"finally run below command
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}"Commit 2 line Commit 3 line Commit 4 line Commit 5 line Commit 6 line Commit 7 line Commit 8 line Commit 9 line Commit 10 line Commit 11 line Commit 12 line

