Skip to content

Commit add94c4

Browse files
authored
feat: add POTOS Testnet. (#4086)
add POTOS Testnet.
1 parent 31fb0f0 commit add94c4

File tree

3 files changed

+29
-0
lines changed

3 files changed

+29
-0
lines changed

.changeset/four-pugs-check.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"viem": patch
3+
---
4+
5+
Added POTOS Testnet.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
import { defineChain } from '../../utils/chain/defineChain.js'
2+
3+
export const potosTestnet = /*#__PURE__*/ defineChain({
4+
id: 60600,
5+
name: 'POTOS Testnet',
6+
nativeCurrency: {
7+
decimals: 18,
8+
name: 'POTOS Token',
9+
symbol: 'POT',
10+
},
11+
rpcUrls: {
12+
default: {
13+
http: ['https://rpc-testnet.potos.hk'],
14+
},
15+
},
16+
blockExplorers: {
17+
default: {
18+
name: 'POTOS Testnet explorer',
19+
url: 'https://scan-testnet.potos.hk',
20+
},
21+
},
22+
testnet: true,
23+
})

src/chains/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -463,6 +463,7 @@ export { polygonZkEvmTestnet } from './definitions/polygonZkEvmTestnet.js'
463463
export { polynomial } from './definitions/polynomial.js'
464464
export { polynomialSepolia } from './definitions/polynomialSepolia.js'
465465
export { potos } from './definitions/potos.js'
466+
export { potosTestnet } from './definitions/potosTestnet.js'
466467
export { premiumBlockTestnet } from './definitions/premiumBlock.js'
467468
export { pulsechain } from './definitions/pulsechain.js'
468469
export { pulsechainV4 } from './definitions/pulsechainV4.js'

0 commit comments

Comments
 (0)