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.
<PackageVersion Include="MultiChainDotNet.Core" Version="2.23.99-alpha-gb225fb0735" />
                    
Directory.Packages.props
<PackageReference Include="MultiChainDotNet.Core" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version 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.
#addin nuget:?package=MultiChainDotNet.Core&version=2.23.99-alpha-gb225fb0735&prerelease
                    
Install MultiChainDotNet.Core as a Cake Addin
#tool nuget:?package=MultiChainDotNet.Core&version=2.23.99-alpha-gb225fb0735&prerelease
                    
Install MultiChainDotNet.Core as a Cake Tool

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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.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 239 7/22/2022
2.32.23-alpha 196 7/21/2022
2.32.22-alpha 230 7/19/2022
2.32.21-alpha 260 5/5/2022
2.32.20 883 5/5/2022
2.32.20-alpha 211 4/24/2022
2.32.19 880 4/24/2022
2.32.19-alpha 400 3/17/2022
2.32.18 1,187 3/17/2022
2.32.18-alpha 251 3/17/2022
2.32.17-alpha 232 3/17/2022
2.32.16-alpha 227 3/11/2022
2.32.15-alpha 220 3/11/2022
2.32.14-alpha 215 3/6/2022
2.32.11-alpha 172 3/6/2022
2.32.10-alpha 162 3/6/2022
2.32.9 1,221 2/5/2022
2.32.8 850 1/29/2022
2.32.1 822 1/29/2022
2.32.0 759 1/29/2022
2.31.0 812 1/28/2022
2.30.0 768 1/16/2022
2.29.0 472 12/16/2021
2.28.0 466 12/16/2021
2.27.0 581 12/13/2021
2.26.0 467 12/7/2021
2.25.9 458 12/5/2021
2.25.8 460 12/5/2021
2.25.4 474 12/5/2021
2.25.3 458 12/5/2021
2.25.2 451 12/4/2021
2.25.0-g8447d8d263 291 8/20/2021
2.24.0-gaca33099d2 272 8/4/2021
2.23.99-alpha-gb225fb0735 285 8/3/2021
2.23.99-alpha-g80c40d2b5f 225 8/3/2021