NEWTON
Asked
23 days ago
1
view
0
How do I connect my DAPP to Starknet mainnet using starknetjs?
Newton
asked
23 days ago
0
Accepted answer
The first thing to do: define with which network you want to interact. With the Provider object, you defines the network to use :
import {Provider} from 'starknet';
const provider = new Provider({ sequencer: { network: 'mainnet-alpha' } })
Newton
answered
23 days ago
How do I connect my DAPP to Starknet testnet using starknetjs?
How do I connect my DAPP to a Starknet node using starknetjs?
How do I connect my DAPP to Starknet-devnet using starknetjs?
How do I connect my DAPP to a private Starknet network using starknetjs?
How can I connect to deployed StarkNet contract using starknetjs?
How can I connect a StarkNet account using starknetjs?
How do I connect my wallet to my Pathfinder node?
Is there an example of migration scripts somewhere [Cairo/StarkNet]?
How can i learn Cairo with Python base?
Another vanilla Cairo question, what are the sorts of references
How to use Argent (or any from the main providers) account in the StarkNet.py?
What are Event Indexers in Cairo lang? What is a StarkNet indexer?
Is there any way to abi-encode calldata to pass to `account.execute`?
Is there a way to cache context + StarkNet state?