This repository has been archived by the owner on Sep 6, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 205
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: added q mainnet and testnet (#451)
* added q mainnet and testnet * space in symbol as metamask workaround since they expect 2-6 characters * Update qMainnet.ts * Update qTestnet.ts * Update qMainnet.ts * Update qTestnet.ts * Create twelve-rocks-glow.md --------- Co-authored-by: jxom <jakemoxey@gmail.com>
- Loading branch information
1 parent
a432a2b
commit 3846811
Showing
4 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@wagmi/chains": patch | ||
--- | ||
|
||
Added Q mainnet and testnet |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import { Chain } from './types' | ||
|
||
export const qMainnet = { | ||
id: 35441, | ||
name: 'Q Mainnet', | ||
network: 'q-mainnet', | ||
nativeCurrency: { | ||
decimals: 18, | ||
name: 'Q', | ||
symbol: 'Q', | ||
}, | ||
rpcUrls: { | ||
default: { http: ['https://rpc.q.org'] }, | ||
public: { http: ['https://rpc.q.org'] }, | ||
}, | ||
blockExplorers: { | ||
default: { | ||
name: 'Q Mainnet Explorer', | ||
url: 'https://explorer.q.org', | ||
}, | ||
}, | ||
} as const satisfies Chain |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import { Chain } from './types' | ||
|
||
export const qTestnet = { | ||
id: 35443, | ||
name: 'Q Testnet', | ||
network: 'q-testnet', | ||
nativeCurrency: { | ||
decimals: 18, | ||
name: 'Q', | ||
symbol: 'Q', | ||
}, | ||
rpcUrls: { | ||
default: { http: ['https://rpc.qtestnet.org'] }, | ||
public: { http: ['https://rpc.qtestnet.org'] }, | ||
}, | ||
blockExplorers: { | ||
default: { | ||
name: 'Q Testnet Explorer', | ||
url: 'https://explorer.qtestnet.org', | ||
}, | ||
}, | ||
testnet: true, | ||
} as const satisfies Chain |