Summary of Chialisp Training Camp

Sirius Labs
3 min readAug 19, 2021

The Global Chia Hackathon officially opened for submissions on August 12. Sirius Labs, the organizer of the Hackathon, is contributing $500,000 to the prize pool. The winning team can win a final prize of up to $100,000, and the first 100 submitted qualified projects will have priority to win a limited edition NFT and seed round funding offers.

Sirius Labs has organized and summarized all the Chialisp tutorials and materials for developers to help familiarize themselves with the language and get started coding as soon as possible. This Hackathon is aimed to attract skilled teams to expand Chia’s ecosystem.

Communities for Global Chia Developers:

Hackathon Discord:
https://discord.gg/HrzDvV8XDx

Chia Official Keybase:
https://keybase.io/team/chia_network.public
Tips: you need to search #chialisp to join the channel

Wechat (limited to Asia):
Add SiriusLabs to get invited to the Hackathon groups

Special thanks to Chia Network for providing Chialisp tutorial videos, code examples and other reference materials for developers.

Summary of Chialisp Tutorials

The first video is about the smart coin model, the differences between the smart coin model and the smart contract model, the advantages of the smart coin model, and how this coin-centric approach is beneficial to the development of financial applications.

YouTube Link: https://youtu.be/jRyTNdqP07Y

The second video gives an overview of the concepts involved in developing applications on Chia, including CLVM which runs on the Chia blockchain, the high-level language Chialisp, the basic concept of Coins, what happens when you spend a Coin, etc.

YouTube Link: https://youtu.be/lh9spX6Qv8I

The third video explains how to set up the environment and download Chialisp-related tools. There is a package on Atom called language-chialisp, which provides syntax highlighting when users are writing Chialisp applications.

YouTube Link: https://youtu.be/y8Thrrw25rQ

The fourth video explains the Chialisp basics, including print, calling functions, using modules, looping over data, cons, building lists and recursion.

YouTube Link: https://youtu.be/JcC1_igwSmA

The fifth video is divided into 8 parts to explain the coin lifecycle and testing. The Chialisp expert gives a walk through on how to write a simple smart coin, how to secure a smart coin, how to write driver code, how to write smart coin tests and how to deploy a smart coin to the blockchain.

【YouTube Link: https://youtu.be/v1o7fRHGPpM
【YouTube Link:
https://youtu.be/q1ZsTWRKd8A
【YouTube Link:
https://youtu.be/_SBGfMZhRd8
【YouTube Link:
https://youtu.be/xuXNc3vIDMI
【YouTube Link:
https://youtu.be/dGohmAc658c
【YouTube Link:
https://youtu.be/9tvcZrknc7I
【YouTube Link:
https://youtu.be/Y_p9qF2XLks
【YouTube Link:
https://youtu.be/KGC5zACBjkY

The sixth video explains what Singletons are and how they are involved in creating Ethereum-like contracts in Chia.

YouTube Link: https://youtu.be/kA0l9n5SEI8

The last two tutorials teach you how to lock a coin with a custom puzzle and how to spend a coin using RPC.

Website Link: https://chialisp.com/docs/tutorials/custom_puzzle_lock
Website Link: https://chialisp.com/docs/tutorials/coin_spend_rpc

In addition, a Chialisp training camp was held between August 9 to August 11. To kick things off, Chia founder Bram Cohen talked about “Why Chialisp”. He mentioned that the advantages of Chialisp and the coin model are its reliability, auditability and scalability, etc. Then, the basic content of Chialisp was introduced in the form of text combined with code.

Youtube Link: https://youtu.be/O0iae_-zXcs

In the first Q&A, Chialisp experts explain in detail the “Offer” feature of colored coins. “Offer” means that a user can create an unfinished transaction, and anyone who finds or sees the “Offer” can accept the “Offer” by making a transaction that finishes the other side.

Youtube Link: https://youtu.be/gBWVbeB3qag

In the second Q&A, Chialisp experts explain the two types of announcements in Chialisp. They also shared how they started learning Chialisp and what they learned in pooling protocol.

Youtube Link: https://youtu.be/JU26LlHAKWU

In the third Q&A, the Chilisp experts shared how they learned Chialisp’s working mechanism in the process of learning Chialisp. They also explained the potential problems contained in the “piggybank” example in the Chialisp teaching materials.

Youtube Link: https://youtu.be/s85YJZEDMk0

In the last Q&A, ​​two Chialisp experts respectively talked about their experiences of joining the Chia network and why they joined the Chia network. They also discussed how CLVM was developed and how CLVM and Chialisp try to avoid a potential fork that might be caused by technical debt.

Youtube Link: https://youtu.be/Hp0fpOUELu4

References:

  1. Chialisp Tutorials: https://chialisp.com/docs/tutorials/why_chia_is_great
  2. Chialisp Training Camp Recordings on YouTube channel: https://www.youtube.com/channel/UChFkJ3OAUvnHZdiQISWdWPA/featured

--

--