algobot

Algobot

A bot which regularly sends 0.00 ALGO to a configured address in order to compound staking rewards on the Algorand blockchain.

Algobot

A bot which regularly sends 0.00 ALGO to a configured address in order to compound rewards. Transaction fees are covered by previously depositing funds.

Features

  1. Regularly send transactions to an Algorand account in order to make it claim its reward.
  2. Transaction fees are paid by depositing Algo from the Algorand account for which rewards are to be collected.
  • Enter Algo address
  • Set amount of minimum reward to harvest
  • Add funding (deposit ALGO for covering fees of 0.001 ALGO/transaction)

[[doc/01 - Collect Rewards.md]]

Feature list

  • Regularly collect rewards (based on Step function + Lambda)
  • Determine interval for collection based on amount to claim
  • API for configuring settings
  • Frontend for configuring settings
  • Fund account with transaction fees

Future optimizations

  • verify address ownership
  • notify users if deposited fee is about to run out

Getting started

Initially bootstrap AWS Pipeline

  • Configure new AWS profile: algobot
  • Create GitHub personal access token (required permissions are repo, admin:repo_hook)
  • In AWS account, create a secret named github_token with GitHub token (plaintext value)
  • Run CDK bootstrap: yarn cdk bootstrap --cloudformation-execution-policies arn:aws:iam::aws:policy/AdministratorAccess
  • Deploy build stack: yarn cdk deploy AlgobotBuildStack

Frontend

See ./frontend/.

Development notes

Step Functions local

VSCode support

Integration with EventBridge

Top categories

Loading Svelte Themes