Skip to content

Commit

Permalink
docs: link to Polkadot-API for documentation on codegen
Browse files Browse the repository at this point in the history
  • Loading branch information
tien committed Jun 14, 2024
1 parent a6f3ee2 commit c62fd71
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apps/docs/docs/getting-started/setup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ First add Reactive DOT, along with required packages as dependencies to your Rea

## Download & sync metadata

Next, download the latest metadata from the chain you want to connect to and generate the types
Next, download the latest metadata from the chain you want to connect to and generate the types.

```sh
# `papi add` is the command
Expand All @@ -48,6 +48,8 @@ npx papi add dot -n polkadot
npx papi
```

For more information on metadata syncing and type generation, please refer to this [documentation](https://polkadot-api.github.io/polkadot-api-docs/codegen) provided by [Polkadot-API](https://polkadot-api.github.io/polkadot-api-docs).

## Add type information

The records of `ChainId` -> `Descriptor` here will be used to provided you with the right type definitions when using hooks.
Expand Down

0 comments on commit c62fd71

Please sign in to comment.