diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 00000000..b19f7696 Binary files /dev/null and b/.DS_Store differ diff --git a/deployed-hmtoken/hmt.address.json b/deployed-hmtoken/hmt.address.json new file mode 100644 index 00000000..3ef41335 --- /dev/null +++ b/deployed-hmtoken/hmt.address.json @@ -0,0 +1,3 @@ +{ + "address": "0x4C18A2E51edC5043e9c4B6b0757990A4Ac13797f" +} \ No newline at end of file diff --git a/migrations/2_deploy_contracts.js b/migrations/2_deploy_contracts.js index cdef67b5..bce9ff83 100644 --- a/migrations/2_deploy_contracts.js +++ b/migrations/2_deploy_contracts.js @@ -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 diff --git a/truffle.js b/truffle.js index 70d68185..9d86d782 100644 --- a/truffle.js +++ b/truffle.js @@ -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', }, },