Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Stanley Yuen <[email protected]>
  • Loading branch information
joaniefromtheblock and stanleyyconsensys authored Oct 4, 2024
1 parent 47aa2b3 commit 48fa212
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions wallet/how-to/use-non-evm-networks/starknet/about-get-starknet.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,7 @@ sequenceDiagram
The `get-starknet` library offers several features that improve how dapps interact with the Starknet
network through MetaMask:

- The `WalletAccount` uses a specified provider to access data from the Starknet network.
- For transactions, `get-starknet` prepares the data and sends it to MetaMask for signing through
the Starknet Snap.
- `get-starknet` enables the dapp to create contract instances connected to the `WalletAccount`,
allowing smart contract functions to be invoked, with MetaMask handling the signatures.
- `get-starknet` sets up listeners for account and network changes in MetaMask, so the dapp can
subscribe and update its state accordingly.
- `get-starknet` can request network changes through MetaMask, allowing users to switch between
Starknet networks, such as Mainnet and Sepolia testnet.
- `get-starknet` can also request MetaMask to display specific tokens, improving the user experience.
- `get-starknet` automatically enables EIP-6963, allowing dapps to discover multiple wallets.
- The `Account` object in the Starknet Window Object (SWO) functions like the Starknet.js `Account` object. It manages Starknet interactions by bridging requests from the dapp to MetaMask and the Starknet Snap.
- Users can switch between Starknet networks, such as Mainnet and Sepolia testnet, using `get-starknet`'s network change requests through MetaMask.
- `get-starknet` can instruct MetaMask to display specific tokens, enhancing the user experience.

0 comments on commit 48fa212

Please sign in to comment.