Then, if you are new to smart contract programming, I'd recommend this tutorial.
It showcases simple functionalities one by one, and will get you to read & interact with smart contracts on StarkNet in order to grasp how they work. github.com/starknet-edu/s…
If you already know how to program smart contracts and want to get into Cairo specifically, I'd recommend following this same tutorial
BUT
by following exercice 14 directly. Write a contract that validates all the exercices in one shot. I dare you. github.com/starknet-edu/s…
Another excellent entry point to Cairo and StarkNet is StarkLings by @OnlyDust_xyz .
It is interactive and very well maintained, and the team at Only Dust will make your journey in the StarkNet ecosystem a pleasure github.com/onlydustxyz/st…
Then let's talk about smart contract primitives you might be looking for.
How do you deploy an ERC20 on StarkNet?
Well, there's a tutorial for that. Note that it is made for people NOT familiar with ERC20, it's quite easy to get started github.com/starknet-edu/s…
Same for ERC721: This tutorial is an introduction to how ERC721 tokens are designed and work, and how to customize and deploy one on StarkNet.
So far, we've seen "Doing stuff that you can do on Ethereum, on StarkNet".
What about the rest? Where is the good stuff, for hungry web3 people?
What can you do with StarkNet that you can't do anywhere else?
Let's start with cross layer communication. Design your own L1 <-> L2 bridge with this tutorial.
Burn tokens on a layer, mint them on the other one.
Send instructions, data or whatever you fancy. github.com/starknet-edu/s…
Then let's talk about account abstraction.
There is no such thing as an EOA on StarkNet. Every account is a smart contract.
Scratch everything you thought you knew about UX and security trade offs on the blockchain.
What about Cairo?
Cairo is NOT a smart contract programming language.
It's a general purpose programming language, which allow you to write provable programs. Amongst which, smart contracts.
Explore the doc cairo-lang.org/docs/hello_cai… and use the playground cairo-lang.org/playground/
Ever heard "Zk rollups", "Validiums", "Volition", "DAC", "Data availability layer" but not sure what they are?
~15 tweets and you'll know 🧶
By now maybe you know what a validity proof is:
Alice executes a program, then sends the output + a proof of execution to Bob.
Bob verifies the proof, and has certainty that the output is correct
And it is cool because 1) Bob does not have to run the program and 2) Verify the proof is much easier than running the program and 3) Ethereum smart contracts are able to verify such proofs.
Des copains me disaient avoir un peu de mal à comprendre ce qu'est le "web3"; j'ai essayé d'expliquer en quelques lignes ce que c'est. A dérouler 🧶 (10)
D'abord la base: "web3" c'est un terme marketing pour dire "crypto/blockchain".
Le Web3 fait à l'échange de VALEUR ce qu'internet a fait à l'échange d'INFORMATION. Internet a permis d'aplanir les échanges d'info en passant par moins/pas d'intermédiaires, et à n'importe qui d'innover dans ce domaine
Aujourd'hui, l'échange de valeur (argent, actions, biens) est dans la même situation que l'échange d'information pré internet.
Il y a des tas d'intermédiaires
C'est opaque
C'est lent
C'est cher
C'est très contraint géographiquement.
This tutorial has been out for some time already, but we haven't introduced it formally yet. It is the second opus in our tutorial series, following Cairo 101 (read contracts, interact with them).
But this time, you get to code, my child
The tutorial (written by @trevis_dev ) is basically a set of instruction for you to deploy an ERC20 and customize it.
To check that your code works as expected, your code is be corrected by another smart contract. github.com/starknet-edu/s…
"StarkNet's team is happy" understatement if I ever saw one haha
A short thread on scalability, transaction prices, and what to expect for the futur of fees on StarkNet 👇
StarkNet has had some performance issue lately. APIs are slow to query data from the chain; transactions take a long time to process.
Why is that? TLDR: Devs having fun coding crazy thins + user zerg rush
We saw a crazy increase in the number of requests to StarkNet. Both in number of requests, as well as complexity of requests.
Consider @briqNFT . They designed a brand new, ambitious game, that leverages computational capacity that is simply unimaginable in the EVM world.
Do you want to start understanding / writing Smart contracts on Ethereum?
Here is a thread with a bunch of Solidity tutorials I wrote for my students at @ESILVparis
#1: Solidity 101. No coding required; just read, interact and collect points github.com/l-henri/solidi…
#2: Creating money
A gamified workshop on ERC20 token. Create your own ICO, deploy it, allowlist people, get paid in ether, collect points github.com/l-henri/erc20-…
#3: Owning stuff
Deploy you own ERC721 token. Create an animal registry! Customize it to let the animals live, die, breed, fight... github.com/l-henri/erc721…
So, you heard that #StarkNet Alpha is on mainnet (Yes, Ethereum Mainnet) and you want to try it out. Without spending money, preferrably.
I got you 😉🧶
A first quick disclaimer. Don't expect any kind of reward from the following, except learning some things about StarkNet and trying out a cool new L2.
We don't have a token.
So what does it mean for StarkNet to be on Mainnet?
- All the logic executed on StarkNet is secured by Ethereum
- You can transfer arbitrary messages between both chains
- You can use these messages to build bridges (more below)