Skip to content

Web IDE

SmartPy is testing a new WEB IDE leveraging the Jupyter Notebook.

You can try it out here.

Jupyter Notebook

The Jupyter Notebook is a web application that allows you to run SmartPy code using the cell by cell Jupyter Notebook interface that also accepts Markdown.

The code is executed in the client and stored in the local storage of the browser. Nothing is stored, ran or transferred to the cloud.

The basic documentation about what a notebook is can be found in the Jupyter Notebook documentation.

SmartPy features

To use SmartPy in this notebook you first need to install it. In a Python separated cell one can use the magic %pip install tezos_smartpy.

Once installed, you can import the SmartPy library with import smartpy as sp. This must also be done in a separate Notebook cell.

Once the library is installed, you can use any SmartPy code in the other cells.

SmartPy provides visualization of the scenario action results and a button to go to the origination page.

SmartPy Web IDE

The SmartPy online IDE is still available. It provides a more traditional IDE experience but it also shows a visualization of the scenario action results.