Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update chain type #1614

Merged
merged 2 commits into from
Nov 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions site/docs/pages/config/onchainkit-provider.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const App = () => {

| Prop | Description | Required |
| -------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | -------- |
| [`chain`](#chain) | The chain ID number(s) of the blockchain(s) supported by your OnchainKit project | Yes |
| [`chain`](#chain) | The chain that your OnchainKit project supports. | Yes |
| [`apiKey`](#apikey) | Client API Key from Coinbase Developer Platform. | No |
| [`rpcUrl`](#rpc-url) | RPC URL for onchain requests. | No |
| [`projectId`](#project-id) | Your Coinbase Developer Platform Project ID. | No |
Expand All @@ -46,12 +46,11 @@ const App = () => {

### Chain

`chain` specifies which chains your OnchainKit project will interact with.
`chain` specifies the chain on which your OnchainKit project will operate.

This prop is required for all OnchainKit components.

We recommend importing chain data from [wagmi](https://wagmi.sh/core/api/chains)
or [viem](https://viem.sh/docs/chains/introduction).
We recommend importing chain data from[viem](https://viem.sh/docs/chains/introduction).

---

Expand Down