Skip to content

Commit

Permalink
update docs (#1867)
Browse files Browse the repository at this point in the history
* Update track-erc-721-and-erc-1155-token-transfers.md

* Update transaction-insights.md

* Update transaction-insights.md

* Update styles.module.css

* Update connect.md

* Update src/components/ParserOpenRPC/CollapseBox/styles.module.css

---------

Co-authored-by: Alexandra Carrillo <[email protected]>
  • Loading branch information
aso20455 and alexandratran authored Feb 5, 2025
1 parent 1c74421 commit 9a25c49
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ In order to directly call `from`, `to`, and `tokenId` on `transaction`, add the
```javascript
console.log(
`\n` +
`New ERC-712 transaction found in block ${event.blockNumber} with hash ${event.transactionHash}\n` +
`New ERC-721 transaction found in block ${event.blockNumber} with hash ${event.transactionHash}\n` +
`From: ${
transaction.from === "0x0000000000000000000000000000000000000000"
? "New mint!"
Expand Down
2 changes: 1 addition & 1 deletion snaps/features/transaction-insights.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ permission object, and set it to `true`:

```json title="snap.manifest.json"
"initialPermissions": {
"endowment:signature-insight": {
"endowment:transaction-insight": {
"allowTransactionOrigin": true
}
}
Expand Down
2 changes: 1 addition & 1 deletion snaps/learn/tutorials/transaction-insights.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ mkdir packages/snap/images

Download
[this `gas.svg` icon file](https://raw.githubusercontent.com/Montoya/gas-fee-snap/main/packages/snap/images/gas.svg)
into that `ìmages` folder.
into that `images` folder.

<details>
<summary>Icon attribution</summary>
Expand Down
2 changes: 1 addition & 1 deletion wallet/how-to/connect.md
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ export const store = {
// Dispatch the event, which triggers the event listener in the MetaMask wallet.
window.dispatchEvent(new Event("eip6963:requestProvider"))

// Return a function that removes the event listern.
// Return a function that removes the event listener.
return () =>
window.removeEventListener("eip6963:announceProvider", onAnnouncement)
},
Expand Down

0 comments on commit 9a25c49

Please sign in to comment.