This project is a learning Algorand. We hope it is helpful to beginners. This project will be compile on Ubuntu 18.04.4 LTS.
Algorand Developer : https://developer.algorand.org/
git clone https://github.com/ADISAKBOONMARK/algo.labs.git
- 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
- Local Network
- Lab 0 : Setup Algorand Sandbox.
- SDK
- Lab 1 : Connect to Node.
- Lab 2 : Create Account.
- Lab 3 : Send Algorand to Address.
- Lab 4 : Wait for Confirmation.
- Lab 5 : Read the Transaction.
- KMD
- Lab 6 : Create a wallet and generate an account.
- Lab 7 : Import an account.
- Lab 8 : Export an account.
- Lab 9 : Recover wallet and regenerate account.
- Smart Contracts
- Lab X : ...
./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.