             devModeStatusMenuItem.isEnabled = false
             menu.addItem(devModeStatusMenuItem)
             
-            menu.addItem(withTitle: "\(isDevModeEnabled ? "Disable" : "Enable") Development Mode", action: #selector(devModeClick), keyEquivalent: "d")
+            let devModeMenuItem = NSMenuItem()
+            devModeMenuItem.title = "\(isDevModeEnabled ? "Disable" : "Enable") Development Mode"
+            
+            if(!isRegTestModeEnabled && !isRegTestModeChanging) {
+            devModeMenuItem.action = #selector(devModeClick)
+            devModeMenuItem.keyEquivalent = "d"
+            }
+            
+            menu.addItem(devModeMenuItem)
+            
+            menu.addItem(NSMenuItem.separator())
+            
+            let regTestModeStatusMenuItem = NSMenuItem()
+            regTestModeStatusMenuItem.title = "Regtest Mode: \(isRegTestModeEnabled ? "Enabled" : "Disabled")"
+            menu.addItem(regTestModeStatusMenuItem)
+            
+            if(isDevModeEnabled) {
+                let regTestModeMenuItem = NSMenuItem()
+                regTestModeMenuItem.title = "\(isRegTestModeEnabled ? "Disable" : "Enable") Regtest Mode"
+                
+                if(!isRegTestModeChanging) {
+                    regTestModeMenuItem.action = #selector(regTestModeClick)
+                    regTestModeMenuItem.keyEquivalent = "r"
+                }
+                
+                menu.addItem(regTestModeMenuItem)
+            }
+
             
             menu.addItem(NSMenuItem.separator())
             

    
    func createOrRetrieveCoreWalletPassword() -> String {
        os_log("createOrRetrieveCoreWalletPassword", log: log, type: .debug)
        let serviceNameData = (keychainServiceName as NSString).utf8String
        let accountNameData = (keychainAccountName as NSString).utf8String
        

    
    var isDevModeEnabled : Bool = false
    
    var isRegTestModeEnabled : Bool = false
    var isRegTestModeChanging : Bool = false
    let regTestCoreAPIPassword = "blockstack_integration_test_api_password"
    
    var isShutdown : Bool = false
    
    let keychainServiceName = "blockstack-core-wallet-password"
