Writing My First Chia Blockchain Program — Part 2 — Setup
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.
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
- Download the Chia application here.
- Install the downloadable executable.
- Make sure you can access via the terminal by running the following command:
chia -h
Ifchia
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).