Example of managing deposit accounts for Algorand.
- Creating accounts for Algo deposits
- Creating accounts for Algorand Standard Assets (ASA) deposits
- Watching account balances and emitting events once they get new deposits
A fictional TEST
asset is created automatically in the Sandbox and is used as an example for ASA transactions.
Algorand Sandbox must be up and running in the Private network mode (default one) prior to starting this app. Please refer to the Sandbox documentation to find the most relevant information on how to download and start it.
For the best experience it is recommended to reset the Sandbox to its initial state by running the following command in the Sandbox directory:
./sandbox reset
For demonstration purposes, two of the default Sandbox accounts are used in the following fashion:
- First account: hot wallet, used to make plumbing top-ups necessary for ASA
- Second account: external account, used to simulate external top up our deposit accounts
Clone this repository and install dependencies:
npm install
Start the app and wait until it gets ready:
npm start
The app is available on http://localhost:3000
Alex Bakoushin
MIT