use neo-cli easy by docker
https://docs.docker.com/engine/installation/
sudo yum install -y yum-utils device-mapper-persistent-data lvm2
sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
sudo yum install docker-ce
git clone https://github.com/hzxiao/neo-cli-docker.git
cd neo-cli-docker
Run with builded docker images
cd quickstart
docker-compose up -d
wait few minute access localhost:4000
you should see neo-scan with some blocks.
if you want to build your own image, follow below
docker build -t neo-cli-mainnet:v2.10.2 -f Dockerfile/mainnet/v2.10.2/Dockerfile .
docker build -t neo-cli-testnet:v2.10.2 -f Dockerfile/testnet/v2.10.2/Dockerfile .
docker build -t neo-cli-prinet:v2.10.2 -f Dockerfile/privatenet/v2.10.2/Dockerfile .
docker run -d -p 10332:10332 -v /home/neo/cli/0:/home/cli/Chain neo-cli-mainnet:v2.10.2
docker run -d -p 20332:20332 -v /home/neo/cli/0:/home/cli/Chain neo-cli-testnet:v2.10.2
cd Dockerfile/privatenet/v2.10.2/
docker-compose up -d
- Mainnet Cli RPC
- Testnet Cli RPC
-
Private net CLI RPC
-
Private net CLI P2P
-
Get Neo From Private net