diff --git a/ffi/dotnet-idsdk/IoticsIdLib/README.md b/ffi/dotnet-idsdk/IoticsIdLib/README.md index ea52597..ac9e1e4 100644 --- a/ffi/dotnet-idsdk/IoticsIdLib/README.md +++ b/ffi/dotnet-idsdk/IoticsIdLib/README.md @@ -1,23 +1,24 @@ -# Build & run +# Build -1. go to the ffi directory and run the Makefile or the build.ps1 as per README. -2. once the build of the ffi wrapper works, copy the libraries in this top directory `copy .\lib\*.* .\dotnet-idsdk\IoticsIdLib\` - - the libraries need to be made available to the project. there should be a way to configure the path in the csproj but I haven't found a way yet -3. run +Go to the ffi directory and run the `Makefile` or the `build.ps1` as per README. + +# Run the test Application + +1. Copy the libraries built in this top directory. For example, for Windows `copy .\lib\*.* .\dotnet-idsdk\IoticsIdLib\` to make the libraries available to the project. +2. Run - `dotnet clean` to clean the project (sometimes it seems you need to delete the directories `bin` and `obj` manually) - `dotnet build` to build it - `dotnet run` to run the Main method in `src\Main.cs` -In order to distribute the project to 3rd parties you should zip the two files `lib-iotics-id-sdk.[dll|h]` and the content of the bin directory. - +In order to distribute the project to 3rd parties you should make the binary and header files `lib-iotics-id-sdk.*` and the content of the bin directory. ## Run output -a working output for the run is +An example working output for the run is - A new seed: b7778a197751d2370662c03ba7b17a38224748729158437be98a185eeae69561 - Use these mnemonics instead of remembering the seed: resist rough main upgrade brush breeze book fix desert diesel future icon caught picnic ski climb drop tent glad cost upgrade infant few diagram - Recovered seed: b7778a197751d2370662c03ba7b17a38224748729158437be98a185eeae69561 + A new seed: ...69561 + Use these mnemonics instead of remembering the seed: resist rough main ... + Recovered seed: ...69561 Agent identity: Key=agentKeyName, Id=#agentName, Did=did:iotics:iotU1NapzbKmJC7b18UbohQe1HRpkGSYtnF6, Seed=...69561 Resolver=https://did.dev.iotics.com User identity: Key=userKeyName, Id=#userName, Did=did:iotics:iotDRfBoB4H1o7XRySDNQjppBP1YcDkwgEUN, Seed=...69561 Resolver=https://did.dev.iotics.com Twin identity: Key=userKeyName, Id=#userName, Did=did:iotics:iotWTs39Ce4cT85eXMGKsmS6rR8F73VGGxpu, Seed=...69561 Resolver=https://did.dev.iotics.com