Code Monkey home page Code Monkey logo

Comments (8)

erikzhang avatar erikzhang commented on July 17, 2024

screen ./neo-cli /rpc

from neo-node.

johankitelman avatar johankitelman commented on July 17, 2024

@erikzhang thank you! one more question. What about RPC commands like create wallet or get new address? Thanks in advance:)

from neo-node.

erikzhang avatar erikzhang commented on July 17, 2024

There is no RPC command for creating wallet.
You can find all RPC commands at http://docs.neo.org/en-us/node/api.html

from neo-node.

mr13tech avatar mr13tech commented on July 17, 2024

@erikzhang
I start neo node with
dotnet /path/to/neo-cli.dll
and what is the correct way to launch neo node as daemon?

what is that screen command?

from neo-node.

johankitelman avatar johankitelman commented on July 17, 2024

@rad-p you should use it like screen dotnet /path/to/neo-cli.dll . Then if you'll close console it will still be running.

from neo-node.

tiz-sharp avatar tiz-sharp commented on July 17, 2024

Hello to all,
I've edited neo-cli command line parser to allow wallet unlock before start rpc service.
this is the pull request link: #151
and this is my forked branched repo: https://github.com/purplesoft-io/neo-cli/tree/neo-cli-daemon-with-wallet-unlock

usage:
dotnet neo-cli.dll --rpcwallet "/home/user/walletpath/wallet.db3" "W4LL3tP4sSw0rD 01"
dotnet neo-cli.dll --rpcwallet "/home/user/walletpath/wallet.json" "W4LL3tP4sSw0rD 01"

[email protected]

Donations are welcome XD we are developing NEO WEB PANEL MANAGER for NEO NODES (also private deploy of NEO blockchain).
NEO: AYUd4G2dNXAEyUxkZGyMdXAnJ396jJfNDz
ETC: 0x982e45402ad06d0a01f3e54732b28c76d9870422
BTC: 1HxdgF6WsvcRVNiXhz6jZgbD9eopvzAxap
ETH: 0x5cb3784e71710f681410d30d615a3b3bb3c24ff1

from neo-node.

kizzx2 avatar kizzx2 commented on July 17, 2024

Oneliner with Docker with auto-restart:

sudo docker run --name neo-cli -id --restart=unless-stopped -v /neo:/neo-cli/Chain -p 10332:10332 kizzx2/neo-cli

from neo-node.

zhag avatar zhag commented on July 17, 2024

Ohhh.. Looks like I found the way to demonize this shit...
You should use supervisord

[program:neo]
directory=/home/neo/neo-cli
command=/usr/bin/dotnet /home/neo/neo-cli/neo-cli.dll --rpc
stdout_logfile=/var/log/neo.log
autostart=true
autorestart=true
user=neo
stopsignal=KILL
numprocs=1

Do not forget to enable supervisor on startup systemctl enable supervisord

from neo-node.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.