Skip to content

Vraid-Systems/algorand-participation

Repository files navigation

algorand-participation

Abstract the 3 goal commands integral to Algorand participation through a purposefully simple HTTP interface. One does not need to run a node to collect rewards, only to be correctly marked online or offline.

This service assumes you already have 1,000 microalgos in your Algorand wallet to cover the change onlines status transaction. 1 algo = 1,000,000 microalgos. At time of publishing that works out to 200 transactions for $0.2USD.

To participate in the network

  1. docker run -d -p 4243:3048 --env ALGORAND_DATA=/var/lib/algorand --volume algorand_volume:/var/lib/algorand vraidsys/algorand-participation:1.0.0
  2. Start the containerized Algorand node: http://localhost:4243/start
  3. Verify the containerized Algorand node is running: http://localhost:4243/status
  4. Create a participation key (tied to your Algorand wallet address) valid for approximately the specified number of days: http://localhost:4243/addpartkey/:algorandAddress/:daysToParticipate
  5. Go online with the Algorand wallet address: http://localhost:4243/changeonlinestatus/:algorandAddress/true

To only collect rewards

  1. docker run -d -p 4242:3048 --env ALGORAND_DATA=/var/lib/algorand vraidsys/algorand-participation:1.0.0
  2. Start the containerized Algorand node: http://localhost:4243/start
  3. Verify the containerized Algorand node is running: http://localhost:4243/status
  4. Go offline with the Algorand wallet address: http://localhost:4243/changeonlinestatus/:algorandAddress/false
  5. Stop the containerized Algorand node: http://localhost:4243/stop