Welcome xmrig and Monero miners! Akash is a decentralized marketplace of compute with thousands of CPU's ready for small and large deployments. xmrig mining can be deployed on the network successfully using this guide. Akash is a part of the Cosmos ecosystem of blockchains.
- Install Keplr wallet as a browser plugin
- Install Cloudmos and import your AKT wallet address from Keplr.
- Fund your wallet
For additional help we recommend you follow our full deployment guide in parallel with this guide.
Akash uses its blockchain to manage your container deployment and accounting. To deploy on Akash you will need to fund your wallet with at least 10 AKT (~$20) Each time you create a deployment, 5 AKT will be used for escrow and to fund the deployment. If the deployment is cancelled the balance of the escrow is returned to you. You can spin up deployments without worrying about any long term contracts and you can cancel anytime.
Akash uses Keplr as the desktop wallet. Advanced users can follow the CLI instructions
To fund your deployment you will need AKT in your account. The fastest way to do that is as follows:
- Install Keplr
- Send 10 ATOM to your new Cosmos wallet address inside Keplr (this address will start with
cosmos
) - Goto Osmosis Assets > next to
Cosmos Hub - ATOM
click onDeposit
This step deposits ATOM from your Keplr wallet onto the Osmosis platform. - Now go back to Osmosis Homepage and select
ATOM > AKT
to complete the swap This step swaps your ATOM you deposited onto the Osmosis platform into any other supported coin. - Return to the Osmosis Assets page to withdraw your AKT to your Keplr wallet This step withdraws AKT from the Osmosis platform back into your Keplr wallet. You can now send AKT to Cloudmos.
Have more questions? Find our team in Discord and Telegram
Once you have setup your Keplr wallet and imported the address to Cloudmos you are ready to create your first deployment. Follow the instructions in Cloudmos to create a certificate, then click on Create Deployment
When prompted to Choose Template
select Empty
as we will copy-and-paste the deploy.yaml file from this repository.
Choose Empty
for the template and paste the deploy.yaml
file from this repository adjusting your wallet address and pool variables.
---
version: "2.0"
services:
xmrig:
image: cryptoandcoffee/akash-xmrig:1
expose:
- port: 8080
as: 80
proto: tcp
to:
- global: true
env:
- "ADDRESS=4AbG74FRUHYXBLkvqM1f7QH3UXGkhLetKdxS7U7BHkyfMF4nfx99GvN1REwYQHAeVLLy4Qa5gXXkfS4pSHHUWwdVFifDo5K"
- "POOL=pool.hashvault.pro:80"
- "RANDOMX_MODE=auto" #accepts auto-fast-light
- "RANDOMX_1GB=true"
- "TLS=true" #If supported by pool
- "TLS_FINGERPRINT=420c7850e09b7c0bdcf748a7da9eb3647daf8515718f36d9ccfdd6b9ff834b14" #Can be blank
profiles:
compute:
xmrig:
resources:
cpu:
units: 1.0
memory:
size: 1Gi
storage:
size: 1Gi
placement:
akash:
pricing:
xmrig:
denom: uakt
amount: 2
deployment:
xmrig:
akash:
profile: xmrig
count: 1
Akash is a marketplace of compute. Providers set their own prices for compute resources. We recommend you try different providers and check your logs after deployment to determine the hashrate.
The Akash version of xmrig comes with variables that can be added or removed to the deploy.yaml file to further configure the miner.
Here are all available variables:
POOL=
WALLET=
PASSWORD=
WORKER=
TLS=
TLS_FINGERPRINT=
ALGO=
DONATE_LEVEL=
RANDOMX_MODE=
RANDOMX_1GB=
The default pools are Hashvault and MoneroOcean, if you input either address in the POOL=
variable, the program will ping the nearest location when deploying for optimal latency.
We recommend you use Hashvault for a reliable pool, however if you need to change it feel free using the POOL=
and configure WALLET=
and PASSWORD=
.
If your pool does not support TLS it can be disabled by setting TLS=false
and TLS_FINGERPRINT=
in the deploy.yaml file.
You can deploy more CPU or more replicas to mine faster.
cpu:
units: 1.0 # Max cpu units is 10
Or increase the replica count from count: 1
to count: 2
.
deployment:
xmrig:
akash:
profile: xmrig
count: 1 # Multiplier for cpu:units
Just enter your deployment URI at http://workers.xmrig.info
Enter your Monero address to see the stats at https://monero.hashvault.pro/en/dashboard
After your deployment has finished tuning or is displaying results on the pool you can check your profitability by inputing your hashrate from the log file.
Minerstat profitability calculator
We recommend you check MiningPoolStats for the most up-to-date list of mining pools.