| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| README.txt | 2019-02-03 | 2.1 kB | |
| Kantpoll_linux_v1_0.zip | 2019-02-01 | 55.6 MB | |
| checksum_linux_v1_0.txt | 2019-02-01 | 58 Bytes | |
| Kantpoll_installer_windows_v1_0.exe | 2019-02-01 | 49.7 MB | |
| Totals: 4 Items | 105.3 MB | 7 |
If you want to create a campaign:
./kantpoll
If you want to start an observer node:
1) On the creator's computer, go to home/USER/.kantpoll/blockchains/DIRECTORY_OF_THE_CAMPAIGN.
Copy the genesis.json file.
2) On the observer's computer, paste the genesis.json file in the directory that you want to
use to store the blockchain data. For example, INSTALLATION_DIR/geth/geth-linux.../test/
3) In the directory INSTALLATION_DIR/geth/geth-linux.../, on the observer's computer, run:
./geth --datadir test init test/genesis.json.
4) Run:
./geth --datadir test --networkid 115198515469684975 --nodiscover --port 30999 --ipcdisable
--rpc --rpcaddr localhost --rpcport 8545 --rpcapi admin,net,eth,web3 --gcmode archive
--lightkdf console
Replace 115198515469684975 by your chain id (you can find it in the Technical info, on the
campaign page). Each observer node must have a different --port.
5) On the creator's admin page, in the NETWORK tab, copy your enode. This is something like
"enode://eb7...@127.0.0.1:30001". Replace 127.0.0.1 by your ip address (to find your local
network ip address, you can use the ifconfig (linux) or open the network properties (windows).
6) The command in the step 4) should open the Geth console. In the console, type:
admin.addPeer("PASTE_HERE_THE_ENODE"). You should receive true as response and the nodes
should start syncing.
7) If the last step does not work, copy the enode obtained in the step 4) (self="enode://..."),
then, on the creator's computer, in the Geth directory, execute:
./geth attach http://localhost:8545
Then repeat the step 6) on the creator's computer.
8) In the Technical info, copy the Main contract and Maximum group size, then run:
./kantpoll -observer -contract MAIN_CONTRACT -mgz MAX_GROUP_SIZE
9) Keep both terminals open. Now, you have an observer node working ;)
OBS.: Do not forget to add the observer's onion address and hash on the campaign settings page, on the
creator's computer.