MultiChainDotNet.Core 2.23.99-alpha-gb225fb0735

This is a prerelease version of MultiChainDotNet.Core.
There is a newer version of this package available.
See the version list below for details.
dotnet add package MultiChainDotNet.Core --version 2.23.99-alpha-gb225fb0735
NuGet\Install-Package MultiChainDotNet.Core -Version 2.23.99-alpha-gb225fb0735
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MultiChainDotNet.Core" Version="2.23.99-alpha-gb225fb0735" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MultiChainDotNet.Core --version 2.23.99-alpha-gb225fb0735
#r "nuget: MultiChainDotNet.Core, 2.23.99-alpha-gb225fb0735"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install MultiChainDotNet.Core as a Cake Addin
#addin nuget:?package=MultiChainDotNet.Core&version=2.23.99-alpha-gb225fb0735&prerelease

// Install MultiChainDotNet.Core as a Cake Tool
#tool nuget:?package=MultiChainDotNet.Core&version=2.23.99-alpha-gb225fb0735&prerelease

MultiChainDotNet

Features

  • The build directory contains docker-compose script used to launch a 4-node multichain network on the development machine running WSL(Ubuntu).
  • The Core library contains the wrapper of MultiChain RPC API and included relevant strongly typed class for request and response.
  • The Fluent library is a fluent framework for constructing multichain raw transactions and signing transactions externally.
  • The Managers library is a high-level abstraction of the underlying classes designed for dependency injection.
  • The Console app is a command-line tool used for issuing calls via the MultiChainDotNet interface.
  • The libraries incorporated some enhancements using HttpClientFactory and Polly to manage the resiliency of calls.

Setup the blockchain network

1. Install Docker for Windows Desktop with WSL2

https://docs.docker.com/docker-for-windows/wsl/

2. Clone this repo

https://github.com/RoyLai-InfoCorp/MultiChainDotNet

3. Startup 1 seednode and 3 test nodes

Go to /build/multichain directory

sh$ ./multichain/create-base-image.sh
sh$ docker-compose up

The output should show Node ready. for all 4 nodes. If nodes doesn't start up, press CTRL-C, enter docker-compose down and try again.

4. Test the connection

Each node should be connected to 3 other nodes.

sh$ docker exec -it multichain-node1 multichain-cli sennet getpeerinfo
sh$ docker exec -it multichain-node2 multichain-cli sennet getpeerinfo
sh$ docker exec -it multichain-node3 multichain-cli sennet getpeerinfo

Compile and Test

  1. Install dotnet sdk

    https://docs.microsoft.com/en-us/dotnet/core/install/linux-ubuntu

    For ubuntu 20.04

    wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
    sudo dpkg -i packages-microsoft-prod.deb
    rm packages-microsoft-prod.deb
    sudo apt-get update; \
    sudo apt-get install -y apt-transport-https && \
    sudo apt-get update && \
    sudo apt-get install -y dotnet-sdk-5.0
    
  2. Go to /src directory

    sh$ dotnet build
    
  3. Go to /test directory

    sh$ dotnet test
    
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on MultiChainDotNet.Core:

Package Downloads
MultiChainDotNet.Fluent

See README.md for more details

MultiChainDotNet.Managers

See README.md for more details

Chron.Ethereum

See README.md for more details

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.32.24-alpha 185 7/22/2022
2.32.23-alpha 136 7/21/2022
2.32.22-alpha 176 7/19/2022
2.32.21-alpha 199 5/5/2022
2.32.20 807 5/5/2022
2.32.20-alpha 148 4/24/2022
2.32.19 812 4/24/2022
2.32.19-alpha 330 3/17/2022
2.32.18 1,066 3/17/2022
2.32.18-alpha 183 3/17/2022
2.32.17-alpha 164 3/17/2022
2.32.16-alpha 178 3/11/2022
2.32.15-alpha 154 3/11/2022
2.32.14-alpha 143 3/6/2022
2.32.11-alpha 116 3/6/2022
2.32.10-alpha 110 3/6/2022
2.32.9 1,062 2/5/2022
2.32.8 779 1/29/2022
2.32.1 741 1/29/2022
2.32.0 688 1/29/2022
2.31.0 740 1/28/2022
2.30.0 690 1/16/2022
2.29.0 402 12/16/2021
2.28.0 379 12/16/2021
2.27.0 512 12/13/2021
2.26.0 386 12/7/2021
2.25.9 375 12/5/2021
2.25.8 391 12/5/2021
2.25.4 396 12/5/2021
2.25.3 383 12/5/2021
2.25.2 384 12/4/2021
2.25.0-g8447d8d263 220 8/20/2021
2.24.0-gaca33099d2 198 8/4/2021
2.23.99-alpha-gb225fb0735 209 8/3/2021
2.23.99-alpha-g80c40d2b5f 176 8/3/2021