diff --git a/README.md b/README.md index a92cd51a..cb5ec8d5 100644 --- a/README.md +++ b/README.md @@ -249,8 +249,17 @@ HMToken - 0xd3a31d57fdd790725d0f6b78095f62e8cd4ab317 KVStore - 0x7676F326f1e30E96a76B7F1a860d56A9ac988a7d ``` +## Skale deployment + +``` +Escrow Factory - 0x1cE8d1820D60fF792bd6E59EbFf3C9b1089808c0 +HMToken - 0xa91B2C7d9704aeE8918460fc4375866e2c415A67 +KVStore - 0xb251C9F9276d9EB0B2F4C6a7703AE094e0999BB6 +``` + ## Maintainers * Polygon : [foufrix](https://github.com/foufrix) * Moonbeam: [menezesphill](https://github.com/menezesphill) * Binance Smart Chain: [leetdev](https://github.com/leetdev) +* Skale: [bardiaziz](https://github.com/AzizBardi) diff --git a/escrow-dashboard/src/constants/networkConstants.tsx b/escrow-dashboard/src/constants/networkConstants.tsx index f5db89d2..ac587425 100644 --- a/escrow-dashboard/src/constants/networkConstants.tsx +++ b/escrow-dashboard/src/constants/networkConstants.tsx @@ -91,5 +91,16 @@ export const networkMap: INetworkMap = { 'https://api.thegraph.com/subgraphs/name/humanprotocol/bsctest', showTokenStats: true, }, + skale: { + title: 'Skale Human Protocol Chain', + key: 'skale', + scanner: 'https://wan-red-ain.explorer.mainnet.skalenodes.com/', + rpcUrl: 'https://mainnet.skalenodes.com/v1/wan-red-ain', + defaultFactoryAddr: '0x1cE8d1820D60fF792bd6E59EbFf3C9b1089808c0', + hmtAddr: '0xa91B2C7d9704aeE8918460fc4375866e2c415A67', + graphqlClientUrl: 'https://api.thegraph.com/', + // the graph is not implemented yet + showTokenStats: false, + }, }; export const networks = Object.values(networkMap).map((network) => network); diff --git a/truffle.js b/truffle.js index 3b52b713..93330ed4 100644 --- a/truffle.js +++ b/truffle.js @@ -38,8 +38,8 @@ module.exports = { network_id: '1287', }, skale: { - provider: () => new HDWalletProvider(MNEMONIC, 'https://humanprotocol-integration.skale.network', 0, 10), - network_id: '344435', + provider: () => new HDWalletProvider(MNEMONIC, 'https://mainnet.skalenodes.com/v1/wan-red-ain'), + network_id: '1273227453', }, mumbai: { provider: () => new HDWalletProvider(MNEMONIC, `https://polygon-mumbai.infura.io/v3/${INFURA_TOKEN}`),