Writing
Notes on the transpiler.
Pieces about reading Clarity output, the type-system mapping, and how to ship your first contract. Written by people who use the tool.
-
Writing your first Stacks contract in StxScript
A walkthrough for installing StxScript, scaffolding a token project, editing it, transpiling to Clarity, and understanding every step. Aimed at developers new to Stacks but familiar with TypeScript.
tutorialstacks -
Type inference rules that map cleanly to Clarity's type system
StxScript's type system is intentionally constrained so every type has a Clarity counterpart. Here is how the inference rules stay inside that envelope — and why that is a feature, not a limitation.
typescompiler -
Reading the StxScript → Clarity transpile output
The Clarity that StxScript emits is supposed to be auditable. Here is how to read it side-by-side with your source, what mapping rules to expect, and where the formatter takes liberties.
transpileraudit