Skip to content

westaking/Game-of-Stakes

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Game of Stakes

Welcome to the Game of Stakes from DAObet!

In this document you will find the necessary instructions and useful advise for participating in the game.

Producers.json

To participate in the Game of Stakes you have to add information about yourself in producers.json. Fill in the information via pull request or just send it to us

{
    "name": "example",
    "account_name": "examplenamee",
    "publickey": "EOS6fzMVJsxXyXvuTcoRpkkFo2FtNT8jrAfmU3vxMsb8eWYG8Uz5S",
    "url": "daobet.org",
    "p2p_endpoint": "127.0.0.1:9876",
    "api_endpoint": "http://api.daobet.org",
    "ssl_endpoint": "https://api.daobet.org"
}

name (optional)

Your account name or company name

account_name (required)

The name for your account in DAObet game of stakes network. The name should be created according to the following rules:

  • Can only contain the characters:.abcdefghijklmnopqrstuvwxyz12345. a-z (lowercase), 1-5 and . (period)
  • Must start with a letter
  • Must be 12 characters long
  • Must not end with a dot

example:

valid:

  • validator111
  • validator222
  • validatorbet

invalid:

  • validator // shorter that 12 characters
  • validator069 // contains numbers 0,6 and 9
  • val.idator // contains a dot
  • 111validator // starts with a numeral

publickey (required)

public key (in EOS format) of which you have a private key.

For generating the keypair (public key and private key) you can use daobet-cli:

// output to console
daobet-cli create key --to-console

// output to file
daobet-cli create key -f keys.txt

Be sure to save the private key!

url (optional)

your website url

p2p_endpoint / api_endpoint / ssl_endpoint (optional)

specify your ip so that other validators can connect to you. In this file you will find the ip of other validators and you can add them to your configuration. this will allow the network to be more stable and decentralized.

To add a peer address add each of them to config.ini:

example:

p2p-peer-address = example.сom:9999
p2p-peer-address = 127.0.0.1:7777

Warning!

When publishing an ip you must evaluate the risks and possible attacks! Please make sure that you provide sufficient protection.

run-producer

Scripts and instructions for launching the node for participating in the Game of Stakes

dao-vp-counter

Service for counting of the Validators Points and for receiving the information about the network status.

About

DAObet game of stakes repo

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 66.6%
  • Shell 32.6%
  • Dockerfile 0.8%