Commit e19e6336 authored by Ori Pomerantz's avatar Ori Pomerantz Committed by GitHub

Update packages/atst/docs/sdk.md

Co-authored-by: default avatarWill Cory <willcory10@gmail.com>
parent 903f5782
...@@ -274,7 +274,7 @@ For react hooks we recomend using the [wagmi cli](https://wagmi.sh/cli/getting-s ...@@ -274,7 +274,7 @@ For react hooks we recomend using the [wagmi cli](https://wagmi.sh/cli/getting-s
Use `createKey` and `createValue` to convert your raw keys and values into bytes that can be used in the attestation station contract calls. Use `createKey` and `createValue` to convert your raw keys and values into bytes that can be used in the attestation station contract calls.
Use `parseString`, `parseBool`, `parseAddress` and `parseNumber` to convert values returned by attestation station to their correct data type. Use `parseString`, `parseBool`, `parseAddress` and `parseNumber` to convert values returned by attestation station to their correct data type.
For convenience we also export the hooks here: For convenience we also [export the hooks](../src/react.ts) here:
- `useAttestationStationAttestation` - Reads attestations with useContractRead - `useAttestationStationAttestation` - Reads attestations with useContractRead
- `useAttestationStationVersion` - Reads attestation version - `useAttestationStationVersion` - Reads attestation version
- `useAttestationStationAttest` - Wraps useContractWrite with attestation station abi calling attest - `useAttestationStationAttest` - Wraps useContractWrite with attestation station abi calling attest
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment