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

Commit

Permalink
feat: update SYSCOIN chain. add: Rollux, RolluxTestnet, SyscoinTestnet (
Browse files Browse the repository at this point in the history
#436)

* Updated: SYSCOIN chain. Added: Rollux, RolluxTestnet, SyscoinTestnet

* Add changeset

* Add ANKR, public and WSS for Rollux and Syscoin.

* Create shiny-apes-kneel.md

* Update rollux.ts

* Delete shiny-apes-kneel.md

* Update selfish-experts-lay.md

* Update syscoin.ts

* Update syscoin.ts

---------

Co-authored-by: Fernando Paredes Garcia <[email protected]>
Co-authored-by: jxom <[email protected]>
  • Loading branch information
3 people committed Aug 9, 2023
1 parent cd68471 commit 1cf72bc
Show file tree
Hide file tree
Showing 5 changed files with 101 additions and 5 deletions.
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

0 comments on commit 1cf72bc

Please sign in to comment.