Skip to content
Merged
Show file tree
Hide file tree
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
109 changes: 72 additions & 37 deletions docs/docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -486,33 +486,6 @@
"mini-apps/troubleshooting/base-app-compatibility"
]
},
{
"group": "Technical Reference",
"pages": [
{
"group": "MiniKit",
"pages": [
"mini-apps/technical-reference/minikit/overview",
"mini-apps/technical-reference/minikit/provider-and-initialization",
{
"group": "Hooks",
"pages": [
"mini-apps/technical-reference/minikit/hooks/useMiniKit",
"mini-apps/technical-reference/minikit/hooks/useOpenUrl",
"mini-apps/technical-reference/minikit/hooks/useClose",
"mini-apps/technical-reference/minikit/hooks/usePrimaryButton",
"mini-apps/technical-reference/minikit/hooks/useViewProfile",
"mini-apps/technical-reference/minikit/hooks/useComposeCast",
"mini-apps/technical-reference/minikit/hooks/useViewCast",
"mini-apps/technical-reference/minikit/hooks/useAuthenticate",
"mini-apps/technical-reference/minikit/hooks/useAddFrame",
"mini-apps/technical-reference/minikit/hooks/useNotification"
]
}
]
}
]
},
{
"group": "Resources",
"pages": [
Expand Down Expand Up @@ -585,6 +558,28 @@
"group": "Mint",
"pages": ["onchainkit/latest/components/mint/nft-card", "onchainkit/latest/components/mint/nft-mint-card"]
},
{
"group": "MiniKit",
"pages": [
"onchainkit/latest/components/minikit/overview",
"onchainkit/latest/components/minikit/provider-and-initialization",
{
"group": "Hooks",
"pages": [
"onchainkit/latest/components/minikit/hooks/useMiniKit",
"onchainkit/latest/components/minikit/hooks/useOpenUrl",
"onchainkit/latest/components/minikit/hooks/useClose",
"onchainkit/latest/components/minikit/hooks/usePrimaryButton",
"onchainkit/latest/components/minikit/hooks/useViewProfile",
"onchainkit/latest/components/minikit/hooks/useComposeCast",
"onchainkit/latest/components/minikit/hooks/useViewCast",
"onchainkit/latest/components/minikit/hooks/useAuthenticate",
"onchainkit/latest/components/minikit/hooks/useAddFrame",
"onchainkit/latest/components/minikit/hooks/useNotification"
]
}
]
},
{
"group": "Signature",
"pages": ["onchainkit/latest/components/signature/signature"]
Expand Down Expand Up @@ -622,14 +617,6 @@
{
"group": "Connected",
"pages": ["onchainkit/latest/components/connected/connected"]
},
{
"group": "MiniKit",
"pages": [
"onchainkit/latest/components/minikit/autoconnect",
"onchainkit/latest/components/minikit/if-in-miniapp",
"onchainkit/latest/components/minikit/safe-area"
]
}
]
},
Expand Down Expand Up @@ -2664,11 +2651,11 @@
},
{
"source": "/base-app/miniapps/overview",
"destination": "/mini-apps/technical-reference/minikit/overview"
"destination": "/onchainkit/latest/components/minikit/overview"
},
{
"source": "/base-app/build-with-minikit/overview",
"destination": "/mini-apps/technical-reference/minikit/overview"
"destination": "/onchainkit/latest/components/minikit/overview"
},
{
"source": "/base-app/miniapps/existing-app-integration",
Expand Down Expand Up @@ -2781,6 +2768,54 @@
{
"source": "/mini-apps/quickstart/launch-checklist",
"destination": "/mini-apps/quickstart/build-checklist"
},
{
"source": "/mini-apps/technical-reference/minikit/overview",
"destination": "/onchainkit/latest/components/minikit/overview"
},
{
"source": "/mini-apps/technical-reference/minikit/provider-and-initialization",
"destination": "/onchainkit/latest/components/minikit/provider-and-initialization"
},
{
"source": "/mini-apps/technical-reference/minikit/hooks/useMiniKit",
"destination": "/onchainkit/latest/components/minikit/hooks/useMiniKit"
},
{
"source": "/mini-apps/technical-reference/minikit/hooks/useOpenUrl",
"destination": "/onchainkit/latest/components/minikit/hooks/useOpenUrl"
},
{
"source": "/mini-apps/technical-reference/minikit/hooks/useClose",
"destination": "/onchainkit/latest/components/minikit/hooks/useClose"
},
{
"source": "/mini-apps/technical-reference/minikit/hooks/usePrimaryButton",
"destination": "/onchainkit/latest/components/minikit/hooks/usePrimaryButton"
},
{
"source": "/mini-apps/technical-reference/minikit/hooks/useViewProfile",
"destination": "/onchainkit/latest/components/minikit/hooks/useViewProfile"
},
{
"source": "/mini-apps/technical-reference/minikit/hooks/useComposeCast",
"destination": "/onchainkit/latest/components/minikit/hooks/useComposeCast"
},
{
"source": "/mini-apps/technical-reference/minikit/hooks/useViewCast",
"destination": "/onchainkit/latest/components/minikit/hooks/useViewCast"
},
{
"source": "/mini-apps/technical-reference/minikit/hooks/useAuthenticate",
"destination": "/onchainkit/latest/components/minikit/hooks/useAuthenticate"
},
{
"source": "/mini-apps/technical-reference/minikit/hooks/useAddFrame",
"destination": "/onchainkit/latest/components/minikit/hooks/useAddFrame"
},
{
"source": "/mini-apps/technical-reference/minikit/hooks/useNotification",
"destination": "/onchainkit/latest/components/minikit/hooks/useNotification"
}
],
"integrations": {
Expand Down
2 changes: 1 addition & 1 deletion docs/mini-apps/core-concepts/authentication.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ Your mini app's domain


<CardGroup cols={2}>
<Card title="useAuthenticate" href="/mini-apps/technical-reference/minikit/hooks/useAuthenticate">
<Card title="useAuthenticate" href="/onchainkit/latest/components/minikit/hooks/useAuthenticate">
use Minikit's useAuthenticate hook to authenticate users.
</Card>
<Card title="Context" href="/mini-apps/core-concepts/context">
Expand Down
6 changes: 3 additions & 3 deletions docs/mini-apps/core-concepts/navigation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ composeCast({
</Tab>
<Tab title="MiniKit">

Use [`useOpenUrl()`](/mini-apps/technical-reference/minikit/hooks/useOpenUrl) to safely open external websites in the client's in-app browser:
Use [`useOpenUrl()`](/onchainkit/latest/components/minikit/hooks/useOpenUrl) to safely open external websites in the client's in-app browser:

```tsx components/ExternalLinks.tsx highlight={8 -10}
import { useOpenUrl } from '@coinbase/onchainkit/minikit';
Expand Down Expand Up @@ -153,7 +153,7 @@ composeCast({
```
</Tab>
<Tab title="MiniKit">
Use [`useComposeCast()`](/mini-apps/technical-reference/minikit/hooks/useComposeCast) to open the native composer with prefilled content:
Use [`useComposeCast()`](/onchainkit/latest/components/minikit/hooks/useComposeCast) to open the native composer with prefilled content:
```tsx components/ShareCast.tsx highlight={8-13}
import { useComposeCast } from '@coinbase/onchainkit/minikit';

Expand Down Expand Up @@ -198,7 +198,7 @@ composeCast({
</Tab>
<Tab title="MiniKit">

Use [`useViewCast()`](/mini-apps/technical-reference/minikit/hooks/useViewCast) to open a specific cast by its hash:
Use [`useViewCast()`](/onchainkit/latest/components/minikit/hooks/useViewCast) to open a specific cast by its hash:
```tsx components/ViewCastButton.tsx highlight={4,7-9}
import { useViewCast } from '@coinbase/onchainkit/minikit';

Expand Down
6 changes: 3 additions & 3 deletions docs/mini-apps/growth/optimize-onboarding.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Deliver value instantly and avoid blocking actions.
<Steps>
<Step title="First render">
- Show immediate value (demo content, sample state, or read-only mode)
- Personalize instantly with [`context`](/mini-apps/technical-reference/minikit/provider-and-initialization) of the user's profile to instantly personalize
- Personalize instantly with [`context`](/onchainkit/latest/components/minikit/provider-and-initialization) of the user's profile to instantly personalize
- Display one clear CTA that leads to a meaningful action (e.g. "Post a message", "Buy a token", "Follow a user")
</Step>

Expand Down Expand Up @@ -108,8 +108,8 @@ Learn how to implement them with [SDK actions](/mini-apps/features/links).

<CardGroup cols={3}>
<Card title="Sharing & Social Graph" icon="share" href="/mini-apps/features/sharing-and-social-graph" />
<Card title="Provider & Initialization" icon="cog" href="/mini-apps/technical-reference/minikit/provider-and-initialization" />
<Card title="useAuthenticate" icon="book-open" href="/mini-apps/technical-reference/minikit/hooks/useAuthenticate" />
<Card title="Provider & Initialization" icon="cog" href="/onchainkit/latest/components/minikit/provider-and-initialization" />
<Card title="useAuthenticate" icon="book-open" href="/onchainkit/latest/components/minikit/hooks/useAuthenticate" />
</CardGroup>


Expand Down
16 changes: 8 additions & 8 deletions docs/mini-apps/llms-full.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ export function Providers(props: { children: React.ReactNode }) {
- [Base App Compatibility](https://docs.base.org/mini-apps/troubleshooting/base-app-compatibility.md) — Client behavior

### Technical Reference
- [MiniKit Overview](https://docs.base.org/mini-apps/technical-reference/minikit/overview.md) — Overview
- [Provider & Initialization](https://docs.base.org/mini-apps/technical-reference/minikit/provider-and-initialization.md) — Provider
- [Hooks](https://docs.base.org/mini-apps/technical-reference/minikit/hooks/useMiniKit.md) — Hooks
- [MiniKit Overview](https://docs.base.org/onchainkit/latest/components/minikit/overview.md) — Overview
- [Provider & Initialization](https://docs.base.org/onchainkit/latest/components/minikit/provider-and-initialization.md) — Provider
- [Hooks](https://docs.base.org/onchainkit/latest/components/minikit/hooks/useMiniKit.md) — Hooks


## Quickstart (excerpts)
Expand Down Expand Up @@ -128,7 +128,7 @@ Modes summary (from Authentication):
Hook reference:

- useAuthenticate — Returns verified user from SIWF or wallet auth. Use alongside `useMiniKit` context.
- Source: `https://docs.base.org/mini-apps/technical-reference/minikit/hooks/useAuthenticate.md`
- Source: `https://docs.base.org/onchainkit/latest/components/minikit/hooks/useAuthenticate.md`

Example (hook usage):

Expand Down Expand Up @@ -171,9 +171,9 @@ Prompt timing guidelines:
## API and Schemas (pruned)

- MiniKit Provider and initialization props
- Source: `https://docs.base.org/mini-apps/technical-reference/minikit/provider-and-initialization.md`
- Source: `https://docs.base.org/onchainkit/latest/components/minikit/provider-and-initialization.md`
- `useMiniKit` hook: access frame context, user, and client capabilities
- Source: `https://docs.base.org/mini-apps/technical-reference/minikit/hooks/useMiniKit.md`
- Source: `https://docs.base.org/onchainkit/latest/components/minikit/hooks/useMiniKit.md`

Example manifest fields (conceptual):

Expand Down Expand Up @@ -221,7 +221,7 @@ Example: Wire providers for OnchainKit + MiniKit

Sources:
- `https://docs.base.org/mini-apps/design-ux/onchainkit.md`
- `https://docs.base.org/mini-apps/technical-reference/minikit/provider-and-initialization.md`
- `https://docs.base.org/onchainkit/latest/components/minikit/provider-and-initialization.md`

```tsx
import { OnchainKitProvider } from '@coinbase/onchainkit'
Expand All @@ -238,7 +238,7 @@ export function Providers(props: { children: React.ReactNode }) {

Example: Use `useMiniKit` to access client context

Source: `https://docs.base.org/mini-apps/technical-reference/minikit/hooks/useMiniKit.md`
Source: `https://docs.base.org/onchainkit/latest/components/minikit/hooks/useMiniKit.md`

```tsx
import { useMiniKit } from '@coinbase/minikit'
Expand Down
4 changes: 2 additions & 2 deletions docs/mini-apps/llms.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
- [Base App Compatibility](https://docs.base.org/mini-apps/troubleshooting/base-app-compatibility.md) — Base App client-specific behaviors for issues where an app works in the Farcaster client but not Base App

## Technical Reference
- [MiniKit Overview](https://docs.base.org/mini-apps/technical-reference/minikit/overview.md) — Architecture, provider, CLI, and hooks
- [Hooks: useMiniKit](https://docs.base.org/mini-apps/technical-reference/minikit/hooks/useMiniKit.md) — Access frame context and client features
- [MiniKit Overview](https://docs.base.org/onchainkit/latest/components/minikit/overview.md) — Architecture, provider, CLI, and hooks
- [Hooks: useMiniKit](https://docs.base.org/onchainkit/latest/components/minikit/hooks/useMiniKit.md) — Access frame context and client features

## Optional
- [Search & Discovery](https://docs.base.org/mini-apps/features/search-and-discovery.md) — Indexing and ranking signals in Base App
Expand Down
4 changes: 2 additions & 2 deletions docs/mini-apps/technical-guides/sharing-and-social-graph.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ Strategic sharing moments include: post‑achievement, post‑mint, after beatin
Link users into casts and profiles directly from your app via MiniKit hooks.

<CardGroup cols={2}>
<Card title="useViewCast" icon="book-open" href="/mini-apps/technical-reference/minikit/hooks/useViewCast" />
<Card title="useViewProfile" icon="book-open" href="/mini-apps/technical-reference/minikit/hooks/useViewProfile" />
<Card title="useViewCast" icon="book-open" href="/onchainkit/latest/components/minikit/hooks/useViewCast" />
<Card title="useViewProfile" icon="book-open" href="/onchainkit/latest/components/minikit/hooks/useViewProfile" />
</CardGroup>

## Best Practices
Expand Down
Loading