pub fn development_config() -> Result<ChainSpec, String> {
	let mut properties = serde_json::map::Map::new();
	properties.insert("tokenSymbol".into(), "MBT".into());
	properties.insert("tokenDecimals".into(), 18.into());
	Ok(ChainSpec::from_genesis(
		"Development",
		"dev",
		ChainType::Development,
		move || {
			testnet_genesis(
				vec![authority_keys_from_seed("Alice")],
				get_account_id_from_seed::<sr25519::Public>("Alice"),
				vec![
					get_account_id_from_seed::<sr25519::Public>("Alice"),
					get_account_id_from_seed::<sr25519::Public>("Bob"),
					get_account_id_from_seed::<sr25519::Public>("Dave"),
					get_account_id_from_seed::<sr25519::Public>("Charlie"),
					get_account_id_from_seed::<sr25519::Public>("Eve"),
					get_account_id_from_seed::<sr25519::Public>("Ferdie"),
				],
				vec![get_account_id_from_seed::<sr25519::Public>("Ferdie")],
			)
		},
		vec![],
		None,
		None,
		None,
		Some(properties),
		None,
	))
}
/// Development config (single validator Alice)
Development config (single validator Alice)
Development config ( single validator Alice )
pub fn development_config() -> Result<ChainSpec, String> {
	let mut properties = serde_json::map::Map::new();
	properties.insert("tokenSymbol".into(), "MBT".into());
	properties.insert("tokenDecimals".into(), 18.into());
	Ok(ChainSpec::from_genesis(
		"Development",
		"dev",
		ChainType::Development,
		move || {
			testnet_genesis(
				vec![authority_keys_from_seed("Alice")],
				get_account_id_from_seed::<sr25519::Public>("Alice"),
				vec![
					get_account_id_from_seed::<sr25519::Public>("Alice"),
					get_account_id_from_seed::<sr25519::Public>("Bob"),
					get_account_id_from_seed::<sr25519::Public>("Dave"),
					get_account_id_from_seed::<sr25519::Public>("Charlie"),
					get_account_id_from_seed::<sr25519::Public>("Eve"),
					get_account_id_from_seed::<sr25519::Public>("Ferdie"),
				],
				vec![get_account_id_from_seed::<sr25519::Public>("Ferdie")],
			)
		},
		vec![],
		None,
		None,
		None,
		Some(properties),
		None,
	))
}
pub fn development_config ( ) -> Result < ChainSpec , String > { let mut properties = serde_json :: map :: Map :: new ( ) ; properties . insert ( " " . into ( ) , " " . into ( ) ) ; properties . insert ( " " . into ( ) , 18 . into ( ) ) ; Ok ( ChainSpec :: from_genesis ( " " , " " , ChainType :: Development , move | | { testnet_genesis ( vec ! [ authority_keys_from_seed ( " " ) ] , get_account_id_from_seed :: < sr25519 :: Public > ( " " ) , vec ! [ get_account_id_from_seed sr25519 Public ( " " ) get_account_id_from_seed sr25519 Public ( " " ) get_account_id_from_seed sr25519 Public ( " " ) get_account_id_from_seed sr25519 Public ( " " ) get_account_id_from_seed sr25519 Public ( " " ) get_account_id_from_seed sr25519 Public ( " " ) ] , vec ! [ get_account_id_from_seed sr25519 Public ( " " ) ] , ) } , vec ! [ ] , None , None , None , Some ( properties ) , None , ) ) }
Development config (single validator Alice)
Development config ( single validator Alice )