Skip to content

Commit

Permalink
Change from MainNet to TestNet
Browse files Browse the repository at this point in the history
Change URL & chainID from MainNet to Ropsten TestNet
  • Loading branch information
dangell7 committed Nov 9, 2018
1 parent 55ea679 commit cc50150
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Trust/Settings/Types/RPCServer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ enum RPCServer {

var chainID: Int {
switch self {
case .main: return 1
case .main: return 3
case .poa: return 99
case .classic: return 61
case .callisto: return 820
Expand Down Expand Up @@ -78,7 +78,7 @@ enum RPCServer {
var rpcURL: URL {
let urlString: String = {
switch self {
case .main: return "https://mainnet.infura.io/llyrtzQ3YhkdESt2Fzrk"
case .main: return "https://ropsten.infura.io/llyrtzQ3YhkdESt2Fzrk"
case .classic: return "https://etc-geth.0xinfra.com"
case .callisto: return "https://clo-geth.0xinfra.com"
case .poa: return "https://poa.infura.io"
Expand All @@ -91,7 +91,7 @@ enum RPCServer {
var remoteURL: URL {
let urlString: String = {
switch self {
case .main: return "https://api.trustwalletapp.com"
case .main: return "https://ropsten.trustwalletapp.com"
case .classic: return "https://classic.trustwalletapp.com"
case .callisto: return "https://callisto.trustwalletapp.com"
case .poa: return "https://poa.trustwalletapp.com"
Expand Down

0 comments on commit cc50150

Please sign in to comment.