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 5 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
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
Added Bear Network Mainnet and Testnet
Added Bear Network Mainnet and Testnet

19 changes: 19 additions & 0 deletions packages/chains/src/BearNetworkChainMainnet.ts
BearNetwork-BRNKC marked this conversation as resolved.
Show resolved Hide resolved
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
BearNetwork-BRNKC marked this conversation as resolved.
Show resolved Hide resolved
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