Commit b28c944
committed
[SDK] Feature: Add Mode chain definition (#5982)
---
title: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes"
---
If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000):
## Notes for the reviewer
Anything important to call out? Be sure to also clarify these in your comments.
## How to test
Unit tests, playground, etc.
<!-- start pr-codex -->
---
## PR-Codex overview
This PR introduces a new blockchain chain called `mode`, adding it to the `thirdweb` package.
### Detailed summary
- Added `mode` as a predefined chain in the `thirdweb` package.
- Exported `mode` from `packages/thirdweb/src/exports/chains.ts`.
- Defined `mode` in `packages/thirdweb/src/chains/chain-definitions/mode.ts` with properties like `id`, `name`, `nativeCurrency`, and `blockExplorers`.
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`
<!-- end pr-codex -->1 parent 8e82ec8 commit b28c944
File tree
3 files changed
+22
-0
lines changed- .changeset
- packages/thirdweb/src
- chains/chain-definitions
- exports
3 files changed
+22
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| 80 | + | |
80 | 81 | | |
0 commit comments