Skip to content

Commit

Permalink
Fix infura uris, add new deployed address, fix saving new address to …
Browse files Browse the repository at this point in the history
…file
  • Loading branch information
uivlis committed Sep 3, 2020
1 parent 8797a73 commit 92e73f4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
Binary file added .DS_Store
Binary file not shown.
3 changes: 3 additions & 0 deletions deployed-hmtoken/hmt.address.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"address": "0x4C18A2E51edC5043e9c4B6b0757990A4Ac13797f"
}
2 changes: 1 addition & 1 deletion migrations/2_deploy_contracts.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const path = require('path');

const HMToken = artifacts.require('./HMToken.sol');

const ADDRESS_OUTPUT_FILENAME = '/deployed-hmtoken/hmt.address.json';
const ADDRESS_OUTPUT_FILENAME = './deployed-hmtoken/hmt.address.json';

module.exports = (deployer) => {
deployer
Expand Down
8 changes: 4 additions & 4 deletions truffle.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,20 @@ module.exports = {
network_id: '*'
},
live: {
provider: () => new HDWalletProvider(MNEMONIC, `https://mainnet.infura.io/${INFURA_TOKEN}`),
provider: () => new HDWalletProvider(MNEMONIC, `https://mainnet.infura.io/v3/${INFURA_TOKEN}`),
network_id: '1',
},
kovan: {
provider: () => new HDWalletProvider(MNEMONIC, `https://kovan.infura.io/${INFURA_TOKEN}`),
provider: () => new HDWalletProvider(MNEMONIC, `https://kovan.infura.io/v3/${INFURA_TOKEN}`),
network_id: '2',
},
ropsten: {
provider: () => new HDWalletProvider(MNEMONIC, `https://ropsten.infura.io/${INFURA_TOKEN}`),
provider: () => new HDWalletProvider(MNEMONIC, `https://ropsten.infura.io/v3/${INFURA_TOKEN}`),
network_id: '3',
gas: 4700000,
},
rinkeby: {
provider: () => new HDWalletProvider(MNEMONIC, `https://rinkeby.infura.io/${INFURA_TOKEN}`),
provider: () => new HDWalletProvider(MNEMONIC, `https://rinkeby.infura.io/v3/${INFURA_TOKEN}`),
network_id: '4',
},
},
Expand Down

0 comments on commit 92e73f4

Please sign in to comment.