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

Commit

Permalink
add meter/meterTestnet
Browse files Browse the repository at this point in the history
  • Loading branch information
simonzg committed Aug 21, 2023
1 parent 849d7a5 commit f240c93
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 0 deletions.
22 changes: 22 additions & 0 deletions packages/chains/src/meter.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import { Chain } from './types'

export const meter = {
id: 82,
name: 'Meter',
network: 'meter',
nativeCurrency: {
decimals: 18,
name: 'Meter Stable',
symbol: 'MTR',
},
rpcUrls: {
default: { http: ['https://rpc.meter.io'] },
public: { http: ['https://rpc.meter.io'] },
},
blockExplorers: {
etherscan: { name: 'MeterScan', url: 'https://scan.meter.io' },
default: { name: 'MeterScan', url: 'https://scan.meter.io' },
},
contracts: {
},
} as const satisfies Chain
23 changes: 23 additions & 0 deletions packages/chains/src/meterTestnet.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import { Chain } from './types'

export const meterTestnet = {
id: 83,
name: 'Meter Testnet',
network: 'meterTestnet',
nativeCurrency: {
decimals: 18,
name: 'Meter Stable',
symbol: 'MTR',
},
rpcUrls: {
default: { http: ['https://rpctest.meter.io'] },
public: { http: ['https://rpctest.meter.io'] },
},
blockExplorers: {
etherscan: { name: 'MeterScan', url: 'https://scan-warringstakes.meter.io' },
default: { name: 'MeterScan', url: 'https://scan-warringstakes.meter.io' },
},
contracts: {
},
testnet:true
} as const satisfies Chain

0 comments on commit f240c93

Please sign in to comment.