From 9ef3cd0c58e5544a0ed70b8c8d7a254d859d9da6 Mon Sep 17 00:00:00 2001 From: Hugo Montenegro Date: Tue, 10 Mar 2026 17:28:52 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9A=20archive=20SOP.md,=20inline=20cha?= =?UTF-8?q?in-adding=20guide=20as=20code=20comment?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CONTRIBUTING.md | 2 +- SOP.md => docs/archive/SOP.md | 0 src/constants/chains.consts.ts | 7 ++++++- 3 files changed, 7 insertions(+), 2 deletions(-) rename SOP.md => docs/archive/SOP.md (100%) 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'