-
-
Notifications
You must be signed in to change notification settings - Fork 913
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: add bitkub chain * Update bitkub.ts * Update bitkubTestnet.ts * Update index.ts * Update index.ts --------- Co-authored-by: np <np@np.np> Co-authored-by: jxom <j@wevm.dev>
- Loading branch information
1 parent
0c1c436
commit 05c166e
Showing
4 changed files
with
47 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 @@ | ||
--- | ||
"viem": patch | ||
--- | ||
|
||
Added Bitkub 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,19 @@ | ||
import { defineChain } from '../../utils/chain/defineChain.js' | ||
|
||
export const bitkub = /*#__PURE__*/ defineChain({ | ||
id: 96, | ||
name: 'Bitkub', | ||
nativeCurrency: { name: 'Bitkub', symbol: 'KUB', decimals: 18 }, | ||
rpcUrls: { | ||
default: { | ||
http: ['https://rpc.bitkubchain.io'], | ||
}, | ||
}, | ||
blockExplorers: { | ||
default: { | ||
name: 'Bitkub Chain Mainnet Explorer', | ||
url: 'https://www.bkcscan.com', | ||
apiUrl: 'https://www.bkcscan.com/api', | ||
}, | ||
}, | ||
}) |
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,21 @@ | ||
import { defineChain } from '../../utils/chain/defineChain.js' | ||
|
||
export const bitkubTestnet = /*#__PURE__*/ defineChain({ | ||
id: 25925, | ||
name: 'Bitkub Testnet', | ||
network: 'Bitkub Testnet', | ||
nativeCurrency: { name: 'Bitkub Test', symbol: 'tKUB', decimals: 18 }, | ||
rpcUrls: { | ||
default: { | ||
http: ['https://rpc-testnet.bitkubchain.io'], | ||
}, | ||
}, | ||
blockExplorers: { | ||
default: { | ||
name: 'Bitkub Chain Testnet Explorer', | ||
url: 'https://testnet.bkcscan.com', | ||
apiUrl: 'https://testnet.bkcscan.com/api', | ||
}, | ||
}, | ||
testnet: true, | ||
}) |
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