Writing My First Chia Blockchain Program — Part 2 — Setup

Paulo Carvalho
4 min readOct 27, 2021

I recently started learning Chialisp. Join me as I deploy my first program to the Chia blockchain and feel free to ask questions.

Photo by Francesco Gallarotti on Unsplash

Introduction

In part 1, we went over the key concepts in Chialisp.

In this second part of the series, we will go over how to setup your development environment so you can get to writing Chialisp!

Step 1: Install the Chia Network

  1. Download the Chia application here.
  2. Install the downloadable executable.
  3. Make sure you can access via the terminal by running the following command: chia -h
    If chia is not accessible via the terminal set it up using the following commands:
    On MacOS: PATH=/Applications/Chia.app/Contents/Resources/app.asar.unpacked/daemon:$PATH.
    On Windows: C:\Users\ * Your User * \AppData\Local\chia-blockchain\app-1.1.3\resources\app.asar.unpacked\daemon\chia.exe

Step 2: Connect to the Chia Testnet

Chia has a testnet which is the recommended place to try out new chia smart coins during development since it uses test money (TXCH) instead of real money (XCH).

--

--

Paulo Carvalho

Want to chat about startups, consulting or engineering? Just send me an email on paulo@avantsoft.com.br.