SmartPy Help

Reference Manual

Along with blogs, tutorials and templates, the best resource for SmartPy documentation is its Reference Manual.

Install the command line interface

FAQ

Please see our answers to Frequently Asked Questions.

Blog Posts and other Materials

Some Materials by the SmartPy Team

Introducting SmartPy and SmartPy.io, an Intiutive and Effective Language and Development Platform for Tezos Smart Contracts. Go to Medium Post
SmartPy.io Mar 5 2019. 14 min read

A First Encounter with SmartPy. Go to Medium Post
SmartPy.io Jun 27 2019. 9 min read

Basic Computations in SmartPy, Python and Michelson. Go to Medium Post
SmartPy.io Jul 25 2019. 4 min read

Introducing smartpy-cli, a simple CLI to build Tezos smart contract in Python. Go to Medium Post
SmartPy.io Sep 13 2019. 3 min read

A very small selection of templates that shows how to use SmartPy
Calculator - Computations and loops Go to Template
Store Value - A simple data storage Go to Template
Chess - Matrices, loops, local variables Go to Template

A very small selection of readily useful templates
FA2 - Fungible asset templates Go to Template
Chainlink Oracles - Experimental support of Chainlink oracles in Tezos Go to Template

Some Materials by Other Teams

A series about smart contract development in SmartPy by Cryptonomic.
Smart Contract Development Syllabus. Go to Medium Post
Part 1: Smart Contract Crash Course - Starting Your First Smart Contract with SmartPy. Go to Medium Post
Part 2: Complex Constructions - Crafting Smart Contracts with Advanced Techniques. Go to Medium Post
Part 3: Testing Patterns and Analytics - Verifying Smart Contract Behavior and Security. Go to Medium Post
Part 4: Deployment with ConseilJS - Originating Smart Contracts on Tezos. Go to Medium Post
Part 5: Interacting with Smart Contracts - Using ConseilJS to invoke, ping and fund contracts. Go to Medium Post
Part 6: Reference Guide - A Compilation of SmartPy Functions and Features. Go to Medium Post

A series, How To Write Smart Contracts for Blockchain Using Python, by Luiz Milfont.
Part I, a general introduction. Go to Medium Post
Part II, a SmartPy tutorial. Go to Medium Post

Tutorials and other teaching materials by Blockmatics.
An Escrow Smart Contract in SmartPy. Go to Medium Post
SmartPy - An Introduction to the smart contract language for Tezos. Open Youtube Video
Tezos SmartPy Developer Course. Open Course

A tutorial by Pawan Dhanwani from Tezos India Foundation.
Inter-Contract Calling in SmartPy. Go to Medium Post

Interactive code school that teaches you to write smart contracts in SmartPy by BUIDL LABS.
Cryptobots vs Aliens. Go to Course Website

The SmartPy editor

Please see Editor Help.

Access to internal modules

SmartPy relies heavily on two Python modules:

SmartPy also relies on SmartML, an OCaml library which is not published or documented yet.