Introduction to Algorand - cogeorg/teaching GitHub Wiki
Just like Ethereum, Algorand is a permissionless blockchain. In contrast to Ethereum, it uses a Proof of Stake (PoS) consensus protocol which greatly increases the speed of transaction finality and the number of transactions per second.
Algorand released a sandbox that comes with an introductory tutorial.
Please clone the sandbox repository and navigate into it
$ git clone https://github.com/algorand/sandbox.git
$ cd sandbox
The command ./sandbox help
will show you all the available commands.
sandbox commands:
up [mainnet||testnet||betanet] [-s||--skip-snapshot]
-> spin up the sandbox environment, uses testnet by default.
Optionally provide -s to skip initializing with a snapshot.
down -> tear down the sandbox environment
restart -> restart the sandbox
enter -> enter the sandbox container
clean -> stops and deletes containers and data directory
test -> runs some tests to make sure everything is working correctly
algorand commands:
logs -> stream algorand logs with the carpenter utility
status -> get node status
goal (args) -> run goal command like 'goal node status'
tutorials:
introduction -> learn how to get Algos on testnet and create a transaction
Start the tutorial via
$ ./sandbox introduction
Command | Description |
---|---|
goal node status |
retrieve information about your node |
goal wallet list |
list your wallets |
goal wallet new <wallet-name> |
create a new wallet |
goal account new |
create a new account on the default wallet |
goal account list : |
list your accounts on the default wallet |
goal clerk send -a <amount-of-microAlgos> -f <from-account> -t <to-account> |
send a transaction of amount -a <amount-of-microAlgos> from account X -f <from-account> to account Y -t <to-account>
|