Last active
September 1, 2018 10:05
-
-
Save tpmccallum/45eb7d34a5406508419fa7e676909006 to your computer and use it in GitHub Desktop.
EOS Installation on macOS (High Sierra) 10.13.6 - Also perform voting for EOS BP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# EOS source | |
cd ~ | |
git clone https://github.com/EOSIO/eos.git | |
cd eos | |
git submodule update --init --recursive | |
# Deps | |
brew install MongoDB | |
brew install Doxygen | |
brew install Graphviz | |
brew install LCOV | |
sudo mkdir /usr/local/Frameworks | |
sudo chown $(whoami):admin /usr/local/Frameworks | |
brew install python3 | |
brew link python | |
brew install llvm@4 | |
echo 'export PATH="/usr/local/opt/llvm@4/bin:$PATH"' >> ~/.bash_profile | |
source ~/.bash_profile | |
brew reinstall gettext | |
brew unlink gettext && brew link gettext --force --overwrite | |
echo 'export PATH="/usr/local/opt/gettext/bin:$PATH"' >> ~/.bash_profile | |
source ~/.bash_profile | |
# Build | |
cd ~/eos | |
./eosio_build.sh -s "EOS" | |
# Install | |
cd ~/eos/build | |
sudo make install | |
# Usage | |
Once installed you will have to set your system path so that it can find the EOS commands | |
export PATH=$PATH:/usr/local/eosio/bin/ | |
# Voting | |
## List producers to vote for | |
cleos -u UrlToBpNode system listproducers | |
## Cast your votes | |
cleos -u UrlToBpNode system voteproducer prods YourAccount TheBpThatYouWant TheOtherBpThatYouWant | |
# Check your accounts | |
cleos -u UrlToBpNode get account YourAccount | |
# Keys | |
## Update owner and active keys command line | |
https://medium.com/@cc32d9/changing-the-private-key-for-an-eos-account-58a79dc385cd | |
## Update keys using genereos tools and scatter | |
https://steemit.com/eos/@genereos/eos-how-to-quickly-and-safely-change-your-public-private-keys | |
# Delegating and undelegating bandwidth etc. | |
https://developers.eos.io/eosio-cleos/reference#cleos-system-undelegatebw | |
# References | |
https://eosio.stackexchange.com/questions/725/how-to-vote-using-cleos/726#726 | |
https://github.com/EOSIO/eos/issues/2392 | |
https://github.com/EOSIO/eos/issues/2392 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment