Skip to content

Instantly share code, notes, and snippets.

@anjmao
Last active October 9, 2019 07:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anjmao/e084e254d8240bbd65016a7a5b50ec85 to your computer and use it in GitHub Desktop.
Save anjmao/e084e254d8240bbd65016a7a5b50ec85 to your computer and use it in GitHub Desktop.
Mysterium linux command line client
  1. Clone node source code.
git@github.com:mysteriumnetwork/node.git
cd node
  1. Compile node source code. You will need go compiler installed but don't be afraid as installing go is much easer than you may think. Download and install go.11 from here.
./bin/build
  1. Run node daemon.
sudo ./build/myst/myst \
  --data-dir=./build/myst/node \
  --runtime-dir=./build/myst/node \
  --testnet daemon
  1. Run cli client.
sudo ./build/myst/myst \
  --data-dir=./build/myst/node \
  --runtime-dir=./build/myst/node \
  --testnet cli
  1. Using cli create and unclock your identity.
identities new // Outputs [SUCCESS] New identity created: 0x0000...
unlock 0x0000... // Outputs [SUCCESS] Identity 0x99696ac993a493c38f0f7b05780d3c66320437b7 unlocked.
  1. Go to testnet services page and find node you want to connect to. You can also use cli proposals command but at the moment it doesn't output service type.

  2. Finally connect to the node.

connect 0x0000... <selected_idenity from step5> <service type> // [SUCCESS] Connected.
  1. Check you connection status to see if your IP has changed.
status [INFO] Status: Connected
  1. After your done disconnect via cli.
stop
quit

TIP: While using cli you can use TAB to get autocompletion. NOTE: Using cli may cause random failures as it's primary use is for development only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment