|
@@ -43,6 +43,7 @@ namespace HyperCube.Models
|
|
|
var ethRinkeby = new Blockchain(1, "Ethereum Test Network", "127.0.0.1", 8666);
|
|
|
ethDev.Initialize();
|
|
|
ethRinkeby.Initialize();
|
|
|
+ Console.WriteLine($"RegisterNetworks");
|
|
|
}
|
|
|
|
|
|
//public static Blockchain GetInstance()
|
|
@@ -107,10 +108,7 @@ namespace HyperCube.Models
|
|
|
string addr = await ListAccounts();
|
|
|
if (!loaded.ContainsKey(id))
|
|
|
loaded.Add(selectedId, this);
|
|
|
- name = defaultName;
|
|
|
- url = URLdefault;
|
|
|
- port = defaultPort;
|
|
|
- Console.WriteLine("Initialize: loaded blockchains " + loaded.Count);
|
|
|
+ Console.WriteLine($"Initialize: {name }loaded blockchains " + loaded.Count);
|
|
|
|
|
|
await LoadContracts();
|
|
|
Console.WriteLine("LoadContracts count " + contracts.Count);
|