Installing Docker#
Refer to the Docker official tutorial to install the Docker container environment for the corresponding operating system.
Wallet Private Key#
Obtain after creating a wallet using the Phantom wallet browser extension.
Obtain from the Ore official website.
Running on a Single Machine#
docker run -d --name ore -e ORE_PRIVATE_KEY=EnterYourWalletPrivateKeyHere sigeshuo/ore
Description:
--name ore: Container name
# Enter the container
docker exec -it ore zsh
# Check rewards, remember to press CTRL + C to end before exiting the container
rewards
# Claim rewards, remember to press CTRL + C to end before exiting the container
claim
# Exit the container
exit
Running in Batch#
Running Multiple Instances with a Single Wallet#
Create a docker-compose.yaml file, open it with a text editor, and enter the following content to save:
version: '3.8'
services:
ore-mine: # Automatic mining container
image: sigeshuo/ore
restart: unless-stopped
environment:
- ORE_MINE_THREADS=5
- ORE_PRIVATE_KEY=EnterYourWalletPrivateKeyHere
ore-claim: # Automatic reward claiming container
image: sigeshuo/ore
restart: unless-stopped
command:
- claim
environment:
- ORE_MINE_THREADS=5
- ORE_PRIVATE_KEY=EnterYourWalletPrivateKeyHere
Run the following command in the same directory as the docker-compose.yaml file to run multiple instances:
# Start 5 mining containers with a single wallet and 1 reward claiming container
docker compose up -d --scale ore-mine=5 --scale ore-claim=1
Running Multiple Instances with Multiple Wallets#
Create a docker-compose.yaml file, open it with a text editor, and enter the following content to save:
version: '3.8'
services:
ore-mine-1: # First wallet automatic mining container
image: sigeshuo/ore
restart: unless-stopped
environment:
- ORE_MINE_THREADS=5
- ORE_PRIVATE_KEY=EnterYourWalletPrivateKeyHere
ore-mine-2: # Second wallet automatic mining container
image: sigeshuo/ore
restart: unless-stopped
environment:
- ORE_MINE_THREADS=5
- ORE_PRIVATE_KEY=EnterYourWalletPrivateKeyHere
ore-mine-3: # Third wallet automatic mining container
image: sigeshuo/ore
restart: unless-stopped
environment:
- ORE_MINE_THREADS=5
- ORE_PRIVATE_KEY=EnterYourWalletPrivateKeyHere
ore-claim-1: # First wallet automatic reward claiming container
image: sigeshuo/ore
restart: unless-stopped
command:
- claim
environment:
- ORE_MINE_THREADS=5
- ORE_PRIVATE_KEY=EnterYourWalletPrivateKeyHere
ore-claim-2: # Second wallet automatic reward claiming container
image: sigeshuo/ore
restart: unless-stopped
command:
- claim
environment:
- ORE_MINE_THREADS=5
- ORE_PRIVATE_KEY=EnterYourWalletPrivateKeyHere
ore-claim-3: # Third wallet automatic reward claiming container
image: sigeshuo/ore
restart: unless-stopped
command:
- claim
environment:
- ORE_MINE_THREADS=5
- ORE_PRIVATE_KEY=EnterYourWalletPrivateKeyHere
Run the following command in the same directory as the docker-compose.yaml file to run multiple instances:
docker compose up -d
Supported variable explanations
In the above examples:
ORE_MINE_THREADS: Adjust the number of mining threads, not recommended to be too large
ORE_PRIVATE_KEY: Wallet private key, handle with care
ORE_PRIORITY_FEE: Priority fee, default: 1. You can add this variable as shown above to adjust the priority fee as needed
ORE_RPC_URL: RPC address, default:
Log, reward, and claiming instructions, as shown below:
# View all containers
docker ps -a
Using the first container "ore-ore-claim-1" as an example:
View logs:
docker logs -f ore-ore-claim-1
Enter the container:
docker exec -it ore-ore-claim-1 zsh
Check rewards (can only be used after entering the container):
rewards
Claim rewards (can only be used after entering the container):
claim
Example#
Example, you can download and unzip it directly, and run it according to the content in the README.md file.
https://r2.sigeshuo.com/2024/04/09/yY4DTaEPy5.zip
👇For more tutorials, follow the blog:#
The blog collects internet AI tools, on-chain tools in the cryptocurrency field (such as faucets, research sites, on-chain tracking, airdrops, etc.), and is regularly updated. It is recommended to bookmark it for future reference!