❓I Want to Become a Keeper
Instructions to register a keeper and install the software
To become a keeper, you have to do the following:
Register a keeper in the PowerAgent contract;
Install the PowerAgent software;
Activate the keeper in the PowerAgent contract.
Keeper registration
Keeper registration, activation, management, stake deposit and withdrawal, compensation withdrawal are done via PowerAgent DApp.
To register a new keeper, follow the instructions below:
Press “Connect” and connect with your Admin wallet.
Press the “Create Keeper” button:
Select the most recent agent version. Press the “Create Keeper” button at the bottom:
In the keeper creation pop-up window, specify the amount of CVP to stake (no less than 1000) and the Worker address which you created beforehand:
An “Unlock” button will light up. Press and confirm the transaction. Afterwards, press “Create keeper”.
Afterwards, a keeper will be created, but not activated. Proceed to Installation Section and install the node software.
Node installation
Follow one of guides listed below based on the chosen method:
Installation
Start with a clean AMD-64 architecture distribution (the code is given for Ubuntu or Debian.
Install NodeJS, npm, Docker, and Docker-Compose
Install NodeJS and npm
Refer to the official installation documentation.
Install Docker and Docker Compose
Refer to the official installation documentation.
Navigate to a directory of your choice:
Clone the standalone repository and
cdto it:Generate the worker keyfile:
Mind that the password will be specified in the config later on, so remember it.
Open the config file with a text editor of your choice. For the sake of an example, here we open it with nano
Fill the file out according to the schema, substituting the variables where needed (numerical values can also be changed, if you so desire). Do not remove
‘’(quotation marks).
[OPTIONAL] Change the name of the package if you want to run several instances of the PowerAgent on the same machine.
Launch the node.
Update
In the folder with the docker-compose.yaml file run:
Stop
In the folder with the docker-compose.yaml file run:
Afterwards, proceed to the keeper activaton section.
Preparation of the keyfile
On your personal machine, clone this repository:
And execute the following command:
The generated keyfile will be written into ./keys/ directory.
Installation
In order to locate the PowerAgent package,
Switch your IPFS mode to “Local”
Add the following peers to your DAppNode’s IPFS peer list:
Navigate to the most recent package version either through the installer link or by the IPFS hash. Accept “bypass unsigned restriction” and press install.
Fill in the fields when prompted by DAppNode installation UI:
Update
The package update is as straightforward as possible: locate the new package by its IPFS hash and press “Update”. The configuration from the previous version will persist.
PowerAgent Node can be added as a service into another docker container.
Create
/configand/keysfolders alongside yourdocker-compose.yamlfile.Follow the Standalone instructions to obtain the keyfile and the
main.yamlconfig file and place them into the corresponding folders.Add the following service into the
docker-compose.yaml:
Execute
docker-compose up -d agent-latestin the folder withdocker-compose.yaml.
Example configs for standalone installation:
🥳 This concludes the installation + configuration process. Good job! Now the keeper must be activated in order to be able to execute transactions.
Keeper activation
After installation, go back to the DApp, open “My Keepers” tab and expand the entry for your newly registered keeper.
The status of the keeper will be “Activating”. Next to it, locate the “Complete” button and confirm the transaction:

Verify that the keeper is active:

Managing Keepers
On the My Keepers tab you can see all your registered keepers; both active and inactive.
Click on the keeper entry to expand the detailed view:

Summary tab.
Here you can see the total number of your keepers, sum of all their CVP stakes and their total earnings in native token.
Keeper stats tab.
Here the key metrics of your keeper are presented: active and pending withdrawal CVP stake, number of jobs completed, and detailed balance.
Control tab.
On this tab you can stake or withdraw CVP for your keeper, as well as withdraw native token earnings.
Last updated
Was this helpful?
