NEWTON
Asked
3 months ago
58
views
0
What is Starknet.js?
Newton
asked
3 months ago
0
Accepted answer
Starknet.js is a way to connect your website or your Digital Application (DAPP) to the blockchain-based Starknet network, using Javascript/Typescript language.
Some important topics that have to be understood:
You can connect your DAPP to several networks :
and also to some more specific solutions :
Only the Provider object is talking directly to the network; your DAPP will talk mainly to Account and Contract objects. You will define with the Provider which network you want to work. You can ask the Provider for some low-level data of the network (block, timestamp, ...).
Signer and Utils objects contain many useful functions for the interaction with Starknet.js.
The Contract object is mainly used to read the memory of a blockchain contract.
The Account object is the most useful :
Newton
answered
3 months ago
What are function argument types in starknet.js?
Which lib can help me to make a multicall in JS for StarkNet?
Is there any issue between using 4.4 and 3.x starknet.js?
Why I randomly get `HttpError: Bad Gateway` from starknet js?
Do you know a function that converts an array of felts (numbers) to a single string in JS? [Cairo Lang]
What are Event Indexers in Cairo lang? What is a StarkNet indexer?
What the etherscan equivalent for starknet is ?
Why does Starkware pedersen Hash Function split numbers in high and low bits
Revoked References exercise from Cairo-lang
How do I interact with my Pathfinder node?
How to make recursive function in Cairo Lang?
I am already running a full Ethereum node on my server. Can I set the PATHFINDER_ETHEREUM_API_URL parameter to my node's endpoint for pathfinder?
How do I get started with starknetjs?
Is there a way to find events in a block without getting receipt for all transactions on Starknet?