Skip to content

Instantly share code, notes, and snippets.

@laboon
Last active June 11, 2019 14:11
Show Gist options
  • Save laboon/192d916b47122b67e552c1006e9804ef to your computer and use it in GitHub Desktop.
Save laboon/192d916b47122b67e552c1006e9804ef to your computer and use it in GitHub Desktop.
Validator workshop commands
# Validator Workshop Commands and Links
This will contain all of the instructions for the Polkadot Validator workshop.
Slides: https://docs.google.com/presentation/d/1HCBgya-KWCjCEHYtxSFJ3lSz9U22Bs-8vMuA4C2VRzw/
## Terms
What is a Validator? https://wiki.polkadot.network/en/latest/polkadot/node/node-operator/
What is a Collator? https://wiki.polkadot.network/en/latest/polkadot/node/collator/
What is a Nominator? https://wiki.polkadot.network/en/latest/polkadot/node/nominator/
What is a Fisherman? https://wiki.polkadot.network/en/latest/glossary/#fisherman
## Initial Setup
```
git clone https://github.com/paritytech/polkadot.git
# To update your node. Run from this step.
cd polkadot
cargo clean
git checkout v0.4
git pull origin v0.4
./scripts/init.sh
./scripts/build.sh
cargo install --path ./ --force
```
## Synchronize With Alexander Testnet
```
polkadot --chain alex
```
## Obtaining DOTs
Web3 Foundation DOT Faucet - https://faucet.polkadot.network/
BlockX Labs DOT Faucet - https://faucets.blockxlabs.com/polkadot
Polkadot Watercooler - https://riot.im/app/#/room/#polkadot-watercooler:matrix.org
## Running The Validator
```
polkadot \
--chain alex \
--validator \
--key <SESSION_ACCOUNT_MNEMONIC_PHRASE> \
--name <VALIDATOR_NAME_ON_TELEMETRY> \
--telemetry-url ws://telemetry.polkadot.io:1024
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment