LibP2P based solution for P2P communication of LACHAIN nodes
Linux:
go build -o lib/linux-x64/libhub.so -buildmode=c-shared embedded_hub.go
Windows:
go build -o lib/win-x64/libhub.dll -buildmode=c-shared embedded_hub.go
MacOS:
go build -o lib/osx-x64/libhub.dylib -buildmode=c-shared embedded_hub.go
All go libraries from all 3 platforms should be present in lib folder as shown in previous step
nuget pack Lachain.CommunicationHub.Native.nuspec
cd Lachain.CommunicationHub.Net/
dotnet build Lachain.CommunicationHub.Net.sln
nuget pack Lachain.CommunicationHub.Net.csproj