Standard types
Pebble supports a few built-in types.
API
1 item
Concepts
3 items
Contract Statements
A contract in Pebble is the top-level unit of on-chain logic.
Prelude Types
10 items
State
Pebble 0.3.1 ยท all symbols on this page are stable.
Syntax
4 items
Standard Library
12 items
Builtin Interfaces
Pebble 0.3.1 ยท all symbols on this page are stable.
Builtin Values and Literals
Pebble 0.3.1 ยท all symbols on this page are stable.
Reference
4 items
CLI
Pebble comes with a command-line interface(CLI) for working with smart contracts.
Compiler Configuration
The Pebble compiler reads its options from a pebble.config.json file at the root of your project. The CLI resolves it relative to the current working directory and defaults to ./pebble.config.json. You can point to a different file with the --config flag.
Testing
Pebble has a built-in test runner. You write tests directly inside .pebble files using the test keyword, and run them with pebble test. Tests with parameters are automatically property-based and fed pseudo-random inputs.