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

Updated: SYSCOIN chain. Added: Rollux, RolluxTestnet, SyscoinTestnet #436

Merged
merged 9 commits into from
Aug 9, 2023
Merged
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
6 changes: 6 additions & 0 deletions .changeset/selfish-experts-lay.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@wagmi/chains": patch
---

Updated syscoin.
Added rollux, rolluxTestnet & syscoinTestnet.
28 changes: 28 additions & 0 deletions packages/chains/src/rollux.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import { Chain } from './types'

export const rollux = {
id: 570,
name: 'Rollux Mainnet',
network: 'rollux',
nativeCurrency: {
decimals: 18,
name: 'Syscoin',
symbol: 'SYS',
},
rpcUrls: {
default: {
http: ['https://rpc.rollux.com'],
websocket: ['wss://rpc.rollux.com/wss']
},
public: { http: ['https://rollux.public-rpc.com'] },
},
blockExplorers: {
default: { name: 'RolluxExplorer', url: 'https://explorer.rollux.com' },
},
contracts: {
multicall3: {
address: '0xcA11bde05977b3631167028862bE2a173976CA11',
blockCreated: 119222,
},
},
} as const satisfies Chain
28 changes: 28 additions & 0 deletions packages/chains/src/rolluxTestnet.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import { Chain } from './types'

export const rolluxTestnet = {
id: 57000,
name: 'Rollux Testnet',
network: 'rollux-testnet',
nativeCurrency: {
decimals: 18,
name: 'Syscoin',
symbol: 'SYS',
},
rpcUrls: {
default: {
http: ['https://rpc-tanenbaum.rollux.com/'],
websocket: ['wss://rpc-tanenbaum.rollux.com/wss']
},
public: { http: ['https://rpc-tanenbaum.rollux.com/'] },
},
blockExplorers: {
default: { name: 'RolluxTestnetExplorer', url: 'https://rollux.tanenbaum.io' },
},
contracts: {
multicall3: {
address: '0xcA11bde05977b3631167028862bE2a173976CA11',
blockCreated: 1813675,
},
},
} as const satisfies Chain
16 changes: 11 additions & 5 deletions packages/chains/src/syscoin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,27 @@ export const syscoin = {
name: 'Syscoin Mainnet',
network: 'syscoin',
nativeCurrency: {
decimals: 8,
decimals: 18,
name: 'Syscoin',
symbol: 'SYS',
},
rpcUrls: {
default: { http: ['https://rpc.syscoin.org'] },
public: { http: ['https://rpc.syscoin.org'] },
default: {
http: ['https://rpc.syscoin.org'],
websocket: ['wss://rpc.syscoin.org/wss']
},
public: {
http: ['https://rpc.syscoin.org'],
websocket: ['wss://rpc.syscoin.org/wss']
},
},
blockExplorers: {
default: { name: 'SyscoinExplorer', url: 'https://explorer.syscoin.org' },
},
contracts: {
multicall3: {
address: '0x000562033783B1136159E10d976B519C929cdE8e',
blockCreated: 80637,
address: '0xcA11bde05977b3631167028862bE2a173976CA11',
blockCreated: 287139,
},
},
} as const satisfies Chain
28 changes: 28 additions & 0 deletions packages/chains/src/syscoinTestnet.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import { Chain } from './types'

export const syscoinTestnet = {
id: 5700,
name: 'Syscoin Tanenbaum Testnet',
network: 'syscoin-testnet',
nativeCurrency: {
decimals: 18,
name: 'Syscoin',
symbol: 'SYS',
},
rpcUrls: {
default: {
http: ['https://rpc.tanenbaum.io'],
websocket: ['wss://rpc.tanenbaum.io/wss']
},
public: { http: ['https://rpc.tanenbaum.io'] },
},
blockExplorers: {
default: { name: 'SyscoinTestnetExplorer', url: 'https://tanenbaum.io' },
},
contracts: {
multicall3: {
address: '0xcA11bde05977b3631167028862bE2a173976CA11',
blockCreated: 271288,
},
},
} as const satisfies Chain
Loading