Autonomys中文
AI3.0 的基础层

Autonomys Network 高级 CLI版MAC挖矿教程

高级 CLI 安装入门

我们将为您各自的操作系统下载两个文件。

  1. Subspace-Node– 这是实际与子空间网络建立连接的可执行文件
  2. Subspace-Farmer– 这是实际将在您分配的存储地块上耕种以获得奖励的可执行文件。
注意

从 2 月 19 日版本开始,我们通过增加内部并发性来增强绘图性能。此增强功能可提高 CPU 利用率并增加 RAM 使用率。如果您希望将农民恢复到其先前的行为,则可以使用标志 。--record-encoding-concurrency 1

macOS Specific Warnings:

最低 MACOS 版本

最低支持的 MacOS 版本是版本 12+

Step 1: Download Advanced CLI Executables


Step 2: Start Advanced CLI Node


危险

When attempting to start the node, you may be prompted: Click on instead of moving it to trash. To allow execution, go to , and click on . After this, simply repeat the step you prompted for (step 4 or 6). This time, click the button when prompted.cancelSystem Preferences -> Security & Privacy -> GeneralallowOpen

  1. 打开你喜爱的终端,并使用 切换到下载目录cd Downloads
  2. 使农民节点可执行(&N):
  • chmod +x Autonomys-farmer-macos-aarch64-gemini-3h-2024-apr-24
  • chmod +x Autonomys-node-macos-aarch64-gemini-3h-2024-apr-24
  1. 然后,我们将使用以下命令启动节点
# Replace `INSERT_YOUR_ID` with a nickname you choose
# Copy all of the lines below, they are all part of the same command
./Autonomys-node-macos-aarch64-gemini-3h-2024-apr-24 \
  run \
  --chain gemini-3h \
  --base-path NODE_DATA_PATH \
  --farmer \
  --name "INSERT_YOUR_ID"
NOTE

Using run, setting –base-path and specifying –chain became mandatory starting with Gemini 3h. The parameter was switched to at the same time.--validator--farmer

  1. 你应该在终端中看到类似的内容:
2022-02-03 10:52:23 Subspace
2022-02-03 10:52:23 ✌️  version 0.1.0-35cf6f5-x86_64-macos
2022-02-03 10:52:23 ❤️  by Subspace Labs <https://Autonomys.network>, 2021-2022
2022-02-03 10:52:23 📋 Chain specification: Subspace Gemini 1
2022-02-03 10:52:23 🏷  Node name: YOUR_FANCY_NAME
2022-02-03 10:52:23 👤 Role: AUTHORITY
2022-02-03 10:52:23 💾 Database: RocksDb at /Users/X/Library/Application Support/Autonomys-node-x86_64-macos-11-snapshot-2022-jan-05/chains/Autonomys_test/db/full
2022-02-03 10:52:23 ⛓  Native runtime: Autonomys-100 (Autonomys-1.tx1.au1)
2022-02-03 10:52:23 🔨 Initializing Genesis block/state (state: 0x22a5…17ea, header-hash: 0x6ada…0d38)
2022-02-03 10:52:24 ⏱  Loaded block-time = 1s from block 0x6ada0792ea62bf3501abc87d92e1ce0e78ddefba66f02973de54144d12ed0d38
2022-02-03 10:52:24 Starting archiving from genesis
2022-02-03 10:52:24 Archiving already produced blocks 0..=0
2022-02-03 10:52:24 🏷  Local node identity is: 12D3KooWBgKtea7MVvraeNyxdPF935pToq1x9VjR1rDeNH1qecXu
2022-02-03 10:52:24 🧑‍🌾 Starting Subspace Authorship worker
2022-02-03 10:52:24 📦 Highest known block at #0
2022-02-03 10:52:24 〽️ Prometheus exporter started at 127.0.0.1:9615
2022-02-03 10:52:24 Listening for new connections on 0.0.0.0:9944.
2022-02-03 10:52:26 🔍 Discovered new external address for our node: /ip4/176.233.17.199/tcp/30333/p2p/12D3KooWBgKtea7MVvraeNyxdPF935pToq1x9VjR1rDeNH1qecXu
2022-02-03 10:52:29 ⚙️  Syncing, target=#215883 (2 peers), best: #55 (0xafc7…bccf), finalized #0 (0x6ada…0d38), ⬇ 850.1kiB/s ⬆ 1.5kiB/s

Step 3: Start Advanced CLI Farmer

  1. 然后,我们将打开另一个终端,切换到 Downloads 目录,然后使用以下命令启动 Farmer 节点:
# Replace `PATH_TO_FARM` with location where you want you store plot files
# Replace `WALLET_ADDRESS` below with your account address from Polkadot.js wallet
# Replace `PLOT_SIZE` with plot size in gigabytes or terabytes, for example 100G or 2T (but leave at least 60G of disk space for node and some for OS)
./Autonomys-farmer-macos-aarch64-gemini-3h-2024-apr-24 farm --reward-address WALLET_ADDRESS path=PATH_TO_FARM,size=PLOT_SIZE
  1. 你应该在终端中看到类似的内容:
2022-06-02T00:02:04.552120Z  INFO Autonomys_farmer::commands::farm: Connecting to node at ws://127.0.0.1:9944
2022-06-02T00:02:04.557220Z  INFO jsonrpsee_client_transport::ws: Connection established to target: Target { sockaddrs: [], host: "127.0.0.1", host_header: "127.0.0.1:9944", _mode: Plain, path_and_query: "/" }
2022-06-02T00:02:04.575669Z  INFO Autonomys_farmer::commands::farm: Opening object mapping
2022-06-02T00:02:04.617553Z  INFO Autonomys_farmer::multi_farming: Opening plot
2022-06-02T00:02:04.645422Z  INFO Autonomys_farmer::multi_farming: Opening commitments
2022-06-02T00:02:04.666925Z  INFO Autonomys_farmer::farming: Subscribing to slot info notifications
2022-06-02T00:02:04.688218Z  INFO Autonomys_farmer::archiving: Subscribing to archived segments
2022-06-02T00:02:04.689129Z  INFO Autonomys_farmer::commands::farm: WS RPC server listening on 127.0.0.1:9955
2022-06-02T00:02:09.492868Z  INFO Autonomys_farmer::archiving: Plotted segment segment_index=0
2022-06-02T00:02:09.492868Z  INFO Autonomys_farmer::archiving: Plotted segment segment_index=1
2022-06-02T00:02:09.492868Z  INFO Autonomys_farmer::archiving: Plotted segment segment_index=2
2022-06-02T00:02:09.492868Z  INFO Autonomys_farmer::archiving: Plotted segment segment_index=3
2022-06-02T00:02:09.492868Z  INFO Autonomys_farmer::archiving: Plotted segment segment_index=4
2022-06-02T00:02:09.492868Z  INFO Autonomys_farmer::archiving: Plotted segment segment_index=5
  1. You are now farming! 你现在在种田!只需等待你的节点完全同步,并等待你的农民完全绘制。
赞(0)
未经允许不得转载:Autonomys 之家 » Autonomys Network 高级 CLI版MAC挖矿教程
欧意OKX币安Binance芝麻开门GATE