MCWrapper.CLI
4.1.6
See the version list below for details.
dotnet add package MCWrapper.CLI --version 4.1.6
NuGet\Install-Package MCWrapper.CLI -Version 4.1.6
<PackageReference Include="MCWrapper.CLI" Version="4.1.6" />
paket add MCWrapper.CLI --version 4.1.6
#r "nuget: MCWrapper.CLI, 4.1.6"
// Install MCWrapper.CLI as a Cake Addin #addin nuget:?package=MCWrapper.CLI&version=4.1.6 // Install MCWrapper.CLI as a Cake Tool #tool nuget:?package=MCWrapper.CLI&version=4.1.6
A simple .NET Core wrapper for the MultiChain Core blockchain library that utilitzes the Command Line Interface (CLI) to communicate with distributed ledgers. Written with C# 8.0 and supports .NET Core 2.1, 2.2, and 3.0.
** This library is only supported on Windows environments in this version.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. 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. |
.NET Core | netcoreapp2.1 is compatible. netcoreapp2.2 is compatible. netcoreapp3.0 is compatible. netcoreapp3.1 was computed. |
-
.NETCoreApp 2.1
- MCWrapper.Data.Models (>= 2.0.3)
- MCWrapper.Ledger.Actions (>= 1.0.1)
- MCWrapper.Ledger.Entities (>= 2.1.0)
- Microsoft.Extensions.Configuration.Json (>= 2.1.0)
- Microsoft.Extensions.DependencyInjection (>= 2.1.0)
- Microsoft.Extensions.Http.Polly (>= 2.1.0)
- Microsoft.Extensions.Options (>= 2.1.0)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 2.1.0)
- Newtonsoft.Json (>= 12.0.3)
-
.NETCoreApp 2.2
- MCWrapper.Data.Models (>= 2.0.3)
- MCWrapper.Ledger.Actions (>= 1.0.1)
- MCWrapper.Ledger.Entities (>= 2.1.0)
- Microsoft.Extensions.Configuration.Json (>= 2.2.0)
- Microsoft.Extensions.DependencyInjection (>= 2.2.0)
- Microsoft.Extensions.Http.Polly (>= 2.2.0)
- Microsoft.Extensions.Options (>= 2.2.0)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 2.2.0)
- Newtonsoft.Json (>= 12.0.3)
-
.NETCoreApp 3.0
- MCWrapper.Data.Models (>= 2.0.3)
- MCWrapper.Ledger.Actions (>= 1.0.1)
- MCWrapper.Ledger.Entities (>= 2.1.0)
- Microsoft.Extensions.Configuration.Json (>= 3.0.0)
- Microsoft.Extensions.DependencyInjection (>= 3.0.0)
- Microsoft.Extensions.Http.Polly (>= 3.0.0)
- Microsoft.Extensions.Options (>= 3.0.0)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 3.0.0)
- Newtonsoft.Json (>= 12.0.3)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on MCWrapper.CLI:
Package | Downloads |
---|---|
MCWrapper
A compilation of the MCWrapper.RPC and MCWrapper.CLI libraries with a new extension method permitting the additional of both the MultiChain Core RPC and CLI client factories using a single line of code. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
6.0.1 | 765 | 2/3/2020 |
6.0.0 | 908 | 1/19/2020 |
5.0.0 | 648 | 1/7/2020 |
4.1.12 | 605 | 1/2/2020 |
4.1.11 | 471 | 1/2/2020 |
4.1.10 | 497 | 1/2/2020 |
4.1.9 | 527 | 1/2/2020 |
4.1.8 | 523 | 1/1/2020 |
4.1.7 | 541 | 1/1/2020 |
4.1.6 | 638 | 12/22/2019 |
4.1.5 | 586 | 12/22/2019 |
4.0.5 | 595 | 12/12/2019 |
4.0.4 | 580 | 11/30/2019 |
4.0.3 | 643 | 11/28/2019 |
4.0.2 | 604 | 11/25/2019 |
4.0.1 | 592 | 11/24/2019 |
4.0.0 | 491 | 11/24/2019 |
3.0.0 | 595 | 11/13/2019 |
2.0.1 | 618 | 11/4/2019 |
2.0.0 | 548 | 10/30/2019 |
1.1.0 | 582 | 10/27/2019 |
1.0.0 | 460 | 10/27/2019 |
GetBlockAsync<T> has been removed and has been replaced with the following methods to accommodate and infer all possible Verbose arguments - false, true, 1, 2, 3, 4
GetBlockEncodedAsync - Returns string encoded block - Verbose is equal to false
GetBlockVerboseAsync - Returns JSON object - Verbose is equal to true
GetBlockV1Async - Returns the same as Verbose method - Verbose is equal to 1
GetBlockV2Async - Returns JSON object with additional details - Verbose is equal to 2
GetBlockV3Async - Returns JSON object with additional details - Verbose is equal to 3
GetBlockV4Async - Returns JSON object with additional details - Verbose is equal to 4
MultiChain Command Line Interface (CLI) client interfaces should be injected into Controllers or Razor Pages as follows.
IMultiChainCliGenerate :.....: Provide access to Generate MultChain Core methods.
getgenerate, gethashespersec, setgenerate
IMultiChainCliOffChain :....: Provides access to OffChain MultChain Core methods.
purgepublisheditems, purgestreamitems, retrievestreamitems
IMultiChainCliControl :.....: Provides access to Control MultChain Core methods.
clearmempool, getblockchainparams, getinfo, getinitstatus, getruntimeparams,
help, pause, resume, setlastblock, setruntimeparam, stop
IMultiChainCliGeneral :.....: Provides access to General MultChain Core methods
getassetinfo, getbestblockhash, getblock, getblockchaininfo,
getblockcount, getblockhash, getchaintips, getdifficulty,
getfiltercode, getlastblockinfo, getmempoolinfo, getrawmempool,
getstreaminfo, gettxout, gettxoutsetinfo, listassets, listblocks,
listpermissions, liststreamfilters, liststreams, listtxfilters,
listupgrades, runstreamfilter, runtxfilter, teststreamfilter,
testtxfilter, verifychain, verifypermission
IMultiChainCliNetwork :.....: Provides access to Network MultChain Core methods
addnode, getaddednodeinfo, getchunkqueueinfo, getchunkqueuetotals,
getconnectioncount, getnettotals, getnetworkinfo, getpeerinfo, ping
IMultiChainCliUtility :.........: Provides access to Utility MultChain Core methods
appendbinarycache, createbinarycache, createkeypairs,
createmultisig, deletebinarycache, estimatefee, estimatepriority,
validateaddress, verifymessage
IMultiChainCliMining :.........: Provides access to Mining MultChain Core methods
getblocktemplate, getmininginfo, getnetworkhashps,
prioritisetransaction, submitblock
IMultiChainCliWallet :.........: Provides access to Wallet MultChain Core methods
addmultisigaddress, appendrawexchange, approvefrom, backupwallet,
combineunspent, completerawexchange, create, createfrom,
createrawexchange, createrawsendfrom, decoderawexchange,
disablerawtransaction, dumpprivkey, dumpwallet, encryptwallet,
getaccount, getaccountaddress, getaddressbalances, getaddresses,
getaddressesbyaccount, getaddresstransaction, getassetbalances,
getassettransaction, getbalance, getmultibalances, getnewaddress,
getrawchangeaddress, getreceivedbyaccount, getreceivedbyaddress,
getstreamitem, getstreamkeysummary, getstreampublishersummary,
gettotalbalances, gettransaction, gettxoutdata, getunconfirmedbalance,
getwalletinfo, getwallettransaction, grant, grantfrom, grantwithdata,
grantwithdatafrom, importaddress, importprivkey, importwallet, issue,
issuefrom, issuemore, issuemorefrom, keypoolrefill, listaccounts,
listaddresses, listaddressgroupings, listaddresstransactions,
listassettransactions, listlockunspent, listreceivedbyaccount,
listreceivedbyaddress, listsinceblock, liststreamblockitems,
liststreamitems, liststreamkeyitems, liststreamkeys, liststreampublisheritems,
liststreampublishers, liststreamqueryitems, liststreamtxitems,
listtransactions, listunspent, listwallettransactions, lockunspent,
move, preparelockunspent, preparelockunspentfrom, publish, publishfrom,
publishmulti, publishmultifrom, purgepublisheditems, purgestreamitems,
resendwallettransactions, retrievestreamitems, revoke, revokefrom, send,
sendasset, sendassetfrom, sendfrom, sendfromaccount, sendmany, sendwithdata,
sendwithdatafrom, setaccount, settxfee, signmessage, subscribe, trimsubscribe,
txouttobinarycache, unsubscribe, walletlock, walletpassphrase,
walletpassphrasechange,
IMultiChainCliRaw :.........: Provides access to Raw MultChain Core methods
appendrawchange, appendrawdata, appendrawtransaction,
createrawtransaction, decoderawtransaction, decodescript,
getrawtransaction, sendrawtransaction, signrawtransaction