Skip to content

Latest commit

 

History

History
55 lines (33 loc) · 1.4 KB

README.md

File metadata and controls

55 lines (33 loc) · 1.4 KB

Algorand Deposit Example

Example of managing deposit accounts for Algorand.

Features

  • 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.

Requirements

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

Sandbox default account usage

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

Getting started

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

Author

Alex Bakoushin

License

MIT