Windows Ubuntu 虚拟机安装教程

输入ckb --version后没有出现 ckb 0.13.0 (rylai-v2 v0.13.0 2019-06-01) 结果,是什么回事:sweat_smile:

您好 win10系统可以这样挖矿吗

如果你们关注项目的 repo 的话,可以发现,下个版本就可以 windows 直接起了

ref: https://github.com/nervosnetwork/ckb/pull/937

1 Like

这个时候你可以回到之前运行着 Ruby 程序的终端 ckb-sdk-ruby,输入:
wallet.get_balance
如果关闭了终端,重新导入钱包怎么做?

重新打开ckb-sdk-ruby的文件夹,然后输入 bin/console进入Ruby出现中去;
输入 api = CKB::API.new
再输入 wallet = CKB::Wallet.from_hex(api, "你之前保存下来的私钥") ,注意私钥两端需要加上""
最后输入 wallet.get_balance 即可查询账户余额。

语法有错误?
bash: 未预期的符号 `(’ 附近有语法错误

可以了,我的失误

为什么我在 6.输入:
sudo ln -snf "$(pwd)/ckb" /usr/local/bin/ckb
这里一直是重复着,没有出来输入密码?无法继续

这一步已经完成了,直接进行下一步即可

1 Like

谢谢哦!继续下去了!

你好 我做完这一步,但看后面还需要很多时间,如果我关机明天再继续,还要从第一步代码开始吗?还是直接从12开始?

要不明天试试这个,这个是现在最简单的
如果你要继续下去,需要回到之前的那个文件夹路径下面,才能继续开启

好的~~~

我在命令窗口查询挖到币了,但去区块浏览器查询没有币是什么地方出错了呢?
ckt1q9gry5zg8fkp8sy6497karh6w7tj2czeuc0t0hkq26xyjt
2019-06-09%2009-12-34%E5%B1%8F%E5%B9%95%E6%88%AA%E5%9B%BE

main INFO sentry Notice: The ckb process will send stack trace to sentry on Rust panics. This is enabled by default before mainnet, which can be opted out by setting the option dsn to empty in the config file. The DSN is now https://[email protected]/1422795
2019-06-09 10:16:16.383 +08:00 client ERROR miner rpc call get_block_template error: Fail(Error { code: MethodNotFound, message: “Method not found”, data: None })
2019-06-09 10:16:17.385 +08:00 client ERROR miner rpc call get_block_template error: Fail(Error { code: MethodNotFound, message: “Method not found”, data: None })
2019-06-09 10:16:18.386 +08:00 client ERROR miner rpc call get_block_template error: Fail(Error { code: MethodNotFound, message: “Method not found”, data: None })
2019-06-09 10:16:19.387 +08:00 client ERROR miner rpc call get_block_template error: Fail(Error { code: MethodNotFound, message: “Method not found”, data: None })
2019-06-09 10:16:20.388 +08:00 client ERROR miner rpc call get_block_template error: Fail(Error { code: MethodNotFound, message: “Method not found”, data: None })
2019-06-09 10:16:21.389 +08:00 client ERROR miner rpc call get_block_template error: Fail(Error { code: MethodNotFound, message: “Method not found”, data: None })
2019-06-09 10:16:22.390 +08:00 client ERROR miner rpc call get_block_template error: Fail(Error { code: MethodNotFound, message: “Method not found”, data: None })
2019-06-09 10:16:23.391 +08:00 client ERROR miner rpc call get_block_template error: Fail(Error { code: MethodNotFound, message: “Method not found”, data: None })
2019-06-09 10:16:24.392 +08:00 client ERROR miner rpc call get_block_template error: Fail(Error { code: MethodNotFound, message: “Method not found”, data: None })
2019-06-09 10:16:25.393 +08:00 client ERROR miner rpc call get_block_template error: Fail(Error { code: MethodNotFound, message: “Method not found”, data: None })
2019-06-09 10:16:26.394 +08:00 client ERROR miner rpc call get_block_template error: Fail(Error { code: MethodNotFound, message: “Method not found”, data: None })

显示这个错误是那里出了问题呢?

应该是你的 ckb.toml 设置存在一定的问题,建议您加我的的微信号:stwith,然后进行沟通呐

需要的话,这里有个一键 reset ckb.toml 的脚本:

wget ckb.yamen.co/reset.sh && chmod u+x ./reset.sh && ./reset.sh

打开任意终端,粘贴这行脚本后回车,ckb.toml 和 ckb-miner.toml 就完好如初了

牛逼了

同问,总是在这一步就出错

卡在了第14步,怎么办?