⚠️ 目前 KYSOR 只支持 macOS 和 Linux 两个系统,不支持 Windows
1、执行 git clone https://github.com/kyve-org/kysor.git
,等待完成
2、执行 cd kysor
3、新建一个 secrets
目录
4、在 secrets
目录下,新建一个 mnemonic.txt
文件,并把你的 Keplr 助记词粘贴到这个 mnemonic.txt
文件里面
5、把 arweave.json
文件放到 secrets
目录。注意 arweave.json
名字不能错
6、编辑 kysor.conf.ts
文件,里面的参数按需修改即可。注意:每次修改这个文件后,都需要重新 yarn build
一次。
7、执行 yarn install
,等待完成
8、执行 yarn build
,等待完成
9、执行 yarn start
最后成功的界面是这样的:
2022-05-19 13:54:00.299 INFO Starting KYSOR ...
2022-05-19 13:54:00.299 INFO Validating files ...
2022-05-19 13:54:00.300 INFO Found kysor.conf.ts
2022-05-19 13:54:00.300 INFO Found arweave.json
2022-05-19 13:54:00.300 INFO Found mnemonic.txt
2022-05-19 13:54:00.300 INFO Creating "runtimes" directory ...
2022-05-19 13:54:00.300 INFO Attempting to fetch pool state.
2022-05-19 13:54:00.543 INFO Fetched pool state
2022-05-19 13:54:00.543 INFO Binary of runtime "@kyve/evm" with version 1.0.5 not found locally
2022-05-19 13:54:00.544 INFO Found downloadable binary on pool
2022-05-19 13:54:00.545 INFO Downloading https://github.com/kyve-org/evm/releases/download/v1.0.5/kyve-linux.zip?checksum=8662ddeb3a3e0eaedbbb5a665a4fa0eed12448349218ef0d98afed25cfacd60c ...
2022-05-19 13:54:01.910 INFO Extracting binary to "./runtimes/@kyve/evm/1.0.5/kyve.zip" ...
2022-05-19 13:54:02.315 INFO Deleting kyve.zip ...
2022-05-19 13:54:02.664 INFO Comparing binary checksums ...
2022-05-19 13:54:02.666 INFO Found checksum = 8662ddeb3a3e0eaedbbb5a665a4fa0eed12448349218ef0d98afed25cfacd60c
2022-05-19 13:54:02.666 INFO Local checksum = 8662ddeb3a3e0eaedbbb5a665a4fa0eed12448349218ef0d98afed25cfacd60c
2022-05-19 13:54:02.666 INFO Checksums are equal. Continuing ...
2022-05-19 13:54:02.666 INFO Starting child process ...
2022-05-19 13:54:06.858 INFO Starting node ...
2022-05-19 13:54:06.861 INFO Name = impressed-emerald-spoonbill
2022-05-19 13:54:06.953 INFO Address = kyve1eka2hngntu5r2yeuyz5pd45a0fadarp3zue8gd
2022-05-19 13:54:06.954 INFO Pool Id = 0
2022-05-19 13:54:06.954 INFO @kyve/core = v1.0.8
2022-05-19 13:54:06.954 INFO @kyve/evm = v1.0.5
2022-05-19 13:54:06.955 DEBUG Attempting to fetch pool state.
2022-05-19 13:54:07.245 INFO Running node on runtime @kyve/evm.
2022-05-19 13:54:07.248 INFO Pool version requirements met
2022-05-19 13:54:07.249 INFO Fetched pool state
2022-05-19 13:54:07.349 INFO Node is already staked. Skipping ...
2022-05-19 13:54:07.350 INFO Running node with a stake of 100.0000 $KYVE