SlideShare a Scribd company logo
1 of 27
Fun with ERC721 on StarkNet
Henri Lieutaud / Developer advocate
January 2022
1
@henrilieutaud | @starkwareltd
Availability rollups primer
Slow, inclusive
Fast, exclusive
Current State of Affairs
Trust Big Computer Verify (all transactions), don’t trust
Increase Scale (gas/block limit) Fraud Proof Rollups (Arbitrum, Optimism)
Fast, exclusive
Trust Big Computer Trust a few Big Computers
Fast, semi inclusive
Validity Proofs (StarkNet, zkSync)
Big computer to generate proof
Expensive, semi inclusive (~mining) Fast, inclusive
Small computer to verify proof
ZK-STARK
proof
*With respect to size of computation
Privacy (Zero Knowledge, ZK)
Prover’s private inputs are shielded
Scalability
Exponentially small verifier running time*
Nearly linear prover running time*
Prover verifier
v
π
ZK-STARK Proofs
Verify (all transactions), don’t trust
*With respect to size of computation
Privacy (Zero Knowledge, ZK)
Prover’s private inputs are shielded
Scalability
Exponentially small verifier running time*
Nearly linear prover running time*
Prover
Verify STARK proof, don’t trust
π, Statenew
ZK-STARK
v
v
v
v
v
v
π, Statenew
π, Statenew
π, Statenew
π, Statenew
π, Statenew
π, Statenew
ZK-STARK Proofs
Two L2 Offerings
Largest L2 by TPS
(¼ Ethereum’s, on the rise)
8
@henrilieutaud | @starkwareltd
$270B 65M $1.25B
9
Launched - June 2020
10M
NFTs Minted
Tx Settled
600K
NFT Mints/Proof
Total Value Locked
Cumulative Trading
486
Gas/tx
As of December 9, 2021
@henrilieutaud | @starkwareltd
Launched November 29, since then:
● StarkNet Developer Discord exploding:
○ 20K users, 3K joined last week
○ 2K weekly active users
10
@henrilieutaud | @starkwareltd
● 20+ teams building dApps, including:
○ 3 AMMs
○ Games, NFT projects
○ Voting, bridges, and more
Ethereum-style permissionless interaction with the network
Developing on StarkNet
Cairo
13
● Specially designed, provable language, dedicated for Smart Contracts
● Cairo is not bounded by the EVM
@henrilieutaud | @starkwareltd
Syntax tutorial on GitHub
➔ Coming soon: Solidity -> Cairo transpiler
Standard implementations
15
@henrilieutaud | @starkwareltd
● Open Zeppelin - developing a set of boiler plate smart contracts for Cairo
○ Today - use an implementation included in therepo (courtesy of Oasis)
● Cairo standards reuse Solidity standards - naming convention for external functions
Boiler plate smart contracts are great or StarkNet onboarding!
Importing functions
17
@henrilieutaud | @starkwareltd
● The importing pattern is not enforced by the compiler, and is being discussed by the community
○ Base contracts define core functions. They have no external functions and no constructor
○ Front end contracts import internal functions from base contracts, and wrap them in
external functions
Impot Functions Inherit Functions
Account abstraction
19
@henrilieutaud | @starkwareltd
● Transactions on StarkNet are different than Ethereum - they do not have an originator (“From”)
● They are sent to an “entry point” - an “account smart contract” in charge of:
○ Authenticating the user
○ Replay protection
○ Funds protection
○ Allows many different UX to be built upon
● This is not currently enforced
○ transactions can be sent to any contract, while the sender is seen as 0 by the receiver
Integrated Development Environments
21
3 main tools to interact with StarkNet:
@henrilieutaud | @starkwareltd
*All three are under development and require duct tape here and there
Today’s tutorial is based on Nile
HardHat
(Javascript)
StarkNet
CLI
Nile
(Python)
briq
The NFT building protocol
this but
literally
use use your NFTs in a growing metaverse
build
continue to create by disassembling NFTs back into briqs
your own NFTs with briqs
- Online briq builder available
- ERC721 briq & set contracts
deployed on StarkNet mainnet &
testnet
- +1k NFT creations, 2.5K followers
briq alpha
first NFT project deployed
on StarkNet mainnet
- Difficult language but generally
good feedback from the compiler
- Math-heavy logic is particularly
tricky because of field
- Ecosystem is growing nicely
- Devnet wallet, Nile, …
- Lots of public interest
Feedback
first NFT project deployed
on StarkNet mainnet
Github: github/briqNFT
Twitter: @briqNFT
Sylve: @sylvechv
Lancelot: @wraitii
Getting to work
ERC721 Workshop
30
Your objective - gather points.
Follow these steps to collect all points
1. Read the ReadMe for a high level understanding
2. Read the valuator.cairo code for a low level understanding
3. Use the ERC721 code and customize it
4. Deploy your contract
5. Submit your contract address to the evaluator
6. Ask the evaluator to correct your contract
7. Check for points
@henrilieutaud | @starkwareltd
Go to Github:
Thanks!
January 2022
31
@henrilieutaud | @starkwareltd
Henri Lieutaud / Developer Advocate
To go further
32
Jobs
- Dapp Developer at Shard labs.
- Open source developer at Open Zeppelin.
- Cairo engineers at Immutable.
- Chainlink integration team.
- Blockchain software engineer at JellyFi.
Resources on StarkNet
- Official Cairo documentation
- Community links - list of examples
curated by the StarkWare team
- Awesome StarkNet - a curated list of
resources by Georgios Konstantopoulos
Cool stuff built on StarkNet
- Physics simulation by @guiltygyoza
- briq V1 contracts
- Qasr, an ETH <> StarkNet NFT bridge
- Tictactoe by @guiltygyoza
@henrilieutaud | @starkwareltd

More Related Content

What's hot

Clustering, Server setup and Hybrid deployment setup using Anypoint Runtime M...
Clustering, Server setup and Hybrid deployment setup using Anypoint Runtime M...Clustering, Server setup and Hybrid deployment setup using Anypoint Runtime M...
Clustering, Server setup and Hybrid deployment setup using Anypoint Runtime M...Manish Kumar Yadav
 
Introduction to Telecom O/BSS
Introduction to Telecom O/BSSIntroduction to Telecom O/BSS
Introduction to Telecom O/BSSAshutosh Tripathy
 
MuleSoft PKO - C4E and Platform Insights
MuleSoft PKO - C4E and Platform InsightsMuleSoft PKO - C4E and Platform Insights
MuleSoft PKO - C4E and Platform InsightsAngel Alberici
 
Operationalizing your C4E VirtualMuleys & Deployment Considerations: Cloudhub...
Operationalizing your C4E VirtualMuleys & Deployment Considerations: Cloudhub...Operationalizing your C4E VirtualMuleys & Deployment Considerations: Cloudhub...
Operationalizing your C4E VirtualMuleys & Deployment Considerations: Cloudhub...Angel Alberici
 
Preparing for SRE Interviews
Preparing for SRE InterviewsPreparing for SRE Interviews
Preparing for SRE InterviewsShivam Mitra
 
Introduction to Service Manager
Introduction to Service ManagerIntroduction to Service Manager
Introduction to Service ManagerCireson
 
Jira-Zephyr_Training.pptx
Jira-Zephyr_Training.pptxJira-Zephyr_Training.pptx
Jira-Zephyr_Training.pptxDhananjayaDeevi
 
Accenture Program Project and Service Management
Accenture Program Project and Service ManagementAccenture Program Project and Service Management
Accenture Program Project and Service ManagementAccenture Technology
 
線上操作手冊(員工篇)
線上操作手冊(員工篇)線上操作手冊(員工篇)
線上操作手冊(員工篇)Wu Jill
 
Jordan Francis - Friends of Search '22 - Hypercompetitive keywords - how we s...
Jordan Francis - Friends of Search '22 - Hypercompetitive keywords - how we s...Jordan Francis - Friends of Search '22 - Hypercompetitive keywords - how we s...
Jordan Francis - Friends of Search '22 - Hypercompetitive keywords - how we s...JordanFrancis16
 
Requirements Engineering @ Agile
Requirements Engineering @ AgileRequirements Engineering @ Agile
Requirements Engineering @ AgileGirish Khemani
 
Weekly Project Status Updates
Weekly Project Status UpdatesWeekly Project Status Updates
Weekly Project Status UpdatesSlideTeam
 
From SLAs to XLAs | Shift to pro-active service delivery
From SLAs to XLAs | Shift to pro-active service deliveryFrom SLAs to XLAs | Shift to pro-active service delivery
From SLAs to XLAs | Shift to pro-active service deliverynexthink
 
Freshdesk- Customer Support Software
Freshdesk- Customer Support SoftwareFreshdesk- Customer Support Software
Freshdesk- Customer Support SoftwareDigi InfoFabrica
 
presentations for the STKI Summit 2022 part a 30_5_22.pdf
presentations for the STKI Summit 2022 part a 30_5_22.pdfpresentations for the STKI Summit 2022 part a 30_5_22.pdf
presentations for the STKI Summit 2022 part a 30_5_22.pdfDr. Jimmy Schwarzkopf
 
Best Practices for a CoE
Best Practices for a CoEBest Practices for a CoE
Best Practices for a CoESplunk
 
IBM MQ High Availabillity and Disaster Recovery (2017 version)
IBM MQ High Availabillity and Disaster Recovery (2017 version)IBM MQ High Availabillity and Disaster Recovery (2017 version)
IBM MQ High Availabillity and Disaster Recovery (2017 version)MarkTaylorIBM
 

What's hot (20)

Clustering, Server setup and Hybrid deployment setup using Anypoint Runtime M...
Clustering, Server setup and Hybrid deployment setup using Anypoint Runtime M...Clustering, Server setup and Hybrid deployment setup using Anypoint Runtime M...
Clustering, Server setup and Hybrid deployment setup using Anypoint Runtime M...
 
Introduction to Telecom O/BSS
Introduction to Telecom O/BSSIntroduction to Telecom O/BSS
Introduction to Telecom O/BSS
 
MuleSoft PKO - C4E and Platform Insights
MuleSoft PKO - C4E and Platform InsightsMuleSoft PKO - C4E and Platform Insights
MuleSoft PKO - C4E and Platform Insights
 
Operationalizing your C4E VirtualMuleys & Deployment Considerations: Cloudhub...
Operationalizing your C4E VirtualMuleys & Deployment Considerations: Cloudhub...Operationalizing your C4E VirtualMuleys & Deployment Considerations: Cloudhub...
Operationalizing your C4E VirtualMuleys & Deployment Considerations: Cloudhub...
 
Soluciones Dynatrace
Soluciones DynatraceSoluciones Dynatrace
Soluciones Dynatrace
 
Preparing for SRE Interviews
Preparing for SRE InterviewsPreparing for SRE Interviews
Preparing for SRE Interviews
 
Introduction to Service Manager
Introduction to Service ManagerIntroduction to Service Manager
Introduction to Service Manager
 
Jira-Zephyr_Training.pptx
Jira-Zephyr_Training.pptxJira-Zephyr_Training.pptx
Jira-Zephyr_Training.pptx
 
Accenture Program Project and Service Management
Accenture Program Project and Service ManagementAccenture Program Project and Service Management
Accenture Program Project and Service Management
 
線上操作手冊(員工篇)
線上操作手冊(員工篇)線上操作手冊(員工篇)
線上操作手冊(員工篇)
 
Introduction to MuleSoft
Introduction to MuleSoftIntroduction to MuleSoft
Introduction to MuleSoft
 
Jordan Francis - Friends of Search '22 - Hypercompetitive keywords - how we s...
Jordan Francis - Friends of Search '22 - Hypercompetitive keywords - how we s...Jordan Francis - Friends of Search '22 - Hypercompetitive keywords - how we s...
Jordan Francis - Friends of Search '22 - Hypercompetitive keywords - how we s...
 
Requirements Engineering @ Agile
Requirements Engineering @ AgileRequirements Engineering @ Agile
Requirements Engineering @ Agile
 
Weekly Project Status Updates
Weekly Project Status UpdatesWeekly Project Status Updates
Weekly Project Status Updates
 
Software development life cycle (sdlc) overview
Software development life cycle (sdlc) overviewSoftware development life cycle (sdlc) overview
Software development life cycle (sdlc) overview
 
From SLAs to XLAs | Shift to pro-active service delivery
From SLAs to XLAs | Shift to pro-active service deliveryFrom SLAs to XLAs | Shift to pro-active service delivery
From SLAs to XLAs | Shift to pro-active service delivery
 
Freshdesk- Customer Support Software
Freshdesk- Customer Support SoftwareFreshdesk- Customer Support Software
Freshdesk- Customer Support Software
 
presentations for the STKI Summit 2022 part a 30_5_22.pdf
presentations for the STKI Summit 2022 part a 30_5_22.pdfpresentations for the STKI Summit 2022 part a 30_5_22.pdf
presentations for the STKI Summit 2022 part a 30_5_22.pdf
 
Best Practices for a CoE
Best Practices for a CoEBest Practices for a CoE
Best Practices for a CoE
 
IBM MQ High Availabillity and Disaster Recovery (2017 version)
IBM MQ High Availabillity and Disaster Recovery (2017 version)IBM MQ High Availabillity and Disaster Recovery (2017 version)
IBM MQ High Availabillity and Disaster Recovery (2017 version)
 

Similar to StarkNet ERC20 + ERC721

Ethereum Devcon1 Report (summary writing)
Ethereum Devcon1 Report (summary writing)Ethereum Devcon1 Report (summary writing)
Ethereum Devcon1 Report (summary writing)Tomoaki Sato
 
[Call for code] IBM 블록체인을 활용하여 투명하게 구호기금 관리하기 - Hyperledger Fabric v1.1 by 맹개발
[Call for code] IBM 블록체인을 활용하여 투명하게 구호기금 관리하기 - Hyperledger Fabric v1.1 by 맹개발 [Call for code] IBM 블록체인을 활용하여 투명하게 구호기금 관리하기 - Hyperledger Fabric v1.1 by 맹개발
[Call for code] IBM 블록체인을 활용하여 투명하게 구호기금 관리하기 - Hyperledger Fabric v1.1 by 맹개발 Yunho Maeng
 
IBM Blockchain Platform - Architectural Good Practices v1.0
IBM Blockchain Platform - Architectural Good Practices v1.0IBM Blockchain Platform - Architectural Good Practices v1.0
IBM Blockchain Platform - Architectural Good Practices v1.0Matt Lucas
 
Simone Bronzini - Weaknesses of blockchain applications - Codemotion Milan 2018
Simone Bronzini - Weaknesses of blockchain applications - Codemotion Milan 2018Simone Bronzini - Weaknesses of blockchain applications - Codemotion Milan 2018
Simone Bronzini - Weaknesses of blockchain applications - Codemotion Milan 2018Codemotion
 
Hyperledger community update February 2018
Hyperledger  community update   February 2018Hyperledger  community update   February 2018
Hyperledger community update February 2018Christopher Ferris
 
IBM Cloud Côte D'Azur Meetup - 20181004 - Blockchain Hyperledger Workshop
IBM Cloud Côte D'Azur Meetup - 20181004 - Blockchain Hyperledger WorkshopIBM Cloud Côte D'Azur Meetup - 20181004 - Blockchain Hyperledger Workshop
IBM Cloud Côte D'Azur Meetup - 20181004 - Blockchain Hyperledger WorkshopIBM France Lab
 
Hyperledger community update Feb 20, 2018
Hyperledger community update Feb 20, 2018Hyperledger community update Feb 20, 2018
Hyperledger community update Feb 20, 2018Arnaud Le Hors
 
Hyperledger community update 201805
Hyperledger community update 201805Hyperledger community update 201805
Hyperledger community update 201805Arnaud Le Hors
 
SMTAI PowerPoint: Blockchain for High Tech
SMTAI PowerPoint: Blockchain for High Tech SMTAI PowerPoint: Blockchain for High Tech
SMTAI PowerPoint: Blockchain for High Tech Quentin Samelson
 
RTBkit Meetup - Developer Spotlight, Behind the Scenes of RTBkit and Intro to...
RTBkit Meetup - Developer Spotlight, Behind the Scenes of RTBkit and Intro to...RTBkit Meetup - Developer Spotlight, Behind the Scenes of RTBkit and Intro to...
RTBkit Meetup - Developer Spotlight, Behind the Scenes of RTBkit and Intro to...Datacratic
 
Introduction to Blockchain Development
Introduction to Blockchain DevelopmentIntroduction to Blockchain Development
Introduction to Blockchain DevelopmentLightstreams
 
Best practices to build secure smart contracts
Best practices to build secure smart contractsBest practices to build secure smart contracts
Best practices to build secure smart contractsGautam Anand
 
Algorand Technical Workshop 2021
Algorand Technical Workshop 2021Algorand Technical Workshop 2021
Algorand Technical Workshop 2021DanielBohnemann
 
KubeCon London 2016 Ronana Cloud Native SDN
KubeCon London 2016 Ronana Cloud Native SDNKubeCon London 2016 Ronana Cloud Native SDN
KubeCon London 2016 Ronana Cloud Native SDNRomana Project
 
Introduction to Ethereum Smart Contracts
Introduction to Ethereum Smart Contracts Introduction to Ethereum Smart Contracts
Introduction to Ethereum Smart Contracts ArcBlock
 
Build Blockchain dApps using JavaScript, Python and C - ATO.pdf
Build Blockchain dApps using JavaScript, Python and C - ATO.pdfBuild Blockchain dApps using JavaScript, Python and C - ATO.pdf
Build Blockchain dApps using JavaScript, Python and C - ATO.pdfRussFustino
 
Hyperledger Fabric Application Development 20190618
Hyperledger Fabric Application Development 20190618Hyperledger Fabric Application Development 20190618
Hyperledger Fabric Application Development 20190618Arnaud Le Hors
 

Similar to StarkNet ERC20 + ERC721 (20)

Ethereum Devcon1 Report (summary writing)
Ethereum Devcon1 Report (summary writing)Ethereum Devcon1 Report (summary writing)
Ethereum Devcon1 Report (summary writing)
 
[Call for code] IBM 블록체인을 활용하여 투명하게 구호기금 관리하기 - Hyperledger Fabric v1.1 by 맹개발
[Call for code] IBM 블록체인을 활용하여 투명하게 구호기금 관리하기 - Hyperledger Fabric v1.1 by 맹개발 [Call for code] IBM 블록체인을 활용하여 투명하게 구호기금 관리하기 - Hyperledger Fabric v1.1 by 맹개발
[Call for code] IBM 블록체인을 활용하여 투명하게 구호기금 관리하기 - Hyperledger Fabric v1.1 by 맹개발
 
IBM Blockchain Platform - Architectural Good Practices v1.0
IBM Blockchain Platform - Architectural Good Practices v1.0IBM Blockchain Platform - Architectural Good Practices v1.0
IBM Blockchain Platform - Architectural Good Practices v1.0
 
Simone Bronzini - Weaknesses of blockchain applications - Codemotion Milan 2018
Simone Bronzini - Weaknesses of blockchain applications - Codemotion Milan 2018Simone Bronzini - Weaknesses of blockchain applications - Codemotion Milan 2018
Simone Bronzini - Weaknesses of blockchain applications - Codemotion Milan 2018
 
Hyperledger community update February 2018
Hyperledger  community update   February 2018Hyperledger  community update   February 2018
Hyperledger community update February 2018
 
IBM Cloud Côte D'Azur Meetup - 20181004 - Blockchain Hyperledger Workshop
IBM Cloud Côte D'Azur Meetup - 20181004 - Blockchain Hyperledger WorkshopIBM Cloud Côte D'Azur Meetup - 20181004 - Blockchain Hyperledger Workshop
IBM Cloud Côte D'Azur Meetup - 20181004 - Blockchain Hyperledger Workshop
 
Hyperledger community update Feb 20, 2018
Hyperledger community update Feb 20, 2018Hyperledger community update Feb 20, 2018
Hyperledger community update Feb 20, 2018
 
Hyperledger community update 201805
Hyperledger community update 201805Hyperledger community update 201805
Hyperledger community update 201805
 
SMTAI PowerPoint: Blockchain for High Tech
SMTAI PowerPoint: Blockchain for High Tech SMTAI PowerPoint: Blockchain for High Tech
SMTAI PowerPoint: Blockchain for High Tech
 
RTBkit Meetup - Developer Spotlight, Behind the Scenes of RTBkit and Intro to...
RTBkit Meetup - Developer Spotlight, Behind the Scenes of RTBkit and Intro to...RTBkit Meetup - Developer Spotlight, Behind the Scenes of RTBkit and Intro to...
RTBkit Meetup - Developer Spotlight, Behind the Scenes of RTBkit and Intro to...
 
Ergo Hong Kong meetup
Ergo Hong Kong meetupErgo Hong Kong meetup
Ergo Hong Kong meetup
 
Introduction to Blockchain Development
Introduction to Blockchain DevelopmentIntroduction to Blockchain Development
Introduction to Blockchain Development
 
Iot in-production
Iot in-productionIot in-production
Iot in-production
 
Best practices to build secure smart contracts
Best practices to build secure smart contractsBest practices to build secure smart contracts
Best practices to build secure smart contracts
 
Algorand Technical Workshop 2021
Algorand Technical Workshop 2021Algorand Technical Workshop 2021
Algorand Technical Workshop 2021
 
Ethereum
EthereumEthereum
Ethereum
 
KubeCon London 2016 Ronana Cloud Native SDN
KubeCon London 2016 Ronana Cloud Native SDNKubeCon London 2016 Ronana Cloud Native SDN
KubeCon London 2016 Ronana Cloud Native SDN
 
Introduction to Ethereum Smart Contracts
Introduction to Ethereum Smart Contracts Introduction to Ethereum Smart Contracts
Introduction to Ethereum Smart Contracts
 
Build Blockchain dApps using JavaScript, Python and C - ATO.pdf
Build Blockchain dApps using JavaScript, Python and C - ATO.pdfBuild Blockchain dApps using JavaScript, Python and C - ATO.pdf
Build Blockchain dApps using JavaScript, Python and C - ATO.pdf
 
Hyperledger Fabric Application Development 20190618
Hyperledger Fabric Application Development 20190618Hyperledger Fabric Application Development 20190618
Hyperledger Fabric Application Development 20190618
 

More from TinaBregovi

Building LSD Use Cases on Bifrost
Building LSD Use Cases on BifrostBuilding LSD Use Cases on Bifrost
Building LSD Use Cases on BifrostTinaBregovi
 
Urbit Launch Event
Urbit Launch EventUrbit Launch Event
Urbit Launch EventTinaBregovi
 
Layer Hack: Boba Network: Understanding Hybrid Compute
Layer Hack: Boba Network: Understanding Hybrid ComputeLayer Hack: Boba Network: Understanding Hybrid Compute
Layer Hack: Boba Network: Understanding Hybrid ComputeTinaBregovi
 
Layer Hack: zkSync - Intro to zkEVM
Layer Hack: zkSync - Intro to zkEVMLayer Hack: zkSync - Intro to zkEVM
Layer Hack: zkSync - Intro to zkEVMTinaBregovi
 
Rollup-as-a-service and why it matters to the next-gen of dApps
Rollup-as-a-service and why it matters to the next-gen of dAppsRollup-as-a-service and why it matters to the next-gen of dApps
Rollup-as-a-service and why it matters to the next-gen of dAppsTinaBregovi
 
Layer Hack: AltLayer Workshop
Layer Hack: AltLayer WorkshopLayer Hack: AltLayer Workshop
Layer Hack: AltLayer WorkshopTinaBregovi
 
Layer Hack Launch Event
Layer Hack Launch EventLayer Hack Launch Event
Layer Hack Launch EventTinaBregovi
 
Bridging with StarkNet
Bridging with StarkNetBridging with StarkNet
Bridging with StarkNetTinaBregovi
 
How To Build Better NFTs with Briq
How To Build Better NFTs with BriqHow To Build Better NFTs with Briq
How To Build Better NFTs with BriqTinaBregovi
 
NFTs on StarkNet
NFTs on StarkNetNFTs on StarkNet
NFTs on StarkNetTinaBregovi
 
How to build a dApp in StarkNet
How to build a dApp in StarkNetHow to build a dApp in StarkNet
How to build a dApp in StarkNetTinaBregovi
 
Braavos Wallet Workshop.pdf
Braavos Wallet Workshop.pdfBraavos Wallet Workshop.pdf
Braavos Wallet Workshop.pdfTinaBregovi
 
StarkNet Autumn Hackathon Launch Event.pptx
StarkNet Autumn Hackathon Launch Event.pptxStarkNet Autumn Hackathon Launch Event.pptx
StarkNet Autumn Hackathon Launch Event.pptxTinaBregovi
 
Harmony Marketplace SDK.pptx
Harmony Marketplace SDK.pptxHarmony Marketplace SDK.pptx
Harmony Marketplace SDK.pptxTinaBregovi
 
Get Ready for Coinbase Node
Get Ready for Coinbase NodeGet Ready for Coinbase Node
Get Ready for Coinbase NodeTinaBregovi
 
MANIFOLD MEV Bounty Competition
MANIFOLD MEV Bounty CompetitionMANIFOLD MEV Bounty Competition
MANIFOLD MEV Bounty CompetitionTinaBregovi
 
Public SP Meeting
Public SP MeetingPublic SP Meeting
Public SP MeetingTinaBregovi
 
Welcome to the Web 3.0
Welcome to the Web 3.0Welcome to the Web 3.0
Welcome to the Web 3.0TinaBregovi
 

More from TinaBregovi (20)

Building LSD Use Cases on Bifrost
Building LSD Use Cases on BifrostBuilding LSD Use Cases on Bifrost
Building LSD Use Cases on Bifrost
 
Urbit Launch Event
Urbit Launch EventUrbit Launch Event
Urbit Launch Event
 
Layer Hack: Boba Network: Understanding Hybrid Compute
Layer Hack: Boba Network: Understanding Hybrid ComputeLayer Hack: Boba Network: Understanding Hybrid Compute
Layer Hack: Boba Network: Understanding Hybrid Compute
 
Layer Hack: zkSync - Intro to zkEVM
Layer Hack: zkSync - Intro to zkEVMLayer Hack: zkSync - Intro to zkEVM
Layer Hack: zkSync - Intro to zkEVM
 
Rollup-as-a-service and why it matters to the next-gen of dApps
Rollup-as-a-service and why it matters to the next-gen of dAppsRollup-as-a-service and why it matters to the next-gen of dApps
Rollup-as-a-service and why it matters to the next-gen of dApps
 
Layer Hack: AltLayer Workshop
Layer Hack: AltLayer WorkshopLayer Hack: AltLayer Workshop
Layer Hack: AltLayer Workshop
 
Layer Hack Launch Event
Layer Hack Launch EventLayer Hack Launch Event
Layer Hack Launch Event
 
Bridging with StarkNet
Bridging with StarkNetBridging with StarkNet
Bridging with StarkNet
 
How To Build Better NFTs with Briq
How To Build Better NFTs with BriqHow To Build Better NFTs with Briq
How To Build Better NFTs with Briq
 
NFTs on StarkNet
NFTs on StarkNetNFTs on StarkNet
NFTs on StarkNet
 
How to build a dApp in StarkNet
How to build a dApp in StarkNetHow to build a dApp in StarkNet
How to build a dApp in StarkNet
 
Braavos Wallet Workshop.pdf
Braavos Wallet Workshop.pdfBraavos Wallet Workshop.pdf
Braavos Wallet Workshop.pdf
 
StarkNet Autumn Hackathon Launch Event.pptx
StarkNet Autumn Hackathon Launch Event.pptxStarkNet Autumn Hackathon Launch Event.pptx
StarkNet Autumn Hackathon Launch Event.pptx
 
Harmony Marketplace SDK.pptx
Harmony Marketplace SDK.pptxHarmony Marketplace SDK.pptx
Harmony Marketplace SDK.pptx
 
Coinbase Node
Coinbase NodeCoinbase Node
Coinbase Node
 
Get Ready for Coinbase Node
Get Ready for Coinbase NodeGet Ready for Coinbase Node
Get Ready for Coinbase Node
 
MANIFOLD MEV Bounty Competition
MANIFOLD MEV Bounty CompetitionMANIFOLD MEV Bounty Competition
MANIFOLD MEV Bounty Competition
 
Public SP Meeting
Public SP MeetingPublic SP Meeting
Public SP Meeting
 
Ecosystem WG
Ecosystem WGEcosystem WG
Ecosystem WG
 
Welcome to the Web 3.0
Welcome to the Web 3.0Welcome to the Web 3.0
Welcome to the Web 3.0
 

Recently uploaded

Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfngoud9212
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 

Recently uploaded (20)

Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdf
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 

StarkNet ERC20 + ERC721

  • 1. Fun with ERC721 on StarkNet Henri Lieutaud / Developer advocate January 2022 1 @henrilieutaud | @starkwareltd
  • 3. Slow, inclusive Fast, exclusive Current State of Affairs Trust Big Computer Verify (all transactions), don’t trust
  • 4. Increase Scale (gas/block limit) Fraud Proof Rollups (Arbitrum, Optimism) Fast, exclusive Trust Big Computer Trust a few Big Computers Fast, semi inclusive
  • 5. Validity Proofs (StarkNet, zkSync) Big computer to generate proof Expensive, semi inclusive (~mining) Fast, inclusive Small computer to verify proof ZK-STARK proof
  • 6. *With respect to size of computation Privacy (Zero Knowledge, ZK) Prover’s private inputs are shielded Scalability Exponentially small verifier running time* Nearly linear prover running time* Prover verifier v π ZK-STARK Proofs Verify (all transactions), don’t trust
  • 7. *With respect to size of computation Privacy (Zero Knowledge, ZK) Prover’s private inputs are shielded Scalability Exponentially small verifier running time* Nearly linear prover running time* Prover Verify STARK proof, don’t trust π, Statenew ZK-STARK v v v v v v π, Statenew π, Statenew π, Statenew π, Statenew π, Statenew π, Statenew ZK-STARK Proofs
  • 8. Two L2 Offerings Largest L2 by TPS (¼ Ethereum’s, on the rise) 8 @henrilieutaud | @starkwareltd
  • 9. $270B 65M $1.25B 9 Launched - June 2020 10M NFTs Minted Tx Settled 600K NFT Mints/Proof Total Value Locked Cumulative Trading 486 Gas/tx As of December 9, 2021 @henrilieutaud | @starkwareltd
  • 10. Launched November 29, since then: ● StarkNet Developer Discord exploding: ○ 20K users, 3K joined last week ○ 2K weekly active users 10 @henrilieutaud | @starkwareltd ● 20+ teams building dApps, including: ○ 3 AMMs ○ Games, NFT projects ○ Voting, bridges, and more Ethereum-style permissionless interaction with the network
  • 12. Cairo 13 ● Specially designed, provable language, dedicated for Smart Contracts ● Cairo is not bounded by the EVM @henrilieutaud | @starkwareltd Syntax tutorial on GitHub ➔ Coming soon: Solidity -> Cairo transpiler
  • 13. Standard implementations 15 @henrilieutaud | @starkwareltd ● Open Zeppelin - developing a set of boiler plate smart contracts for Cairo ○ Today - use an implementation included in therepo (courtesy of Oasis) ● Cairo standards reuse Solidity standards - naming convention for external functions Boiler plate smart contracts are great or StarkNet onboarding!
  • 14. Importing functions 17 @henrilieutaud | @starkwareltd ● The importing pattern is not enforced by the compiler, and is being discussed by the community ○ Base contracts define core functions. They have no external functions and no constructor ○ Front end contracts import internal functions from base contracts, and wrap them in external functions Impot Functions Inherit Functions
  • 15. Account abstraction 19 @henrilieutaud | @starkwareltd ● Transactions on StarkNet are different than Ethereum - they do not have an originator (“From”) ● They are sent to an “entry point” - an “account smart contract” in charge of: ○ Authenticating the user ○ Replay protection ○ Funds protection ○ Allows many different UX to be built upon ● This is not currently enforced ○ transactions can be sent to any contract, while the sender is seen as 0 by the receiver
  • 16. Integrated Development Environments 21 3 main tools to interact with StarkNet: @henrilieutaud | @starkwareltd *All three are under development and require duct tape here and there Today’s tutorial is based on Nile HardHat (Javascript) StarkNet CLI Nile (Python)
  • 19. use use your NFTs in a growing metaverse build continue to create by disassembling NFTs back into briqs your own NFTs with briqs
  • 20.
  • 21. - Online briq builder available - ERC721 briq & set contracts deployed on StarkNet mainnet & testnet - +1k NFT creations, 2.5K followers briq alpha first NFT project deployed on StarkNet mainnet
  • 22. - Difficult language but generally good feedback from the compiler - Math-heavy logic is particularly tricky because of field - Ecosystem is growing nicely - Devnet wallet, Nile, … - Lots of public interest Feedback first NFT project deployed on StarkNet mainnet
  • 23. Github: github/briqNFT Twitter: @briqNFT Sylve: @sylvechv Lancelot: @wraitii
  • 25. ERC721 Workshop 30 Your objective - gather points. Follow these steps to collect all points 1. Read the ReadMe for a high level understanding 2. Read the valuator.cairo code for a low level understanding 3. Use the ERC721 code and customize it 4. Deploy your contract 5. Submit your contract address to the evaluator 6. Ask the evaluator to correct your contract 7. Check for points @henrilieutaud | @starkwareltd Go to Github:
  • 26. Thanks! January 2022 31 @henrilieutaud | @starkwareltd Henri Lieutaud / Developer Advocate
  • 27. To go further 32 Jobs - Dapp Developer at Shard labs. - Open source developer at Open Zeppelin. - Cairo engineers at Immutable. - Chainlink integration team. - Blockchain software engineer at JellyFi. Resources on StarkNet - Official Cairo documentation - Community links - list of examples curated by the StarkWare team - Awesome StarkNet - a curated list of resources by Georgios Konstantopoulos Cool stuff built on StarkNet - Physics simulation by @guiltygyoza - briq V1 contracts - Qasr, an ETH <> StarkNet NFT bridge - Tictactoe by @guiltygyoza @henrilieutaud | @starkwareltd