The Book of Pint
1.
Getting Started
1.1.
Installation
1.2.
Quickstart Guide
2.
Examples
2.1.
Counter
2.2.
Subcurrency
3.
Pint Smart Contracts
4.
Common Programming Concepts
4.1.
Variables
4.2.
Data Types
4.3.
Comments
4.4.
Conditionals
4.5.
Custom Types
4.5.1.
Type Aliases
4.5.2.
Unions
4.5.3.
The match Construct
4.6.
Constraints
4.7.
Constants
5.
Storage
5.1.
Statically-Sized Storage Types
5.2.
Dynamically-Sized Storage Types
5.3.
External Storage Access
6.
Managing Growing Projects
6.1.
Pint Projects
6.2.
Defining Modules
6.3.
Paths for Referring to an item in a Module Tree
6.4.
Bringing Paths into Scope with the use Keyword
7.
Advanced Features
7.1.
Invoking Predicates
7.2.
Macros
8.
Pint Reference
8.1.
Commands
8.2.
Manifest
9.
Appendix
9.1.
A - Keywords
9.2.
B - Compiler Intrinsics
9.3.
C - Application Binary Interface (ABI)
9.3.1.
C.1 - Application Binary Interface (ABI) Specification
9.3.2.
C.2 - Constructing Solutions using the ABI
9.4.
D - Storage Keys Assignment
9.5.
E - Known Issues and Missing Features
Light
Rust
Coal
Navy
Ayu
The Book of Pint
Pint Reference
Reference docs for the
pint
command line tool.
The
Command Reference
shows the available commands.
The
Manifest Reference
provides a description of all manifest fields.