Skip to content
Demos

Demos

This section contains a list of demos showing how to use Starknet React.

You can find the source code for these demos on GitHub.

Common Hooks

Account: Shows how to access the current account and its address.

Estimate Fees: Shows how to estimate fees for smart contract calls.

Nonce for Address: Shows how to get the nonce for an address.

Read contract: Shows how to use the useReadContract type-safe API to query a Starknet contract.

Send transaction: Shows how to use the useContract and useSendTransaction hooks to send transactions to the network.

Sign Typed Data: Shows how to request users to sign a piece of data.

New APIs

Request wallet permissions: Shows how to request wallet permissions.

Add Chain: Shows how to add a new chain to the wallet.

Switch Chain: Shows how to switch between chains.

Starknet ID

Stark Address: Shows how to get the address associated to a Starknet ID.

Stark Name: Shows how to get the Starknet ID associated to an address.

Stark Profile: Shows how to get the Starknet ID profile associated to an address.

Integrations

StarknetKit Integration: Shows how to integrate Starknet React with StarknetKit.