Skip to content
This repository has been archived by the owner on Sep 6, 2023. It is now read-only.

Add BRNKC Mainnet and BRNKC Testnet #300

Merged
merged 17 commits into from
May 23, 2023
Merged
Show file tree
Hide file tree
Changes from 15 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/eleven-trainers-yell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@wagmi/chains': patch
---

Added Bear Network Mainnet and Testnet
19 changes: 19 additions & 0 deletions packages/chains/src/bearNetworkChainMainnet.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import { Chain } from './types'

export const bearNetworkChainMainnet = {
id: 641230,
name: 'Bear Network Chain Mainnet',
network: 'BearNetworkChainMainnet',
nativeCurrency: {
decimals: 18,
name: 'BearNetworkChain',
symbol: 'BRNKC',
},
rpcUrls: {
public: { http: ['https://brnkc-mainnet.bearnetwork.net'] },
default: { http: ['https://brnkc-mainnet.bearnetwork.net'] },
},
blockExplorers: {
default: { name: 'BrnkScan', url: 'https://brnkscan.bearnetwork.net' },
},
} as const satisfies Chain
23 changes: 23 additions & 0 deletions packages/chains/src/bearNetworkChainTestnet.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import { Chain } from './types'

export const bearNetworkChainTestnet = {
id: 751230,
name: 'Bear Network Chain Testnet',
network: 'BearNetworkChainTestnet',
nativeCurrency: {
decimals: 18,
name: 'tBRNKC',
symbol: 'tBRNKC',
},
rpcUrls: {
public: { http: ['https://brnkc-test.bearnetwork.net'] },
default: { http: ['https://brnkc-test.bearnetwork.net'] },
},
blockExplorers: {
default: {
name: 'BrnkTestScan',
url: 'https://brnktest-scan.bearnetwork.net',
},
},
testnet: true,
} as const satisfies Chain
2 changes: 2 additions & 0 deletions packages/chains/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ export { bronos } from './bronos'
export { bronosTestnet } from './bronosTestnet'
export { bsc } from './bsc'
export { bscTestnet } from './bscTestnet'
export { bearNetworkChainMainnet } from './bearNetworkChainMainnet'
export { bearNetworkChainTestnet } from './bearNetworkChainTestnet'
Copy link
Member

Choose a reason for hiding this comment

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

Should be below baseGoerli to be alphabetized

export { canto } from './canto'
export { celo } from './celo'
export { celoAlfajores } from './celoAlfajores'
Expand Down