You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e6f6519
Browse filesBrowse the repository at this point in the historyBrowse files
Merge branch 'main' into fix/layout-gutters-and-theme-audit
Both sides of snippets/network-tabs.jsx changed the same label rows: main
(#79) split "Chain ID" into distinct EVM and Cosmos chain ID entries using
the labelClass/valueClass variables, while this branch removed those
variables because Mintlify only compiles Tailwind classes written literally
inside className. Kept main's labels and the new Cosmos chain ID rows with
the utility lists written out as literals.
snippets/sandbox-embed.jsx: kept main's "Sei Testnet" capitalisation in the
usage comment without re-adding the &theme=dark parameter this branch drops,
since SandboxEmbed now sets theme from the docs toggle.
snippets/nonce-lane-diagrams.jsx: the throughput charts #78 added after this
branch forked hardcoded the ceiling line to #f59e0b, the dark value of
--sei-diagram-warning (2.1:1 on the light page). Routed them through the
token like the other diagrams so dark mode is unchanged and light mode uses
Co-authored-by: Cursor <cursoragent@cursor.com>
#b45309.
Copy file name to clipboardExpand all lines: AGENTS.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@
14
14
-**Sei Giga** is the next-generation architecture upgrade
15
15
-**seid** is the CLI binary; always lowercase and code-formatted
16
16
-**sei-js** (lowercase, hyphenated) for the JS/TS SDK
17
-
- Use **Sei Mainnet** (EVM chain ID `1329`) and **Sei Testnet** (EVM chain ID `1328`) in reader-facing copy. Keep the literal identifiers `pacific-1` and `atlantic-2` only where technically required, especially in node-operator instructions, CLI or config values, API paths, and registry keys.
17
+
- Use **Sei Mainnet** (EVM chain ID `1329`) and **Sei Testnet** (EVM chain ID `1328`) in reader-facing copy. Both are proper nouns, so "Sei mainnet" and "Sei testnet" are wrong. Keep the literal identifiers `pacific-1`(mainnet) and `atlantic-2` (testnet) only where technically required, especially in node-operator instructions, CLI or config values, API paths, and registry keys.
18
18
- Precompiles live at specific addresses — always reference exact address when mentioning
19
19
-**Twin Turbo Consensus** and **parallelization engine** are proper nouns
20
20
- Prefer "dApp" over "app" when the context is blockchain
@@ -215,7 +215,7 @@ For Sei-native DeFi actions (swaps on Symphony/DragonSwap, staking via Silo, len
215
215
216
216
### Known Quirks on Sei
217
217
218
-
Verified by running AgentKit `0.10.4` against Sei testnet (`chain 1328`). These quirks sit in AgentKit's network and action-provider layer and apply to **both**`ViemWalletProvider` and `PrivyWalletProvider`:
218
+
Verified by running AgentKit `0.10.4` against Sei Testnet (`chain 1328`). These quirks sit in AgentKit's network and action-provider layer and apply to **both**`ViemWalletProvider` and `PrivyWalletProvider`:
219
219
220
220
-**Balances are labeled "ETH" in action output.**`walletActionProvider` hard-codes the native-currency symbol, so `get_wallet_details` returns strings like `Native Balance: 512993.50 ETH` and `native_transfer` responses say `Transferred 0.05 ETH to 0x...` even on Sei. Signing and arithmetic are unaffected — it's a display-only quirk. If the LLM will quote balances or transfer confirmations to users, add a post-processing step or a system-prompt instruction to rewrite `ETH` → `SEI` when `chain_id == 1329 || 1328`.
221
221
-**`networkId` is `undefined`.** Coinbase's internal `CHAIN_ID_TO_NETWORK_ID` map only includes Ethereum, Polygon, Base, Arbitrum, and Optimism (mainnet + testnet). Sei's chain IDs aren't in it, so `walletProvider.getNetwork()` returns `{ protocolFamily: 'evm', chainId: '1328', networkId: undefined }`. This is harmless for signing/sending, but **any action provider that branches on `networkId`** will refuse to run on Sei. In practice, `AgentKit.from({...})` prints a warning like `The following action providers are not supported on the current network and will be unavailable: weth, x402` and silently drops them — if you expect an action and it's missing from `agentKit.getActions()`, check this warning first.
@@ -273,7 +273,7 @@ Response:
273
273
</Step>
274
274
275
275
<Steptitle="Send a transaction on Sei">
276
-
Use `eip155:1329` (CAIP-2 format) to target Sei mainnet:
276
+
Use `eip155:1329` (CAIP-2 format) to target Sei Mainnet:
277
277
278
278
```bash
279
279
curl --request POST https://api.privy.io/v1/wallets/wallet_abc123/rpc \
Verified by running `@privy-io/server-auth``1.32.5` against Sei testnet (`eip155:1328`):
404
+
Verified by running `@privy-io/server-auth``1.32.5` against Sei Testnet (`eip155:1328`):
405
405
406
406
-**`value` must be a hex string, not a `BigInt`.** Privy's request signer uses RFC 8785 JSON canonicalization (`canonicalize`), which throws `TypeError: Do not know how to serialize a BigInt` if you pass a `BigInt` in any field of the `transaction` object. Convert viem's `parseEther(...)` output with `'0x' + parseEther('0.01').toString(16)` before sending.
407
407
-**`authorizationKeyIds` on `createWallet` expects the public-key registration ID, not the dashboard key ID.** Passing the ID shown next to a key in the Privy dashboard can fail with `400 Invalid authorization key IDs`. If you only need an app-owned wallet (app credentials + `authorizationPrivateKey` for request signing), omit `authorizationKeyIds` — the wallet is still fully operable.
Each `cast` diagnostic above is a plain read-only JSON-RPC call. Run the same four against Sei mainnet right here — the example address (`0xAa55…3d96`) is the sender from the `cast tx` output earlier on this page.
173
+
Each `cast` diagnostic above is a plain read-only JSON-RPC call. Run the same four against Sei Mainnet right here — the example address (`0xAa55…3d96`) is the sender from the `cast tx` output earlier on this page.
174
174
175
175
<RunSnippetmethod="eth_chainId"network="mainnet"title="cast chain-id"description="eth_chainId — decodes to 1329. A mismatch here is the most common cause of a rejected transaction." />
0 commit comments