Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 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
5 changes: 5 additions & 0 deletions .changeset/fresh-words-learn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'thirdweb': minor
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be a 'patch' change, not 'minor'. i'll fix it for you

---

Add Somnia Testnet
18 changes: 18 additions & 0 deletions packages/thirdweb/src/chains/chain-definitions/somniaTestnet.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import { defineChain } from '../utils.js';

/**
* @chain
*/
export const somniaTestnet = /*@__PURE__*/ defineChain({
blockExplorers: [
{
apiUrl: 'https://shannon-explorer.somnia.network/api',
name: 'Somnia Testnet Explorer',
url: 'https://shannon-explorer.somnia.network/',
},
],
id: 50312,
name: 'Somnia Testnet',
nativeCurrency: { decimals: 18, name: 'Somnia Testnet Token', symbol: 'STT' },
testnet: true,
});