-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathconfig.yml
76 lines (70 loc) · 6.59 KB
/
config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
########################################################################################################################################
# File name: config.yml #
# Author: cc001 #
# Last modified: 2016-05-19 #
# #
# Instructions: #
# 1. Keep the indents as shown below #
# 2. You need to adapt all variables (node, mySecret, mySecret, mySecondSecret, myAddress, myPublicKey, votingFilename) #
# and replace everywhere REPLACE_ME with your own values #
# 3. You can leave 'mySecret' empty like this: mySecret: "". In this case the script will ask you for the passphrase during runtime #
# 4. If you don't use a second passphrase, remove it completely from the config (see section cc001 below) #
# 5. You can keep and use only the section "default:" if you want. #
# This section is used if you don't add an additional argument to the start command. Example: './autoVote.py' #
# 6. If you want to, you can add additional config sections. This can be used if you want to vote with different accounts #
# To run the script with a specific config section (not "default") you must add its name to the starting call. #
# Example: './autoVote.py cc001' #
# An example config could look like this: #
# default: #
# node: "https://asdfasdf.io" #
# mySecret: "asdf asdf asdf asdf asdf" #
# mySecondSecret: "wergwer werg werg wegg" #
# myAddress: "2143123451235235L" #
# myPublicKey: "awd98wefh9qehf923hf98hf9238fh9238hf" #
# votingFilename: "posDefault.txt" #
# #
# cc001: #
# node: "https://othernode.io" #
# mySecret: "" #
# myAddress: "32333333333333L" #
# myPublicKey: "aregwert8347rzr84hg283r7g23twert" #
# votingFilename: "/home/cc001/cc001.txt" #
# #
# If you like this script, please vote for me as Delegate on test- and mainnet, Thanks! #
########################################################################################################################################
default:
# Add here a node where you want to send the api commands to. I recommend to use your own node.
# I strongly recommend to use only nodes that are pretected with SSL (https://....)
# because your secret passphrase needs to be submitted to this node to be able to vote.
# Make sure to not put a '/' at the end of it
# Example:
# node: "https://login.lisk.io"
node: "REPLACE_ME"
# Add here your secret passphrase of the account you want to use to vote
# The passphrase is needed to be able to vote
# You can leave it empty like this: mySecret: "". In this case the script will ask you for the passphrase during runtime.
# This is for people who don't like writing a passphrase into a file.
# Example:
# mySecret: "word1 word2 word3 word4 word5 word6 word7 word8 word9 word10 word11 word12"
mySecret: "REPLACE_ME"
# Add here your second passphrase if you configured it. If no second passphrase is configured, remove it completely.
# If you leave it empyt (mySecondSecret: "") the script will ask for it during runtime, as it does with mySecret.
# Example:
# mySecondSecret: ""
mySecondSecret: "REPLACE_ME"
# Add here the address of the account you want to use to vote (the account of the passphrase above)
# Example:
# myAddress: "12312352346456L"
myAddress: "REPLACE_ME"
# Add here the PublicKey of your account
# Example:
# myPublicKey: "234234645jfweijf9384rz76gr39ehg938th283th398gh94ghb832gb9238gbwiegb83f"
myPublicKey: "REPLACE_ME"
# Add here the filename (complete path or just the name if it is in the same directory) of the file
# that contains the addresses of the delegates you want to vote
# You can use the delegatename, address, or publickey (or a mixture of all of them)
# Write every address, delegatename or publickey on its own line. Don't separate them with special characters like ,;: etc...
# The File can be left empty, but it must exist
# Example:
# votingFilename: "votes.txt"
votingFilename: "votes.txt"