diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2018-11-10 16:23:04 +0800 |
---|---|---|
committer | Jimmy Hu <jimmy.hu@dexon.org> | 2018-11-10 16:34:14 +0800 |
commit | b3f8c45724e06ffa1f5330a1998f00765e5b4986 (patch) | |
tree | dc4da7a817ed098e0abee2dadff24d85adf83e31 /truffle.js | |
parent | 505f557f6ef5267798721116d34c5fe9b4bdc3f1 (diff) | |
download | dexon-lottery-b3f8c45724e06ffa1f5330a1998f00765e5b4986.tar dexon-lottery-b3f8c45724e06ffa1f5330a1998f00765e5b4986.tar.gz dexon-lottery-b3f8c45724e06ffa1f5330a1998f00765e5b4986.tar.bz2 dexon-lottery-b3f8c45724e06ffa1f5330a1998f00765e5b4986.tar.lz dexon-lottery-b3f8c45724e06ffa1f5330a1998f00765e5b4986.tar.xz dexon-lottery-b3f8c45724e06ffa1f5330a1998f00765e5b4986.tar.zst dexon-lottery-b3f8c45724e06ffa1f5330a1998f00765e5b4986.zip |
Add DEXON testnet for migration
Diffstat (limited to 'truffle.js')
-rw-r--r-- | truffle.js | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -12,7 +12,18 @@ * }, */ +var HDWalletProvider = require("truffle-hdwallet-provider"); +var secret = require('./secret'); +var mnemonic = secret.mnemonic; + module.exports = { // See <http://truffleframework.com/docs/advanced/configuration> // to customize your Truffle configuration! + networks: { + testnet: { + provider: new HDWalletProvider(mnemonic, + "http://testnet.dexon.org:8545"), + network_id: "*" + } + } }; |