linux 门罗cli钱包操作记录
生活随笔
收集整理的這篇文章主要介紹了
linux 门罗cli钱包操作记录
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
1, 進(jìn)入monero_cli錢包目錄
???
[root@localhost creo]# cd /usr/local/soft/monero/monero/ [root@localhost monero]# ls daemon.sh monero-blockchain-prune-known-spent-data LICENSE monero-blockchain-stats mond monero-blockchain-usage mond.keys monerod monero-blockchain-ancestry monero-gen-ssl-cert monero-blockchain-depth monero-gen-trusted-multisig monero-blockchain-export monero.sh monero-blockchain-import monero-wallet-cli monero-blockchain-mark-spent-outputs monero-wallet-cli.log monero-blockchain-prune monero-wallet-rpc [root@localhost monero]#2, 先啟動(dòng) monerod
[root@localhost monero]# ls daemon.sh monero-blockchain-prune-known-spent-data LICENSE monero-blockchain-stats mond monero-blockchain-usage mond.keys monerod monero-blockchain-ancestry monero-gen-ssl-cert monero-blockchain-depth monero-gen-trusted-multisig monero-blockchain-export monero.sh monero-blockchain-import monero-wallet-cli monero-blockchain-mark-spent-outputs monero-wallet-cli.log monero-blockchain-prune monero-wallet-rpc [root@localhost monero]# ./monerod --detach 2021-12-08 11:59:48.061 I Monero 'Oxygen Orion' (v0.17.2.3-release) Forking to background... [root@localhost monero]#3, 再啟動(dòng) monero-wallet-cli,參數(shù)為指定遠(yuǎn)程節(jié)點(diǎn),要不然要同步整個(gè)區(qū)塊,占用空間太大。為輸入方便,寫成了腳本
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin export PATH monero_work=/usr/local/soft/monero/monero/ export monero_work cd "$monero_work" ./monero-wallet-cli --daemon-address node.supportxmr.com:18081保存為.sh文件后執(zhí)行
4. 這里是要求輸入錢包名字,如果之前命名過,就輸入之前命名的。如果是第一次打開,可隨便命名一個(gè),后續(xù)還會(huì)讓你輸入助記詞,選擇恢復(fù)的區(qū)塊高度,這里建議按錢包的注冊(cè)時(shí)間來恢復(fù)區(qū)塊高度,要不然有些交易記錄是恢復(fù)不了的,造成余額顯示不正確。
[root@localhost sbin]# ./monero.sh This is the command line monero wallet. It needs to connect to a monero daemon to work correctly. WARNING: Do not reuse your Monero keys on another fork, UNLESS this fork has key reuse mitigations built in. Doing so will harm your privacy.Monero 'Oxygen Orion' (v0.17.2.3-release) Logging to ./monero-wallet-cli.log WARNING: You may not have a high enough lockable memory limit, see ulimit -l Specify wallet file name (e.g., MyWallet). If the wallet doesn't exist, it will be created. Wallet file name (or Ctrl-C to quit):5. 進(jìn)入以后等待區(qū)塊同步完成,就進(jìn)入到了cli的shell
********************************************************************** Warning: using an untrusted daemon at node.supportxmr.com:18081 Using a third party daemon can be detrimental to your security and privacy Using your own without SSL exposes your RPC traffic to monitoring You are strongly encouraged to connect to the Monero network using your own daemon If you or someone you trust are operating this daemon, you can use --trusted-daemon Using an untrusted daemon, skipping background mining check Starting refresh... Refresh done, blocks received: 3 Untagged accounts:Account Balance Unlocked balance Label[wallet 47okZ6]: help all輸入help all 查看幫助,里面有付款命令,也能查詢交易
后面再進(jìn)一步研究研究
總結(jié)
以上是生活随笔為你收集整理的linux 门罗cli钱包操作记录的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: lazada发货_lazada怎么发货?
- 下一篇: 《红楼梦》人物关系有多复杂?一张图帮你理