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

add meter/meterTestnet #484

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all 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
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
Loading