Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
namespace NextGenSoftware.Holochain.HoloNET.Client
{
/// <summary>
/// Defines the supported versions of Holochain for protocol compatibility.
/// </summary>
public enum HolochainVersion
{
/// <summary>
/// Legacy Holochain version (0.0.x series) - Redux protocol
/// </summary>
Redux,

/// <summary>
/// RSM version (0.0.x series) - RSM protocol
/// </summary>
RSM,

/// <summary>
/// Latest stable Holochain version (0.5.2) - JSON-RPC 2.0 protocol
/// </summary>
Holochain_0_5_2
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,10 @@ public LoggingMode ConsoleLoggingMode

//TODO: Possibly add these as defaults (used for the Connect methods).
//retrieveAgentPubKeyAndDnaHashMode
/// <summary>
/// The version of Holochain to use. This determines the protocol and API version for communication with the Holochain conductor.
/// </summary>
public HolochainVersion HolochainVersion { get; set; } = HolochainVersion.Holochain_0_5_2;
//retrieveAgentPubKeyAndDnaHashFromConductor
//retrieveAgentPubKeyAndDnaHashFromSandbox
//automaticallyAttemptToRetrieveFromConductorIfSandBoxFails
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ο»Ώ<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
<!--<PackageId>NextGenSoftware.Holochain.HoloNET.Client.Embedded</PackageId>-->
<PackageId>NextGenSoftware.Holochain.HoloNET.Client</PackageId>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<NoDefaultLaunchSettingsFile>true</NoDefaultLaunchSettingsFile>
<StaticWebAssetProjectMode>Default</StaticWebAssetProjectMode>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="8.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="9.0.0" />
</ItemGroup>

</Project>

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\NextGenSoftware.Holochain.HoloNET.Templates.Blazor.Client\NextGenSoftware.Holochain.HoloNET.Templates.Blazor.Client.csproj" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Server" Version="8.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Server" Version="9.0.0" />
</ItemGroup>

</Project>