KYVE测试教程和节点搭建
December 14th, 2021
                                      官网:<https://app.kyve.network/>

                                 推特:<https://twitter.com/KYVENetwork>

测试教程

首先切换到 Moonbase Alpha 网络

大家可以到 chainlist去添加Moonbase测试网络

领取测试代币

登陆KYVE网站点击Faucet

参加资助

返回首页选择Moonriver,选择Funders点击Become a funder

输入你资助的数量,注意左边Minimum funding amount是你最低的资助金额

节点搭建

您可以直接从 Docker 运行 EVM 快照集成。

要拉取最新的 Docker 镜像,请运行:

docker pull kyve/evm-snapshots:latest

要启动您的节点,请运行以下命令(不要忘记传入options):

docker run --rm --name kyve-aurora-node kyve/evm-snapshots:latest --pool {POOL_ADDRESS} --private-key {PRIVATE_KEY} --stake 100

我们还提供Prebuilt Binaries供您运行。

我们目前支持 Linux、MacOS 和 Windows,您可以从这里下载。

-p, --pool

您要运行的池的地址。

-s, --stake

您想要质押的代币数量。

-pk, --private-key

您持有 $KYVE 的以太坊私钥。

-k, --keyfile 选修的

Arweave 密钥文件的路径。

-n, --name 可选,默认为随机名称

节点的标识名称。

-e, --endpoint 选修的

自定义 Moonbase Alpha 端点。

-g, --gas-multiplier 选修的

您想要乘以默认 gas 价格的金额。

-st, --send-statistics 可选,默认为真

发送统计信息。

在 Linux 上运行

./kyve-evm-snapshots-linux --pool {POOL_ADDRESS} --private-key {PRIVATE_KEY} --stake 100

在 MacOS 上运行

./kyve-evm-snapshots-macos --pool {POOL_ADDRESS} --private-key {PRIVATE_KEY} --stake 100

在 Windows 上运行

.\kyve-evm-snapshots-win.exe --pool {POOL_ADDRESS} --private-key {PRIVATE_KEY} --stake 100

验证节点是否正常运行

Uploader

当您作为上传者运行时,您应该看到如下内容:

2021-12-14 09:41:00.000  INFO 🚀 Starting node ...
Name          = kyve-aurora-uploader
Address       = 0x...
Pool          = 0x...
Desired Stake = 100 $KYVE
@kyve/core          = v0.1.2
@kyve/evm-snapshots = v0.0.0
2021-12-14 09:41:00.000  DEBUG [PoolState] Attempting to fetch pool state.
2021-12-14 09:41:00.000  DEBUG [PoolState] Successfully fetched pool state.
2021-12-14 09:41:00.000  INFO  ⏱  Pool version requirements met.
2021-12-14 09:41:00.000  INFO  💻 Running node on runtime @kyve/evm-snapshots.
2021-12-14 09:41:00.000  INFO  🌐 Joining KYVE Network ...
2021-12-14 09:41:00.000  INFO  ✅ Connected to node 0x...
2021-12-14 09:41:00.000  INFO  👌 Already staked with the correct amount.
2021-12-14 09:41:00.000  INFO  📚 Running as an uploader ...
2021-12-14 09:41:00.000  INFO  [EVM Snapshots] ✅ Connection created. Endpoint = https://mainnet.aurora.dev

Validator

当您作为验证器运行时,您应该看到如下内容:

2021-12-14 09:41:00.000  INFO 🚀 Starting node ...
Name          = kyve-aurora-validator
Address       = 0x...
Pool          = 0x...
Desired Stake = 100 $KYVE
@kyve/core          = v0.1.2
@kyve/evm-snapshots = v0.0.0
2021-12-14 09:41:00.000  DEBUG [PoolState] Attempting to fetch pool state.
2021-12-14 09:41:00.000  DEBUG [PoolState] Successfully fetched pool state.
2021-12-14 09:41:00.000  INFO  ⏱  Pool version requirements met.
2021-12-14 09:41:00.000  INFO  💻 Running node on runtime @kyve/evm-snapshots.
2021-12-14 09:41:00.000  INFO  🌐 Joining KYVE Network ...
2021-12-14 09:41:00.000  INFO  ✅ Connected to node 0x...
2021-12-14 09:41:00.000  INFO  👌 Already staked with the correct amount.
2021-12-14 09:41:00.000  INFO  🧐 Running as an validator ...
2021-12-14 09:41:00.000  INFO  [Validator] ✅ Connection created. Endpoint = https://mainnet.aurora.dev
Subscribe to Monkey
Receive the latest updates directly to your inbox.
Verification
This entry has been permanently stored onchain and signed by its creator.
More from Monkey

Skeleton

Skeleton

Skeleton