Skip to content

Instantly share code, notes, and snippets.

@nitsx2
Created May 11, 2018 05:15
Show Gist options
  • Save nitsx2/908b754f68294253e1fcbb90f1a2b236 to your computer and use it in GitHub Desktop.
Save nitsx2/908b754f68294253e1fcbb90f1a2b236 to your computer and use it in GitHub Desktop.
Install Neo->
1 - First install dotnet core
wget -q packages-microsoft-prod.deb https://packages.microsoft.com/config/ubuntu/16.04/packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
sudo apt-get install apt-transport-https
sudo apt-get update
sudo apt-get install dotnet-sdk-2.1.200
2- Download the Neo-CLI package on Github and unzip it.
Link is here - https://github.com/neo-project/neo-cli/releases
3- Install dependencies-
sudo apt-get install libleveldb-dev sqlite3 libsqlite3-dev
4- open neo-cli folder
5- Main net and Test net settings ->
a -> Run on testnet ---> In Neo neo-cli directory copy all the content of config.testnet.json and paste paste it to config.json(Remove all previous content) also copy all the content of protocol.testnet.json and paste paste it to protocol.json(Remove all previous content).
b -> Run on mainnet ---> In Neo neo-cli directory copy all the content of config.mainnet.json and paste paste it to protocol.json(Remove all previous content) also copy all the content of protocol.mainnet.json and paste paste it to protocol.json(Remove all previous content).
6- Run -> dotnet neo-cli.dll /rpc
write help
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment