MathMakesArt
MathMakesArt

@mathMakesArt

20 Tweets 36 reads May 31, 2021
This is a thread of links to resources which I have found useful while learning smart contract development on #Tezos
Even if you're not interested in coding, these links are helpful for comprehending decentralized technology and deciding which projects you believe in.
1/?
cryptocodeschool.in
CRYPTOVERSE WARS (@cryptoversewars)
Interactive learning platform for the SmartPy programming language.
In my opinion, the best way to begin SmartPy.
cryptocodeschool.in
Also, their "Basics of Blockchain" module teaches some non-coding content.
2/?
tezosacademy.io
TEZOS ACADEMY (@tezosacademy)
Interactive learning platform for the LIGO language.
I prefer SmartPy for now, due to my prior knowledge of Python. But I do want to understand LIGO syntaxes someday, and I plan to use Tezos Academy for that.
3/?
medium.com
"Tezos Tools Directory" by @adshinder
Collection of a broad variety of knowledge useful for any developer entering the Tezos world for the first time.
Some of it is LIGO-specific, but as a SmartPy user this is still one of my favorite documents.
4/?
wiki.tezosagora.org
Tezos White Paper (2014)
Explains the concepts behind the proposed "self-amending crypto-ledger" of Tezos
wiki.tezosagora.org
Tezos Position Paper (2014)
Describes the value proposition of Tezos and the potential benefits of its design choices
5/?
tzip.tezosagora.org
Tezos Improvement Proposal (TZIP) Explorer
TZIP documents explain new ideas for standards and concepts (such as smart contract specifications) to improve the Tezos blockchain.
If approved, they become "Final" and will be adopted as standards.
6/?
wiki.tezosagora.org
The Tezos Agora Wiki summarizes seven "key" TZIPs. The summaries are included as images in this tweet.
I think TZIPs (and the discussion surrounding them) are one of the best ways to get a nuanced understanding of Tezos and its many innovations.
7/?
One last TZIP comment:
github.com
I rendered all the TZIP markdown files into PDFs. The (default) formatting isn't exactly pretty, but it's still a lot more printer-and-ereader-friendly than the websites themselves. Sharing in case it's useful to someone.
8/?
The @serokell team wrote a great document categorizing the types of gas consumption on #Tezos:
gitlab.com
This document and their "How to Minimize Transaction Costs of Tezos Smart Contracts" article (medium.com) are great development resources.
9/?
smartpy.io
SmartPy (@SmartPy_io) is a way to write #Tezos smart contracts with Python syntax.
It's also a browser IDE with tools for simulation, debugging, testing, deployment, wallet management, etc.
And they have dozens of useful examples as template code!
10/?
smartpy.io
The SmartPy FA2 template is an impressive piece of contract code!
"I recommend you go through the FA2 template even if it seems overwhelming at first, it’s worth spending some time to understand how it’s working behind the scenes."
-@cryptoversewars
11/?
smartpy.io
The SmartPy Explorer is an incredibly useful tool. Its features are too many to list in a tweet, but it's very helpful and perfectly integrated into the SmartPy online IDE.
Importantly, you can build and send custom interactions with your contracts.
12/?
smartpy.io
The SmartPy Wallet is yet another utility in the online IDE. It has tools for interacting with software wallets (like Temple) and Ledger hardware wallets.
You can also import directly from the Tezos Faucet (faucet.tzalpha.net). Easy testnet XTZ!
13/?
smartpy.io
The SmartPy Michelson viewer is the last utility I'll mention for now. Among other features, it allows you to check Michelson code for errors and to parse it into JSON format.
14/?
tqtezos.github.io
TZComet is "an explorer/editor/validator/visualizer for Tezos contract metadata" by @TQTezos.
Validation allows confidence in metadata compatibility.
Following the metadata standard is crucial. It is defined by TZIP-16 (see tweets 5-7 in thread).
15/?
github.com
Search "import smartpy as sp" on GitHub to view open-source examples of SmartPy contract code!
NOTE: You must be signed in with a GitHub account to view code search results.
github.com
The #HicEtNunc swap contract is written in SmartPy!
16/?
medium.com
"The magic and mystery of the Micheline binary format" by @dsintermediatd
17/?
These documents by @serokell
are a great intro to the idea of "upgradeable" smart contracts on #Tezos.
Markdown Doc:
gitlab.com
Blog Article:
serokell.io
Beyond the upgrade concept, it's also given me a better understanding of the big_map type.
18/?
There are 2 main ways to facilitate contract upgrades.
The Serokell docs above achieve this by storing all contract contents in packed bytes form within a big_map.
The other way is known as "Proxy Redirect"
medium.com
It's discussed by @CryptonomicTech here!
19/?
Some further discussion of upgradeable contracts from the #Tezos StackExchange
tezos.stackexchange.com
How to upgrade a smart contract?
tezos.stackexchange.com
Upgradeable Contracts: Proxy Delegate vs Stored Lambdas
tezos.stackexchange.com
Example of Upgradable SmartPy

Loading suggestions...