Skip to content
This repository was archived by the owner on Feb 16, 2023. It is now read-only.
Open
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
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,23 @@ HMToken - 0xd3a31d57fdd790725d0f6b78095f62e8cd4ab317
KVStore - 0x7676F326f1e30E96a76B7F1a860d56A9ac988a7d
```

## Avalanche Fuji Testnet deployment
```
Escrow Factory - 0xfb4469201951C3B9a7F1996c477cb7BDBEcE0A88
HMToken - 0x9406d5c635AD22b0d76c75E52De57A2177919ca3
KVStore - 0xd232c1426CF0653cE8a71DC98bCfDf10c471c114
```

## Avalanche Mainnet deployment
```
Escrow Factory - 0x9767a578ba7a5FA1563c8229943cB01cd8446BB4
HMToken - 0x12365293cb6477d4fc2686e46BB97E3Fb64f1550
KVStore - 0x4B79eaD28F52eD5686bf0e379717e85fc7aD10Df
```

## Maintainers

* Polygon : [foufrix](https://github.com/foufrix)
* Moonbeam: [menezesphill](https://github.com/menezesphill)
* Binance Smart Chain: [leetdev](https://github.com/leetdev)
* Avalanche: [hrik2001](https://github.com/hrik2001)
22 changes: 22 additions & 0 deletions escrow-dashboard/src/constants/networkConstants.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,5 +91,27 @@ export const networkMap: INetworkMap = {
'https://api.thegraph.com/subgraphs/name/humanprotocol/bsctest',
showTokenStats: true,
},
avalancheTestnet: {
title: 'Fuji C-Chain',
key: 'avalancheTestnet',
scanner: 'https://testnet.snowtrace.io',
rpcUrl: 'https://api.avax-test.network/ext/C/rpc',
defaultFactoryAddr: '0xfb4469201951C3B9a7F1996c477cb7BDBEcE0A88',
hmtAddr: '0x9406d5c635AD22b0d76c75E52De57A2177919ca3',
graphqlClientUrl: 'https://api.thegraph.com',
// the graph is not implemented yet
showTokenStats: false,
},
avalanche: {
title: 'Avalanche C-Chain Mainnet',
key: 'avalanche',
scanner: 'https://snowtrace.io',
rpcUrl: 'https://api.avax.network/ext/bc/C/rpc',
defaultFactoryAddr: '0x9767a578ba7a5FA1563c8229943cB01cd8446BB4',
hmtAddr: '0x12365293cb6477d4fc2686e46BB97E3Fb64f1550',
graphqlClientUrl: 'https://api.thegraph.com',
// the graph is not implemented yet
showTokenStats: false,
},
};
export const networks = Object.values(networkMap).map((network) => network);
16 changes: 16 additions & 0 deletions truffle.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,22 @@ module.exports = {
timeoutBlocks: 200,
skipDryRun: true,
},
avalancheTestnet: {
provider: () => new HDWalletProvider(MNEMONIC, `https://avalanche-fuji.infura.io/v3/${INFURA_TOKEN}`),
network_id: 43113,
confirmations: 2,
networkCheckTimeout: 10000,
timeoutBlocks: 200,
skipDryRun: true,
},
avalanche: {
provider: () => new HDWalletProvider(MNEMONIC, `https://avalanche-mainnet.infura.io/v3/${INFURA_TOKEN}`),
network_id: 43113,
confirmations: 2,
networkCheckTimeout: 10000,
timeoutBlocks: 200,
skipDryRun: true,
},
},
compilers: {
solc: {
Expand Down