Chia on Akash

Why use Akash?

Welcome Chia community! We are excited to announce support for Chia on the Akash network! You can now run farmers and plotters on our marketplace of compute. Below you will find details on how to configure your deployment for different use cases. Akash is a part of the Cosmos ecosystem of blockchains.

Windows/Linux/Mac Users

  1. 1.
    Install Keplr wallet as a browser plugin
  2. 2.
    Install Akashlytics and import your AKT wallet address from Keplr.
For additional help we recommend you follow our full deployment guide in parallel with this guide.

How does this work?

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. Each time you create a deployment, 5 AKT will be used for escrow and to fund the deployment. If the deployment is canceled, 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.

Default wallet

Akash uses Keplr as the desktop wallet. Advanced users can follow the CLI instructions.

Quickest way to get more AKT

To fund your deployment you will need AKT in your account. The fastest way to do that is in one of the following two ways.

Buy on an Exchange

  1. 1.
    Install Keplr
  2. 2.
    Buy AKT on an exchange
  3. 3.
    Withdraw your AKT to your Keplr wallet

Swap from ATOM to AKT

  1. 1.
    Install Keplr
  2. 2.
    Send 10 ATOM to your new Cosmos wallet address inside Keplr (this address will start with cosmos)
  3. 3.
    Go to Osmosis Assets > next to Cosmos Hub - ATOM click on Deposit. This step will deposit ATOM from your Keplr wallet onto the Osmosis platform. Press Connect Wallet to connect your Keplr wallet to Osmosis.
  4. 4.
    Now go back to Osmosis Homepage and ensure ATOM > AKT is selected to complete the swap. This step swaps your ATOM you deposited onto the Osmosis platform into any other supported coin.
  5. 5.
    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 Akashlytics.
Have more questions? Find our team in Discord and Telegram.

Deploying Chia Plotting on Akash

Once you have set up your Keplr wallet and imported the address to Akashlytics you are ready to create your first deployment. Follow the instructions in Akashlytics 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 (listed below). Choose Empty for the template and paste the deploy.yaml file adjusting your wallet address and pool variables as desired.
1
---
2
version: "2.0"
3
4
services:
5
chia:
6
image: cryptoandcoffee/akash-chia:12
7
expose:
8
- port: 8444
9
as: 8444
10
proto: tcp
11
to:
12
- global: true
13
env:
14
- CONTRACT=
15
- FARMERKEY=
16
- REMOTE_HOST=changeme.com #SSH upload host
17
- REMOTE_LOCATION=changeme #SSH upload location like /root/plots
18
- REMOTE_PORT=22 #SSH upload port
19
- REMOTE_USER=changeme #SSH upload user
20
- REMOTE_PASS=changme #SSH upload password
21
- PLOTTER=madmax #Choose your plotter software - madmax/blade
22
profiles:
23
compute:
24
chia:
25
resources:
26
cpu:
27
units: 10.0
28
memory:
29
size: 6Gi
30
#Chia blockchain is currently ~40gb as of November 2021 / if you are plotting please use at least 256Gi
31
storage:
32
size: 256Gi
33
placement:
34
akash:
35
pricing:
36
chia:
37
denom: uakt
38
amount: 100
39
40
deployment:
41
chia:
42
akash:
43
profile: chia
44
count: 1
Copied!

Choosing a provider

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.

How to speed up plotting?

Use only providers with the chia-plotting attribute

To limit the selection of providers to those with fast storage that meets the requirements for plotting, we recommend you add the chia-plotting attribute to the placement section of deploy.yaml file.
1
placement:
2
akash:
3
attributes:
4
chia-plotting: "true"
5
pricing:
6
chia:
7
denom: uakt
8
amount: 25
Copied!

Increase the deployment size on Akash

You can deploy more than one instance of plotting.
1
cpu:
2
units: 1.0 # Max cpu units is 10
Copied!
Or increase the replica count from count: 1 to count: 2.
1
deployment:
2
chia:
3
akash:
4
profile: chia
5
count: 1 # Multiplier for cpu:units
Copied!
Last modified 1mo ago