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
4 changes: 4 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ pnpm generate # refetch the OpenAPI specs and regenerate the API reference

Before finishing a change, run `pnpm build` for content changes, and `pnpm lint` plus `pnpm types:check` for code changes. For changes to routing, redirects, `next.config.mjs`, `worker/` or `wrangler.jsonc`, also check them in `pnpm preview`.

`pnpm-lock.yaml` is committed and CI installs with `--frozen-lockfile`. When you change `package.json`, commit the updated lockfile.

## Project layout

| Path | What it is |
Expand Down Expand Up @@ -160,6 +162,8 @@ Always wrap `<Accordion>` in `<Accordions>`. Use them for FAQs and optional deta

- Prefer Markdown images, `![Copy the Project ID from the dashboard](/images/cloud/1.png)`: they get dimensions at build time and click-to-zoom. A raw `<img>` has neither, so use it only when you need attributes Markdown can't express.
- Always write alt text that describes what the image shows.
- Put every image and video in `public/images/` and reference it as `/images/...`. Don't link to Mintlify's CDN (`mintcdn.com`, `mintlify.s3...`): those files are going away.
- Videos go in `public/images/videos/`, each under 25 MiB (Cloudflare's per-file limit). Use a `<video>` tag with `controls`.
- Diagrams: a ` ```mermaid ` code block.
- Math: `$$ ... $$` (KaTeX).

Expand Down
3 changes: 1 addition & 2 deletions content/docs/wallets/features/chain-abstraction.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ making the experience seamless for both the user and the application.
For example, in given scenario, you need to have enough gas fees on OP Mainnet and Arbitrum.
</Callout>

The diagram below shows an example scenario where a user is interacting with an app and is asked to transfer 225 USDC to the app on Base Network.
The user does not have any USDC on Base, but their wallet seamlessly allows them to source the funds from other networks.
The diagram below shows how the wallet, WalletKit and RPC work together when a transfer needs funds from another network.

![Sequence diagram of the chain abstraction flow between the user, app, wallet, WalletKit and RPC](/images/chain-abstraction-sequence.png)

Expand Down
Loading