Skip to content

Leibniz137/DAppNodePackage-keep-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Keep Random Beacon Dappnode Package

This dappnode package will allow you to participate in the keep network as a random beacon operator.

see:

Requirements

This package requires a public, static ip address.

Additionally, at the start of the stakedrop, 90,000 KEEP will be required to operate a random beacon. This amount will decrease over time until it reaches 10,000 KEEP (source).

Install

Access this link using your dappnode wifi/vpn: http://my.dappnode/#/installer/%2Fipfs%2FQmd2CjLMNhg9QZWr8o3fEQ3CSatuvdmxUzJkYGeFCSBPJR

current ipfs hash Qmd2CjLMNhg9QZWr8o3fEQ3CSatuvdmxUzJkYGeFCSBPJR

Quick Start

  1. Set KEEP_ETHEREUM_PASSWORD and ANNOUNCED_ADDRESSES environment variables in the Config section of the package.

ANNOUNCED_ADDRESSES should use the libp2p multiaddr format

/ip4/255.255.255.255/tcp/3919

(Always use port 3919)

If announcing multiple addresses, the address should be listed as a comma-delimited string with no spaces or quotation marks, eg:

/ip4/255.255.255.255/tcp/3919,/dns4/my.dappnode.tech/tcp/3919
  1. Copy operator address from package logs
  2. GOTO https://dashboard.keep.network/
  3. Delegate your keep tokens to the operator address (see delegation)
  4. Authorize the Random Beacon contract
  5. Send some eth to the operator address
  • ~0.5 eth is fine to start with, but be sure to monitor the balance!

Delegation

You will need to set up the delegation to this operator account in the keep dashboard at https://dashboard.keep.network

It is recommended that you only use the account generated by this DNP package as the Operator Address. Use a more secure account for the Authorizer and Beneficiary addresses.

Remember to Authorize the Keep Random Beacon Operator Contract after delegating!

Risks

The primary risks in running a random beacon are downtime and loss of persistent data.

Educate yourself on the risks before attempting to operate a random beacon client!

resources:

Backups

Extracting your operator account

The operator account is generated automatically for you when this package is initialized. The operator account (ie private key) is stored in the data volume for this package, so if you delete the dnp completely, including data, then you will lose your operator account.

It is a good idea to back up the account file / json someplace safe like a password manager. The (encrypted) account is written to /mnt/keystore/keep_wallet.json.

To save this file, simply browse to the File Manager section of the DNP package and enter this path into the DOWNLOAD FILE FROM PACKAGE input.