Skip to content

Commit

Permalink
Add Rollux (570) and Testnet (5700) (#1076)
Browse files Browse the repository at this point in the history
* Remove duplicated entry for Syscoin Tanenbaum.

* Add test for Rollux Tanenbaum (testnet).

* Add test for Rollux Mainnet.

* Add Rollux Tanenbaum (testnet).

* Add Rollux Mainnet.

* Clean-up.

* Remove unnecessary RPC URLs.

---------

Co-authored-by: Fernando Paredes Garcia <[email protected]>
  • Loading branch information
fernando-syslabs and develCuy authored Jun 23, 2023
1 parent 941886b commit 410b300
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 6 deletions.
12 changes: 12 additions & 0 deletions src/sourcify-chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,18 @@ const sourcifyChainsExtensions: SourcifyChainsExtensionsObject = {
contractFetchAddress: "https://tanenbaum.io/" + BLOCKSCOUT_SUFFIX,
txRegex: getBlockscoutRegex(),
},
"570": {
supported: true,
monitored: false,
contractFetchAddress: "https://explorer.rollux.com/" + BLOCKSCOUT_SUFFIX,
txRegex: getBlockscoutRegex(),
},
"57000": {
supported: true,
monitored: false,
contractFetchAddress: "https://rollux.tanenbaum.io/" + BLOCKSCOUT_SUFFIX,
txRegex: getBlockscoutRegex(),
},
"40": {
supported: true,
monitored: false,
Expand Down
21 changes: 15 additions & 6 deletions test/chains/chain-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -283,13 +283,22 @@ describe("Test Supported Chains", function () {
"shared/1_Storage.metadata.json"
);

// Has contracts to be fetched from IPFS
// Rollux Mainnet
verifyContract(
"0xB2d0641fc8863514B6533b129fD744200eE17D29",
"57",
"Syscoin Tanenbaum Testnet",
["57/Token.sol"],
"57/TestToken.json"
"0x1187124eC74e2A2F420540C338186dD702cF6340",
"570",
"Rollux Mainnet",
["shared/1_Storage.sol"],
"shared/1_Storage.metadata.json"
);

// Rollux Tanenbaum (testnet)
verifyContract(
"0x736bfcA6a599bF0C3D499F8a0bC5ab2bA2030AC6",
"57000",
"Rollux Tanenbaum",
["shared/1_Storage.sol"],
"shared/1_Storage.metadata.json"
);

verifyContract(
Expand Down

0 comments on commit 410b300

Please sign in to comment.