Skip to content

Commit

Permalink
add moonriver
Browse files Browse the repository at this point in the history
  • Loading branch information
maxklenk committed Nov 15, 2021
1 parent 3e5810f commit 4c4afb8
Show file tree
Hide file tree
Showing 6 changed files with 174 additions and 241 deletions.
3 changes: 3 additions & 0 deletions src/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export enum CoinKey {
HT = 'HT',
ONE = 'ONE',
FSN = 'FSN',
MOVR = 'MOVR',

// Stable coins
USDT = 'USDT',
Expand Down Expand Up @@ -36,6 +37,7 @@ export enum ChainKey {
OPT = 'opt',
ONE = 'one',
FSN = 'fsn',
MOR = 'mor',

// Testnets
ROP = 'rop',
Expand Down Expand Up @@ -63,6 +65,7 @@ export enum ChainId {
OPT = 10,
ONE = 1666600000,
FSN = 32659,
MOR = 1285,

// Testnets
ROP = 3,
Expand Down
24 changes: 24 additions & 0 deletions src/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,30 @@ export const supportedChains: Array<Chain> = [
},
},

// 1285 - Moonriver
{
key: ChainKey.MOR,
name: 'Moonriver',
coin: CoinKey.MOVR,
id: 1285,
visible: false,
tokenlistUrl:
'https://raw.githubusercontent.com/sushiswap/default-token-list/master/tokens/moonriver.json',

metamask: {
chainId: prefixChainId(1285),
blockExplorerUrls: ['https://blockscout.moonriver.moonbeam.network'],
chainName: 'Moonriver',

nativeCurrency: {
name: 'Moonriver',
symbol: 'MOVR',
decimals: 18,
},
rpcUrls: ['https://rpc.moonriver.moonbeam.network'],
},
},

// TESTNETS
// 3 - Ropsten
{
Expand Down
Loading

0 comments on commit 4c4afb8

Please sign in to comment.