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 nodes, plotting, and farming 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.

Plotting Demo

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:88
7
expose:
8
- port: 8080
9
as: 80
10
proto: tcp
11
to:
12
- global: true
13
env:
14
- CONTRACT=
15
- FARMERKEY=
16
- REMOTE_LOCATION=local
17
#Choose local to access finished plots through web interface or set to upload and finished plots will be sent to SSH destination path like /root/plots
18
- PLOTTER=madmax
19
#Choose your plotter software - madmax or blade (testnet only)
20
- THREADS=8
21
#Must match CPU units
22
- UPLOAD_BACKGROUND=true
23
#Change to true to enable multiple background uploading of plots, this is the best option to use use 100% of your bandwidth.
24
###################################################################
25
# Uncomment the variables below and set REMOTE_LOCATION=upload to enable remote uploading
26
# - REMOTE_HOST=changeme.com #SSH upload host
27
# - REMOTE_LOCATION=changeme #SSH upload location like /root/plots
28
# - REMOTE_PORT=22 #SSH upload port
29
# - REMOTE_USER=changeme #SSH upload user
30
# - REMOTE_PASS=changme #SSH upload password
31
profiles:
32
compute:
33
chia:
34
resources:
35
cpu:
36
units: 8.0
37
memory:
38
size: 8Gi
39
storage:
40
size: 915Gi
41
placement:
42
akash:
43
signedBy:
44
anyOf:
45
- "akash1365yvmc4s7awdyj3n2sav7xfx76adc6dnmlx63"
46
attributes:
47
chia-plotting: "true"
48
pricing:
49
chia:
50
denom: uakt
51
amount: 100000
52
deployment:
53
chia:
54
akash:
55
profile: chia
56
count: 1
Copied!

Bladebit Plotting

Plotting with Bladebit has never been easier! There are a few things to note before you start using Bladebit instead of Madmax. Bladebit is so fast it can create plots faster than most home/consumer internet connections (1Gbps) can download them. To compensate for this we can adjust the Bladebit plotting speed by changing the CPU count of the deployment. Recommended Bladebit CPU Settings for 1Gbps Connections: ~20 minute plots = 8 cpu / 915Gi Storage ~15 minute plots = 16 cpu / 915Gi Storage ~10 minute plots = 32 cpu / 2Ti Storage Recommended Bladebit CPU Settings for Multi-Gigabit Connections: ~7 minutes plots = 64 CPU / 2Ti Storage ~4 minutes plots = 100 cpu / 4Ti Storage ~3 minutes plots = 186 cpu / 6Ti Storage
For a standard 1Gbps connection use the settings below, otherwise adjust the CPU units to match the plot time you want to achieve.
1
version: "2.0"
2
3
services:
4
chia:
5
image: cryptoandcoffee/akash-chia:88
6
expose:
7
- port: 8080
8
as: 80
9
proto: tcp
10
to:
11
- global: true
12
env:
13
- CONTRACT=
14
- FARMERKEY=
15
- REMOTE_LOCATION=local
16
#Choose local to access finished plots through web interface or set to upload and finished plots will be sent to SSH destination path like /root/plots
17
- PLOTTER=blade
18
#Choose your plotter software - madmax or blade (testnet only)
19
- THREADS=16
20
#Must match CPU units
21
- UPLOAD_BACKGROUND=true
22
#Change to true to enable multiple background uploading of plots, this is the best option to use use 100% of your bandwidth.
23
###################################################################
24
# Uncomment the variables below and set REMOTE_LOCATION=upload to enable remote uploading
25
# - REMOTE_HOST=changeme.com #SSH upload host
26
# - REMOTE_LOCATION=changeme #SSH upload location like /root/plots
27
# - REMOTE_PORT=22 #SSH upload port
28
# - REMOTE_USER=changeme #SSH upload user
29
# - REMOTE_PASS=changme #SSH upload password
30
profiles:
31
compute:
32
chia:
33
resources:
34
cpu:
35
units: 16.0
36
memory:
37
size: 420Gi
38
storage:
39
size: 915Gi
40
placement:
41
akash:
42
signedBy:
43
anyOf:
44
- "akash1365yvmc4s7awdyj3n2sav7xfx76adc6dnmlx63"
45
attributes:
46
chia-plotting: "true"
47
pricing:
48
chia:
49
denom: uakt
50
amount: 100000
51
deployment:
52
chia:
53
akash:
54
profile: chia
55
count: 1
Copied!

Downloading plots

To access the Chia Plot Manager, click on the `Uri` link on the deployment detail page. To download plots, click an invididual plot in the Chia Plot Manager and click on Download/Open.
Chia Plot Manager
*Once your download has finished - Delete the plot from the container - to make room for new plots! Plots will continue to be created as long as there is enough free space available in the container (Max 1Tb) and the deployment is fully funded.

Speed up downloads

Windows/Mac/Linux : Use a download manager like DownThemAll on Chrome/Firefox/Opera Linux/CLI: Use aria2 : apt-get install aria2
1
aria2c -c -s 16 -x 16 -k 64M -j 1 $plot_download_url
Copied!

Choosing a provider

Akash has partnered with Chia to provide $0.20/plots on Bigtractorplotting.com.

Waiting for bids...

If Akashlytics hangs on "Waiting for Bids" that could be an indication that all providers are full at the moment. The recommended fix is to reduce the requested storage amount from 1Ti to something more reasonable like 768Gi
1
profiles:
2
compute:
3
chia:
4
resources:
5
cpu:
6
units: 8.0
7
memory:
8
size: 6Gi
9
#Chia blockchain is currently ~40gb as of November 2021 / if you are plotting please use at least 256Gi
10
storage:
11
size: 768Gi
Copied!

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 keep 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: 100000
Copied!

Create more deployments

Easily scale your total plotting output by creating a new deployment. Click the three dots next to the Add Funds button on the deployment details page and click Redeploy.