aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'app/scripts')
-rw-r--r--app/scripts/controllers/network/enums.js4
-rw-r--r--app/scripts/controllers/transactions/index.js2
-rw-r--r--app/scripts/lib/resolver.js2
-rw-r--r--app/scripts/platforms/extension.js2
4 files changed, 5 insertions, 5 deletions
diff --git a/app/scripts/controllers/network/enums.js b/app/scripts/controllers/network/enums.js
index fd00a60e..7ac40ca7 100644
--- a/app/scripts/controllers/network/enums.js
+++ b/app/scripts/controllers/network/enums.js
@@ -6,7 +6,7 @@ const TESTNET = 'testnet'
const LOCALHOST = 'localhost'
const MAINNET_CODE = 1
-const TESTNET_CODE = 237
+const TESTNET_CODE = 238
const ROPSTEN_CODE = 3
const RINKEYBY_CODE = 4
const KOVAN_CODE = 42
@@ -17,7 +17,7 @@ const KOVAN_DISPLAY_NAME = 'Kovan'
const MAINNET_DISPLAY_NAME = 'Main DEXON Network'
const TESTNET_DISPLAY_NAME = 'DEXON Test Network'
-const TESTNET_RPC_URL = 'http://testnet.dexon.org:8545'
+const TESTNET_RPC_URL = 'https://api-testnet.dexscan.org/v1/network/rpc'
module.exports = {
ROPSTEN,
diff --git a/app/scripts/controllers/transactions/index.js b/app/scripts/controllers/transactions/index.js
index e8ef5595..27d1ef86 100644
--- a/app/scripts/controllers/transactions/index.js
+++ b/app/scripts/controllers/transactions/index.js
@@ -112,7 +112,7 @@ class TransactionController extends EventEmitter {
const getChainId = parseInt(networkState)
if (Number.isNaN(getChainId)) {
// default to DEXON testnet
- return 237
+ return 238
} else {
return getChainId
}
diff --git a/app/scripts/lib/resolver.js b/app/scripts/lib/resolver.js
index 6719a6fc..05399e72 100644
--- a/app/scripts/lib/resolver.js
+++ b/app/scripts/lib/resolver.js
@@ -41,7 +41,7 @@ function getProvider (type) {
case 'mainnet':
return 'https://mainnet.infura.io/'
case 'testnet':
- return 'http://testnet.dexon.org:8545/'
+ return 'https://api-testnet.dexscan.org/v1/network/rpc'
default:
return 'http://localhost:8545/'
}
diff --git a/app/scripts/platforms/extension.js b/app/scripts/platforms/extension.js
index e15f5d5b..cd756412 100644
--- a/app/scripts/platforms/extension.js
+++ b/app/scripts/platforms/extension.js
@@ -77,7 +77,7 @@ class ExtensionPlatform {
const nonce = parseInt(txMeta.txParams.nonce, 16)
const title = 'Confirmed transaction'
- const message = `Transaction ${nonce} confirmed! View on DexScan`
+ const message = `Transaction ${nonce} confirmed! View on DEXSCAN`
this._showNotification(title, message, url)
}