Skip to content

ADISAKBOONMARK/algo.labs

Repository files navigation

Algorand Labs

This project is a learning Algorand. We hope it is helpful to beginners. This project will be compile on Ubuntu 18.04.4 LTS.

Reference

Algorand Developer : https://developer.algorand.org/

Required Software

Required IDE

Download

git clone https://github.com/ADISAKBOONMARK/algo.labs.git

Setting

  • Install node package.
cd algo.labs
./npm i
  • Create .env file.
LABS_PATH=/home/users/algo.labs

SANDBOX_PATH=/home/users/
MASTER_ADDR=HJATUIYSNT2NI6WAOE6TRWBUJFBDM5RPYOGIRZPYXF3U2OPHFTV3NCVIKM

LABS_PATH : Path of Algorand Labs directory.

cd algo.labs
pwd

SANDBOX_PATH : Path of Algorand Sandbox. directory.

cd sandbox
pwd

MASTER_ADDR : Address of master account.

./sandbox goal account list

[offline]       CNX7XBECXSHMY2OXZANPWPPJVRZDPDDV2ISASXAQXBE2TNDZAVVFLIJNHQ      CNX7XBECXSHMY2OXZANPWPPJVRZDPDDV2ISASXAQXBE2TNDZAVVFLIJNHQ      1000000000000000 microAlgos
[online]        HJATUIYSNT2NI6WAOE6TRWBUJFBDM5RPYOGIRZPYXF3U2OPHFTV3NCVIKM      HJATUIYSNT2NI6WAOE6TRWBUJFBDM5RPYOGIRZPYXF3U2OPHFTV3NCVIKM      4000000000000000 microAlgos
[offline]       WVN443LZ5NGIINZWFAHT4UPR36VPQBNOSY66KL4GR6MRG7ULGORXK6ARF4      WVN443LZ5NGIINZWFAHT4UPR36VPQBNOSY66KL4GR6MRG7ULGORXK6ARF4      4000000000000000 microAlgos

Outlines

Command

./algo.sh

Add a description of the script commands here.

command options:

sandbox       -> Manage sandbox.
- start       -> Start Algorand Sandbox.
- stop        -> Stop Algorand Sandbox.
- restart     -> Restart Algorand Sandbox.
- status      -> Status Algorand Sandbox.

account       -> Manage accounts.
- create      -> Create accounts. [Bob, Aliza]
- balance     -> Check balance accounts. [Bob, Aliza]
- pump        -> Add balance to accounts. [Bob, Aliza]

lab1          -> Connection to node.
lab2          -> Create account.
lab3          -> Send Algo.
lab4          -> Wait for Confirmation.
lab5          -> Read the Transaction.
lab6          -> Create a wallet and generate an account.
lab7          -> Import an account.
lab8          -> Export an account.
lab9          -> Recover wallet and regenerate account.

About

This project is a learning Algorand. We hope it is helpful to beginners. This project will be compile on Ubuntu 18.04.4 LTS.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published