StarkNet.js 101
Sean, in collaboration with
March 2022
How did I get involved with StarkNet?
● Looking for a long term ETH scaling solution
● Wanted to build a web application
● No library for web applications to interface with StarkNet
2
What is StarkNet.js?
● Allow JavaScript programs, like Web and Mobile Apps to interface with the
StarkNet network
● Follows ethers.js architecture in Ethereum
● Primary APIs are Providers, Account, Signer, and Contract
3
Starknet.js V3 API - Overview
● Provider
● Account
● Signer
● Contract
4
Provider
The Provider API allows you to
interface with the StarkNet
network, without signing
transactions or messages.
Typically, these are read calls
on the blockchain.
API
5
Account
An Account extends Provider and
inherits all of its methods.
It also introduces new methods that
allow Accounts to create and verify
signatures with a custom Signer.
This API is the primary way to
interact with an account contract on
StarkNet.
API
6
Signer
The Signer API allows you
to sign transactions and
messages, and also allows
you to get the public key.
API
7
Contract
Contract API can do data transformations
in JavaScript based on an ABI. They can
also call and invoke to StarkNet through a
provided Signer.
Contracts allow you to transform Cairo
values, like Uint256 to BigNumber. It could
also allow users to pass their own
transformers, similar to JSON.parse.
API
8
Account x ERC20
Example Code & Demo
https://github.com/0xs34n/starknet.js-workshop
9
Starknet.js V3 Release
● Starknet.js V3 will be released tomorrow with a new API
○ Try it today with npm install starknet@next
● New docs to be released at starknet.js.com! Examples today will be included
● Special thanks to Janek of Argent, Miljan of Shard Labs, and Dhruv of Jedi
Swap and other Open Source Contributors to Starknet.js
10
Thank You
Questions?
11

More Related Content

PPTX
StarkNet Intro
PDF
Front-End Development for dApps on Tezos
PDF
Technical Overview of Tezos
PDF
Parity Progress Report
PDF
Building a dApp on Tezos
PDF
Encode Club workshop slides
PDF
Encode polkadot club event 2, intro to polkadot
PDF
Encode Club Hackathon
StarkNet Intro
Front-End Development for dApps on Tezos
Technical Overview of Tezos
Parity Progress Report
Building a dApp on Tezos
Encode Club workshop slides
Encode polkadot club event 2, intro to polkadot
Encode Club Hackathon

What's hot (19)

PDF
Privacy-preserving techniques using zero knowledge proof in public Ethereum
PDF
Bitmark and Hyperledger Workshop: the Digital Assets and Property
PDF
ICO and Cyber security - How to protect from hackers during ICOs
PDF
Executive summary guild42 elca_blockchain.pptx_v1.0
PPTX
Create and Deploy your ERC20 token with Ethereum
PDF
Consensu, Security, and the Blockchain Gateway Interface - Ethan Buchman, Ten...
PDF
Introduction to Ethereum Blockchain & Smart Contract
PPTX
Webinar: Enterprise Blockchain Radically Simplified with Truffle and Kaleido
PPTX
Ethereum Intro
PPTX
Ethereum 2.0
PDF
Luniverse Partners Day - Jay
PDF
Alternative Consensus & Enterprise Blockchain
PDF
Hyperledger Fabric Application Development 20190618
PDF
Luniverse Partners Day - Hyperledger Fabric(Keyinside)
PDF
Token platform based on sidechain
PDF
Introduction of Luniverse
PPTX
FIWARE Wednesday Webinars - How to Debug IoT Agents
PDF
POA based Side-Chain Architecture
PDF
Encode polkadot club event 3, technical deepdive
Privacy-preserving techniques using zero knowledge proof in public Ethereum
Bitmark and Hyperledger Workshop: the Digital Assets and Property
ICO and Cyber security - How to protect from hackers during ICOs
Executive summary guild42 elca_blockchain.pptx_v1.0
Create and Deploy your ERC20 token with Ethereum
Consensu, Security, and the Blockchain Gateway Interface - Ethan Buchman, Ten...
Introduction to Ethereum Blockchain & Smart Contract
Webinar: Enterprise Blockchain Radically Simplified with Truffle and Kaleido
Ethereum Intro
Ethereum 2.0
Luniverse Partners Day - Jay
Alternative Consensus & Enterprise Blockchain
Hyperledger Fabric Application Development 20190618
Luniverse Partners Day - Hyperledger Fabric(Keyinside)
Token platform based on sidechain
Introduction of Luniverse
FIWARE Wednesday Webinars - How to Debug IoT Agents
POA based Side-Chain Architecture
Encode polkadot club event 3, technical deepdive
Ad

Similar to StarkNet JS (20)

PDF
How to build a dApp in StarkNet
PPTX
StarkNet ERC20 + ERC721
PDF
Javascript toolset for Ethereum Smart Contract development
PDF
The JavaScript toolset for development on Ethereum
PDF
Braavos Wallet Workshop.pdf
PDF
Ethereum Development 101: Online meetup by CyberForge Academy Mohali
PDF
Smart contracts in Solidity
PDF
Smart contracts using web3.js
PDF
Developing Blockchain Applications
PPTX
The Foundation of Smart Contract Development on Ethereum
PDF
DevEx in Ethereum - a look at the developer stack
ODP
Stefano Maestri - Blockchain and smart contracts, what they are and why you s...
PPTX
Fullsize Smart Contracts That Learn
PDF
Jerome de Tychey - Building Web3.0 with Ethereum - Codemotion Berlin 2018
PDF
Jerome de Tychey - Building Web3.0 with Ethereum - Codemotion Berlin 2018
PDF
Blockchain Coding Dojo - BlockchainHub Graz
PPTX
Understanding Ethereum: The Future of Blockchain Technology
PPTX
The Ethereum Blockchain - Introduction to Smart Contracts and Decentralized A...
PDF
apidays LIVE London 2021 - Open Insurance & Smart Contracts by Giovanni Lesna...
PPTX
Smart Contract programming 101 with Solidity #PizzaHackathon
How to build a dApp in StarkNet
StarkNet ERC20 + ERC721
Javascript toolset for Ethereum Smart Contract development
The JavaScript toolset for development on Ethereum
Braavos Wallet Workshop.pdf
Ethereum Development 101: Online meetup by CyberForge Academy Mohali
Smart contracts in Solidity
Smart contracts using web3.js
Developing Blockchain Applications
The Foundation of Smart Contract Development on Ethereum
DevEx in Ethereum - a look at the developer stack
Stefano Maestri - Blockchain and smart contracts, what they are and why you s...
Fullsize Smart Contracts That Learn
Jerome de Tychey - Building Web3.0 with Ethereum - Codemotion Berlin 2018
Jerome de Tychey - Building Web3.0 with Ethereum - Codemotion Berlin 2018
Blockchain Coding Dojo - BlockchainHub Graz
Understanding Ethereum: The Future of Blockchain Technology
The Ethereum Blockchain - Introduction to Smart Contracts and Decentralized A...
apidays LIVE London 2021 - Open Insurance & Smart Contracts by Giovanni Lesna...
Smart Contract programming 101 with Solidity #PizzaHackathon
Ad

More from Neven6 (20)

PDF
Deploying Native NFT Collections on Fuel
PDF
External - Wormhole Connect + Typescript SDK.pdf
PDF
Scaffold your dApp with ink!athon
PDF
Encode Summer Hackathon Sponsored by the Solana Foundation 2023 Launch Slides
PDF
Discover Calimero
PDF
Developing Using Meta Pool in Aurora
PDF
Rocklabs Workshop
PDF
Internet Computer BUIDL Bitcoin Hackathon Launch
PDF
Slurping all the yummy on-chain data
PDF
Building with Hashi on Gnosis Chain
PDF
Zero to Hero: Getting Started on Mantle
PDF
Establishing Connection Using GetBlock.pdf
PDF
Building Web3 on Bitcoin with Interlay
PDF
Market Creation and Liquidity on Zeitgeist
PDF
Encode x Polkadot Spring 2023 Hackathon: A Deep Dive into ink! and the Astar ...
PDF
Develop Acala EVM+ with Chopsticks.pdf
PDF
Encode x Polkadot Spring 2023 Educate: Ecosystem and Governance
PDF
Next Video Build: XMTP Workshop Slides
PDF
Next Video Build:UCAN Build Apps with IPFS and W3UI Slides
PDF
Introduction to Full Stack Web3 Social with Lens Protocol and Next.js
Deploying Native NFT Collections on Fuel
External - Wormhole Connect + Typescript SDK.pdf
Scaffold your dApp with ink!athon
Encode Summer Hackathon Sponsored by the Solana Foundation 2023 Launch Slides
Discover Calimero
Developing Using Meta Pool in Aurora
Rocklabs Workshop
Internet Computer BUIDL Bitcoin Hackathon Launch
Slurping all the yummy on-chain data
Building with Hashi on Gnosis Chain
Zero to Hero: Getting Started on Mantle
Establishing Connection Using GetBlock.pdf
Building Web3 on Bitcoin with Interlay
Market Creation and Liquidity on Zeitgeist
Encode x Polkadot Spring 2023 Hackathon: A Deep Dive into ink! and the Astar ...
Develop Acala EVM+ with Chopsticks.pdf
Encode x Polkadot Spring 2023 Educate: Ecosystem and Governance
Next Video Build: XMTP Workshop Slides
Next Video Build:UCAN Build Apps with IPFS and W3UI Slides
Introduction to Full Stack Web3 Social with Lens Protocol and Next.js

Recently uploaded (20)

PDF
Flame analysis and combustion estimation using large language and vision assi...
PDF
A proposed approach for plagiarism detection in Myanmar Unicode text
PPTX
Configure Apache Mutual Authentication
PDF
The influence of sentiment analysis in enhancing early warning system model f...
PDF
Statistics on Ai - sourced from AIPRM.pdf
PDF
CloudStack 4.21: First Look Webinar slides
PDF
Architecture types and enterprise applications.pdf
PDF
Consumable AI The What, Why & How for Small Teams.pdf
PDF
sustainability-14-14877-v2.pddhzftheheeeee
PDF
Taming the Chaos: How to Turn Unstructured Data into Decisions
PDF
Five Habits of High-Impact Board Members
PPTX
Modernising the Digital Integration Hub
PDF
Credit Without Borders: AI and Financial Inclusion in Bangladesh
PDF
A review of recent deep learning applications in wood surface defect identifi...
PDF
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
PPTX
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
PPTX
Benefits of Physical activity for teenagers.pptx
PDF
sbt 2.0: go big (Scala Days 2025 edition)
PDF
“A New Era of 3D Sensing: Transforming Industries and Creating Opportunities,...
PPTX
GROUP4NURSINGINFORMATICSREPORT-2 PRESENTATION
Flame analysis and combustion estimation using large language and vision assi...
A proposed approach for plagiarism detection in Myanmar Unicode text
Configure Apache Mutual Authentication
The influence of sentiment analysis in enhancing early warning system model f...
Statistics on Ai - sourced from AIPRM.pdf
CloudStack 4.21: First Look Webinar slides
Architecture types and enterprise applications.pdf
Consumable AI The What, Why & How for Small Teams.pdf
sustainability-14-14877-v2.pddhzftheheeeee
Taming the Chaos: How to Turn Unstructured Data into Decisions
Five Habits of High-Impact Board Members
Modernising the Digital Integration Hub
Credit Without Borders: AI and Financial Inclusion in Bangladesh
A review of recent deep learning applications in wood surface defect identifi...
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
Benefits of Physical activity for teenagers.pptx
sbt 2.0: go big (Scala Days 2025 edition)
“A New Era of 3D Sensing: Transforming Industries and Creating Opportunities,...
GROUP4NURSINGINFORMATICSREPORT-2 PRESENTATION

StarkNet JS

  • 1. StarkNet.js 101 Sean, in collaboration with March 2022
  • 2. How did I get involved with StarkNet? ● Looking for a long term ETH scaling solution ● Wanted to build a web application ● No library for web applications to interface with StarkNet 2
  • 3. What is StarkNet.js? ● Allow JavaScript programs, like Web and Mobile Apps to interface with the StarkNet network ● Follows ethers.js architecture in Ethereum ● Primary APIs are Providers, Account, Signer, and Contract 3
  • 4. Starknet.js V3 API - Overview ● Provider ● Account ● Signer ● Contract 4
  • 5. Provider The Provider API allows you to interface with the StarkNet network, without signing transactions or messages. Typically, these are read calls on the blockchain. API 5
  • 6. Account An Account extends Provider and inherits all of its methods. It also introduces new methods that allow Accounts to create and verify signatures with a custom Signer. This API is the primary way to interact with an account contract on StarkNet. API 6
  • 7. Signer The Signer API allows you to sign transactions and messages, and also allows you to get the public key. API 7
  • 8. Contract Contract API can do data transformations in JavaScript based on an ABI. They can also call and invoke to StarkNet through a provided Signer. Contracts allow you to transform Cairo values, like Uint256 to BigNumber. It could also allow users to pass their own transformers, similar to JSON.parse. API 8
  • 9. Account x ERC20 Example Code & Demo https://github.com/0xs34n/starknet.js-workshop 9
  • 10. Starknet.js V3 Release ● Starknet.js V3 will be released tomorrow with a new API ○ Try it today with npm install starknet@next ● New docs to be released at starknet.js.com! Examples today will be included ● Special thanks to Janek of Argent, Miljan of Shard Labs, and Dhruv of Jedi Swap and other Open Source Contributors to Starknet.js 10