Skip to content

Commit

Permalink
add full example link
Browse files Browse the repository at this point in the history
  • Loading branch information
wilsoncusack committed May 7, 2024
1 parent 60f850e commit 46cb3b2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/pages/guides/signature-verification.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,9 @@ and [verifyTypedData](https://viem.sh/docs/actions/public/verifyTypedData) ([exa
## Onchain
For signatures that will be used onchain, such as with [Permit2](https://github.com/Uniswap/permit2)
or [Seaport](https://github.com/ProjectOpenSea/seaport) developers will need to inspect the signature offchain
and remove unneeded ERC-6492 data, if it is present. We recommend using the [parseErc6492Signature](https://viem.sh/experimental/erc6492/parseErc6492Signature#parseerc6492signature) util from Viem.

and remove unneeded ERC-6492 data, if it is present.
We recommend using the [parseErc6492Signature](https://viem.sh/experimental/erc6492/parseErc6492Signature#parseerc6492signature)
util from Viem. Abbreviated example below. See full example [here](https://github.com/wilsoncusack/wagmi-scw/blob/main/src/components/Permit2.tsx).

```ts [example.tsx]
import { useMemo, useState } from "react";
Expand Down

0 comments on commit 46cb3b2

Please sign in to comment.