Cryptoverse Wars Chapter 3

Abhinav Pandey
BUIDL Labs
Published in
Oct 20, 2020

Link to Interactive Class: Chapter 3: Introduction to SmartPy

This blogpost is a part of a series of blog posts that act as a written guide for Cryptoverse Wars “Cryptobots vs Aliens. Cryptoverse Wars is a series of interactive lessons that teach you how to write Smart Contracts (in SmartPy) that can be deployed on the Tezos Blockchain. You learn by doing. You can learn the content of this blog-post interactively by heading over to our code-editor.

Our Content+Coding interface

Intro:

SmartPy is a high-level smart contracts library built to greatly ease the accessibility, understandability, and probability of smart contracts that can be used to write and test smart contracts that are deployable on the Tezos blockchain.

It uses the widely popular programming language Python to reduce the barrier of entry for smart contracts builders and empower a large crowd of potential developers of dApps and other smart contracts to contribute to the Tezos ecosystem.

#buidl-ing time:

All SmartPy source code should start by importing the smartpy python library.

To do the same, type out the following statement in your code editor:

import smartpy as sp

If you are doing this on our Code-Editor, when you’re finished:

  1. Click on “Check” to check your submission with the correct answer.
  2. Click on “Show Answer” in case you get stuck.

Helpful Links:

  1. SmartPy’s website
  2. Intro of SmartPy — written by SmartPy’s team.
  3. SmartPy’s online IDE — where you can test and see how your contract is getting compiled.

Originally published at https://cryptocodeschool.in.

--

--

Abhinav Pandey
BUIDL Labs
0 Followers
Editor for

Solving growth problems @BUIDLLabs