Skip to content

Instantly share code, notes, and snippets.

@basedalexander
Last active June 13, 2018 23:11
Show Gist options
  • Save basedalexander/c9a47bce15a13b184296e14c5f0974b9 to your computer and use it in GitHub Desktop.
Save basedalexander/c9a47bce15a13b184296e14c5f0974b9 to your computer and use it in GitHub Desktop.
# Default data dir
# MAC OS ~/eosio-wallet
# Build the project
# mac OS only, issue ref: https://github.com/EOSIO/eos/issues/2028
brew unlink gettext && brew link --force gettext
find /usr -name libintl* -print 2>/dev/null
./eosio_build
################# NODEOS ################
cd build/programs/nodeos
# initial launch to generate data and config dirs
nodeos -e -p eosio --plugin eosio::chain_api_plugin --plugin eosio::history_api_plugin
# specifying custom directories, paths should be absolute
nodeos --config-dir /Users/thohoh/Desktop/config --data-dir /Users/thohoh/Desktop/data --contracts-console -e -p eosio
# Default directories
#Mac OS: ~/Library/Application Support/eosio/nodeos
#Linux: ~/.local/share/eosio/nodeos
################# KEOSD ################
keosd --config-dir /Users/thohoh/Desktop/eosio-wallet --wallet-dir /Users/thohoh/Desktop/eosio-wallet --http-server localhost:8999
# default config-dir ~/eos-wallet
################# CLEOS ################
cleos --wallet-port 8999 wallet create
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment