# Starknet React ## Docs - [Deploying Contracts](/docs/deploying-contracts): This guide explains how to deploy contracts on Starknet using the `useUniversalDeployerContract` hook in combination with `useSendTransaction`. - [Explorers](/docs/explorers): The `StarknetConfig` provider accepts an optional `explorer` property to configure the block explorer used by the `useExplorer` hook. - [Getting Started](/docs/getting-started): Starknet Start is a collection of React hooks for Starknet. It combines the following packages: - [Migrating to Starknet Start](/docs/migrating-to-starknet-start): Starknet Start React (formerly Starknet React) represents a major rewrite of the library. The core packages have been renamed and restructured to support multiple frameworks (React, Vue) and provide a more consistent experience with the wider Starknet ecosystem via `@starknet-io/get-starknet-core`. - [Paymaster Providers](/docs/paymaster-providers): You need to configure a Paymaster RPC provider to allow your dapp to execute gasless/gasfree transaction to Starknet. - [RPC Providers](/docs/providers): You need to configure an RPC provider to allow your dapp to fetch data from Starknet. - [StarknetConfig](/docs/starknet-config): The React Context provider for Starknet. - [Wallets](/docs/wallets): Connectors are used to *connect* the user's wallet to your dapp. If you dapp requires the user to submit a transaction or sign a message, you must provide a list of supported wallets to Starknet React. - [useAccount](/docs/hooks/use-account): Access the currently connected account, if any. - [useAddChain](/docs/hooks/use-add-chain): Request the user to add a chain to their wallet. - [useBalance](/docs/hooks/use-balance): Fetch the balance for the provided address and token. - [useBlockNumber](/docs/hooks/use-block-number): Fetch a single block number. - [useBlock](/docs/hooks/use-block): Fetch a single block. - [useCall](/docs/hooks/use-call): Perform a read-only contract call. - [useConnect](/docs/hooks/use-connect): Hook for connecting to a StarkNet wallet. - [useContractFactory](/docs/hooks/use-contract-factory): Hook to create a `ContractFactory` - [useContract](/docs/hooks/use-contract): Get a typed contract. - [useDeclareContract](/docs/hooks/use-declare-contract): Hook to declare a new class in the current network. - [useDeployAccount](/docs/hooks/use-deploy-account): Hook for deploying a contract. - [useDisconnect](/docs/hooks/use-disconnect): Hook for disconnecting connected StarkNet wallet. - [useEstimateFees](/docs/hooks/use-estimate-fees): Hook to estimate fees for smart contract calls. - [useEvents](/docs/hooks/use-events): Fetch Starknet events continuously - [useExplorer](/docs/hooks/use-explorer): Access the current explorer, should be inside a `StarknetConfig`. - [useInvalidateOnBlock](/docs/hooks/use-invalidate-on-block): Invalidate the given query on every new block. - [useNetwork](/docs/hooks/use-network): Hook for accessing the current connected chain. - [useNonceForAddress](/docs/hooks/use-nonce-for-address): Returns the nonce associated with the given address in the given block - [usePaymasterEstimateFees](/docs/hooks/use-paymaster-estimate-fees): Hook to estimate fees for smart contract calls. - [usePaymasterGasTokens](/docs/hooks/use-paymaster-gas-tokens): Hook to fetch all gas token supported by the Paymaster. - [usePaymasterSendTransaction](/docs/hooks/use-paymaster-send-transaction): Hook to send one or several transaction(s) to the network in a **Gasless**/**Gasfree** way using the Paymaster. - [useProvider](/docs/hooks/use-provider): Hook for accessing the current provider. - [useReadContract](/docs/hooks/use-read-contract): Perform a read-only contract call with type safety. - [useSendTransaction](/docs/hooks/use-send-transaction): Hook to send one or several transaction(s) to the network. - [useSignTypedData](/docs/hooks/use-sign-typed-data): Hook which returns the signature of an EIP712 "like" message, made by the current account of the wallet. - [useStarkAddress](/docs/hooks/use-stark-address): Hook to get the address associated to a stark name. - [useStarkName](/docs/hooks/use-stark-name): Hook for fetching Stark name for address. - [useStarkProfile](/docs/hooks/use-stark-profile): Hook for fetching Stark profile for address. - [useSwitchChain](/docs/hooks/use-switch-chain): Hook to change the current network of the wallet. - [useTransactionReceipt](/docs/hooks/use-transaction-receipt): Hook to fetch a single transaction receipt. - [useUniversalDeployerContract](/docs/hooks/use-universal-deployer-contract): Get a typed contract for the Universal Deployer contract. - [useWalletRequest](/docs/hooks/use-wallet-request): Hook to perform request calls to the connected wallet. - [Account](/demo/account): This demo shows how to access the currently connected account and its address. - [Add Chain](/demo/add-chain): This demo shows how to add a new chain to the wallet. - [Token Balance](/demo/balance): This demo shows how to fetch an ERC-20 token balance. - [Change Default Network](/demo/change-default-network): This demo shows how to change the default network. - [Declare Contract (Todo)](/demo/declare-contract): This demo shows how to declare a contract. - [Deploy Contract](/demo/deploy-contract): This demo shows how to use the `useUniversalDeployerContract` with `useSendTransaction` to deploy a contract. - [Estimate Fees](/demo/estimate-fees): This demo shows a fee estimate fees for smart contract calls. - [Events](/demo/events): This demo shows how to fetch events continuously. - [Demos](/demo): This section contains a list of demos showing how to use Starknet React. - [Nonce for Address](/demo/nonce-for-address): This demo shows how to get the nonce for an address. - [Fetch supported gas token by the Paymaster](/demo/paymaster-gas-tokens): This demo shows how to fetch all supported gas token by the used Paymaster. - [Read Contract](/demo/read-contract): This demo shows how to use the `useReadContract` type-safe API to query a Starknet contract. - [Send gasless transaction using the Paymaster](/demo/send-gasless-transaction): This demo shows how to send a gasless transaction using ´$USDC´ as gas token to the network. - [Send Transaction](/demo/send-transaction): This demo shows how to send transactions to the network. - [Sign Typed Data](/demo/sign-typed-data): This demo shows how to sign typed data via the wallet of the connected account. - [Stark Address](/demo/stark-address): This demo shows how to get the address associated to a Starknet ID. - [Stark Name](/demo/stark-name): This demo shows how to get the Starknet ID associated to an address. - [Stark Profile](/demo/stark-profile): This demo shows how to get the Starknet ID profile associated to an address. - [Switch Chain](/demo/switch-chain): This demo shows how to switch between chains. - [Connect Wallet UI](/demo/ui): This demo shows how to use the premade connect wallet UI. - [Wallet Permission](/demo/wallet-permission): This demo shows how to request wallet permissions.