diff --git a/node/src/chain_spec/gdev.rs b/node/src/chain_spec/gdev.rs
index e8f1b157f5bca6bb72912b74b964fe5d609aa47c..e1c9ea534de8efdbd65876dcb482de597f316fed 100644
--- a/node/src/chain_spec/gdev.rs
+++ b/node/src/chain_spec/gdev.rs
@@ -101,6 +101,54 @@ pub fn development_chain_spec() -> Result<ChainSpec, String> {
     ))
 }
 
+pub fn local_testnet_config(
+    initial_authorities_len: usize,
+    initial_smiths_len: usize,
+    initial_identities_len: usize,
+) -> Result<ChainSpec, String> {
+    let wasm_binary = WASM_BINARY.ok_or_else(|| "wasm not available".to_string())?;
+
+    Ok(ChainSpec::from_genesis(
+        // Name
+        "Äždev Local Testnet",
+        // ID
+        "gdev_local_testnet",
+        ChainType::Local,
+        move || {
+            gen_genesis_conf(
+                wasm_binary,
+                // Initial authorities len
+                initial_authorities_len,
+                // Initial smiths len,
+                initial_smiths_len,
+                // Initial identities len
+                initial_identities_len,
+                // Sudo account
+                get_account_id_from_seed::<sr25519::Public>("Alice"),
+                true,
+            )
+        },
+        // Bootnodes
+        vec![],
+        // Telemetry
+        None,
+        // Protocol ID
+        None,
+        // Properties
+        Some(
+            serde_json::json!({
+                    "tokenDecimals": TOKEN_DECIMALS,
+                    "tokenSymbol": TOKEN_SYMBOL,
+            })
+            .as_object()
+            .expect("must be a map")
+            .clone(),
+        ),
+        // Extensions
+        None,
+    ))
+}
+
 fn gen_genesis_conf(
     wasm_binary: &[u8],
     initial_authorities_len: usize,
diff --git a/node/src/command.rs b/node/src/command.rs
index b0e3847fa761e853145f89aff094e693df0370c3..4a671429fe80eb882ecc54bfb6ec30674c1a3825 100644
--- a/node/src/command.rs
+++ b/node/src/command.rs
@@ -54,15 +54,38 @@ impl SubstrateCli for Cli {
     fn load_spec(&self, id: &str) -> Result<Box<dyn sc_service::ChainSpec>, String> {
         Ok(match id {
             #[cfg(feature = "gdev")]
-            "dev" | "gdev" => Box::new(chain_spec::gdev::development_chain_spec()?),
+            "dev" => Box::new(chain_spec::gdev::development_chain_spec()?),
+            #[cfg(feature = "gdev")]
+            "local" => Box::new(chain_spec::gdev::local_testnet_config(1, 3, 4)?),
+            #[cfg(feature = "gdev")]
+            "local2" => Box::new(chain_spec::gdev::local_testnet_config(2, 3, 4)?),
+            #[cfg(feature = "gdev")]
+            "local3" => Box::new(chain_spec::gdev::local_testnet_config(3, 3, 4)?),
+            #[cfg(feature = "gdev")]
+            "local4" => Box::new(chain_spec::gdev::local_testnet_config(4, 4, 5)?),
+            #[cfg(feature = "gdev")]
+            "gdev" => {
+                unimplemented!()
+                //Box::new(chain_spec::gdev::ChainSpec::from_json_file(file_path)?)
+            }
             #[cfg(feature = "gtest")]
             "gtest_dev" => Box::new(chain_spec::gtest::development_chain_spec()?),
             #[cfg(feature = "gtest")]
-            "local" | "gtest_local" => Box::new(chain_spec::gtest::local_testnet_config(2, 3)?),
+            "gtest_local" => Box::new(chain_spec::gtest::local_testnet_config(2, 3)?),
+            #[cfg(feature = "gtest")]
+            "gtest_local3" => Box::new(chain_spec::gtest::local_testnet_config(3, 4)?),
             #[cfg(feature = "gtest")]
-            "local3" | "gtest_local3" => Box::new(chain_spec::gtest::local_testnet_config(3, 4)?),
+            "gtest_local4" => Box::new(chain_spec::gtest::local_testnet_config(4, 5)?),
             #[cfg(feature = "gtest")]
-            "local4" | "gtest_local4" => Box::new(chain_spec::gtest::local_testnet_config(4, 5)?),
+            "gtest" => {
+                unimplemented!()
+                //Box::new(chain_spec::gtest::ChainSpec::from_json_file(file_path)?)
+            }
+            #[cfg(feature = "g1")]
+            "g1" => {
+                unimplemented!()
+                //Box::new(chain_spec::g1::ChainSpec::from_json_file(file_path)?)
+            }
             // Specs provided as json specify which runtime to use in their file name. For example,
             // `g1-custom.json` uses the g1 runtime.
             // `gdev-workshop.json` uses the gdev runtime.