File tree Expand file tree Collapse file tree 5 files changed +5
-7
lines changed
services/tutorials/ethereum Expand file tree Collapse file tree 5 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ of the [MetaMask developer page](https://metamask.io/developer/).
4242 ([ #1509 ] ( https://github.com/MetaMask/metamask-docs/pull/1509 ) )
4343- Documented [ Scroll] ( /services/reference/scroll ) support.
4444 ([ #1641 ] ( https://github.com/MetaMask/metamask-docs/pull/1641 ) )
45- - Updated [ Wallet landing page] ( /wallet ) and added [ Connect to MetaMask] ( /wallet/connect ) section
45+ - Updated [ Wallet landing page] ( /wallet ) and added [ Connect to MetaMask] ( /wallet/how-to/ connect ) section
4646 with SDK, third-party libraries, and Wallet API connection options.
4747 ([ #1494 ] ( https://github.com/MetaMask/metamask-docs/pull/1494 ) )
4848- Documented [ ` snap_getPreferences ` ] ( /snaps/reference/snaps-api/#snap_getpreferences ) .
@@ -212,7 +212,7 @@ of the [MetaMask developer page](https://metamask.io/developer/).
212212- Restructured and improved [ Wallet documentation] ( /wallet ) and introduced "Wallet API" terminology.
213213 ([ #1114 ] ( https://github.com/MetaMask/metamask-docs/pull/1114 ) and
214214 [ #1125 ] ( https://github.com/MetaMask/metamask-docs/pull/1125 ) )
215- - Documented [ how to detect multiple wallets using EIP-6963] ( /wallet/connect/wallet-api ) .
215+ - Documented [ how to detect multiple wallets using EIP-6963] ( /wallet/how-to/connect ) .
216216 ([ #1094 ] ( https://github.com/MetaMask/metamask-docs/pull/1094 ) )
217217- Documented [ how to communicate errors in Snaps] ( /snaps/how-to/communicate-errors ) .
218218 ([ #1117 ] ( https://github.com/MetaMask/metamask-docs/pull/1117 ) )
Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ console.log(
173173
174174### 6. Read ERC-1155 transfers
175175
176- You can set the listener for the ` subscription1155 ` created in [ step 4] ( track-erc-721-and-erc-1155-token-transfers.md#4. -subscribe-to-contract-events) by adding the following lines to the script:
176+ You can set the listener for the ` subscription1155 ` created in [ step 4] ( #4 -subscribe-to-contract-events) by adding the following lines to the script:
177177
178178``` javascript
179179subscription1155 .on (" data" , event => {
Original file line number Diff line number Diff line change @@ -5,8 +5,6 @@ description: Learn about interacting with smart contracts.
55# Smart contracts
66
77This is a high-level overview of interacting with smart contracts.
8- You can also see how to
9- [ interact with smart contracts from your Unity game] ( ../how-to/use-unity-sdk/smart-contracts/index.md ) .
108
119To interact with a smart contract, your dapp needs the following information:
1210
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ description: Detect a user's network and network changes.
77It's important to keep track of the user's network chain ID because all RPC requests are submitted
88to the currently connected network.
99
10- Use the [ ` eth_chainId ` ] ( /wallet/reference/json-rpc-methods/eth_chainId )
10+ Use the [ ` eth_chainId ` ] ( /wallet/reference/json-rpc-methods/eth_chainid )
1111RPC method to detect the chain ID of the user's current network.
1212Listen to the [ ` chainChanged ` ] ( ../../reference/provider-api.md#chainchanged ) provider event to
1313detect when the user changes networks.
Original file line number Diff line number Diff line change @@ -490,7 +490,7 @@ const disconnectWallet = useCallback(async () => {
490490` ` `
491491
492492:::caution important
493- [ ` wallet_revokePermission ` ](/wallet/reference/json-rpc-methods/wallet_revokePermissions ) is an experimental RPC
493+ [ ` wallet_revokePermission ` ](/wallet/reference/json-rpc-methods/wallet_revokepermissions ) is an experimental RPC
494494method that might only work with MetaMask.
495495Configuring the revocation in a try/catch block and separating it from the rest of the cleanup
496496ensures that if a wallet does not support this feature, the rest of the disconnect functionality
You can’t perform that action at this time.
0 commit comments