βοΈSetting up a miner
This tutorial will guide you through how to setup a miner on your local machines. Currently we only support Intel-based chip, using x64:
Linux-x64
MacOS-x64
Windows-x64
Part 1: Setup the binary (Mac OS)
Download the latest binary according to your architecture via the github release page here.
You may need to add the permission for the binary to run by running
chmod +xcommand
./miner-macos-x64-ec7a715
zsh: Permission denied: ./miner-macos-x64-ec7a715
chmod +x ./miner-macos-x64-ec7a715Allow in the miner binary in your privacy & security settings
If you see the following pop up screen, you need to open your privacy settings yourself and allow the binary to run. Go to System settings > Privacy & Security > Security > click Allow Anyway


Finally, you should see a success terminal like this.

Part 2: Setup your wallet for mining
Create a wallet using SUI wallet chrome extension or any other usable tool.
Export its private key. Copy and save it somewhere, we will need that later.

Request test tokens from the faucet. Please run and replace
<YOUR_ADDRESS>to your wallet address. You should receive 1000 or 5x200 test tokens.
Run it for 2 or 3 times to ensure you have 2000~3000 SUI balance. You can add the private network RPC to SUI wallet chrome extension
https://privnet-rpc.suidaiya.com/Ensure that you can see the balance from SUI wallet chrome extension.

Part 3: Setup the miner config
Setup your
miner.jsonconfig file by running the make-config command
Replace the minerPrivateKey field of the miner.json with the private key associated to your Sui address. You can also choose a different minerName as you prefer.
Workers can be set to a number between 2 and your max CPU cores. You can start with 2 and increase by 1 to know which value can maximize the mining speed.
Part 4: Run the miner
Now run the following command to run the miner and if you see the following output, you know that the miner has started successfully:
Last updated