diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 5c3296b74..7eac9337d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -116,7 +116,7 @@ Button, Card (named export), BaseInput, BaseSelect, Checkbox, Divider, Title, To ## 📁 Documentation -- **All docs go in `docs/`** (except root `README.md`, `SOP.md`, `CONTRIBUTING.md`). +- **All docs go in `docs/`** (except root `README.md` and `CONTRIBUTING.md`). - **Keep it concise** — AI tends to be verbose. No one reads that. - **Check existing docs** before creating new ones — merge instead of duplicate. - **Delete or edit outdated docs** instead of creating new ones. diff --git a/SOP.md b/docs/archive/SOP.md similarity index 100% rename from SOP.md rename to docs/archive/SOP.md diff --git a/src/constants/chains.consts.ts b/src/constants/chains.consts.ts index 4ff7b54e6..59352c55f 100644 --- a/src/constants/chains.consts.ts +++ b/src/constants/chains.consts.ts @@ -1,4 +1,9 @@ -// https://wagmi.sh/core/chains +// How to add a new chain: +// 1. If available in wagmi/chains (https://wagmi.sh/core/api/chains), import it directly. +// 2. If NOT in wagmi/chains, create a custom chain object (see `milkomeda` below for reference). +// 3. Add it to the `supportedPeanutChains` array at the bottom of this file. +// Note: Every chain used in the SDK MUST be listed here, or wallet interactions will break. +// Chains can be listed here even if not yet supported in the SDK. import type { Chain } from 'viem' import * as wagmiChains from 'wagmi/chains'