Content
Clarity of Mind
Foreword
Introduction
Getting started
Installing Clarinet
Clarity basics
Types
Primitives
Sequences
Composites
Keywords
Storing data
Constants
Variables
Maps
Functions
Public functions
Private functions
Read-only functions
Control flow & error handling
asserts!
try!
Unwrap flavours
Response checking
Using Clarinet
Creating a new project
Writing your first contract
Interacting with your contract
Testing your contract
Practice projects
Time-locked wallet
Smart claimant
Multi-signature vault
Traits
Defining traits
Implementing traits
Passing traits as arguments
Stacks Improvement Proposals (SIPs)
SIP009: NFTs or Non-Fungible Tokens
Creating a SIP009 NFT
SIP010: Fungible tokens
Creating a SIP010 fungible token
Building a marketplace
Setup
Listing & cancelling
Fulfilling listings
Unit tests
Runtime cost analysis
Best practices
Coding style
What to store on-chain
Contract upgradability
Links and resources
Links and resources
Stacks Documentation
Hiro Developer Documentation