MCWrapper.RPC
5.0.5
See the version list below for details.
dotnet add package MCWrapper.RPC --version 5.0.5
NuGet\Install-Package MCWrapper.RPC -Version 5.0.5
<PackageReference Include="MCWrapper.RPC" Version="5.0.5" />
paket add MCWrapper.RPC --version 5.0.5
#r "nuget: MCWrapper.RPC, 5.0.5"
// Install MCWrapper.RPC as a Cake Addin #addin nuget:?package=MCWrapper.RPC&version=5.0.5 // Install MCWrapper.RPC as a Cake Tool #tool nuget:?package=MCWrapper.RPC&version=5.0.5
A simple .NET Core wrapper for the MultiChain Core blockchain library that utilitzes Remote Procedure Calls (RPC) to communicate with distributed ledgers. Written with C# 8.0 and supports .NET Core 2.1, 2.2, and 3.0.
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 (>= 1.0.1)
- 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 (>= 1.0.1)
- 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 (>= 1.0.1)
- MCWrapper.Ledger.Actions (>= 1.0.1)
- MCWrapper.Ledger.Entities (>= 2.1.0)
- Microsoft.Extensions.Configuration.Json (>= 3.0.1)
- Microsoft.Extensions.DependencyInjection (>= 3.0.1)
- Microsoft.Extensions.Http.Polly (>= 3.0.1)
- Microsoft.Extensions.Options (>= 3.0.1)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 3.0.1)
- Newtonsoft.Json (>= 12.0.3)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on MCWrapper.RPC:
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 |
---|---|---|
7.1.1 | 811 | 2/3/2020 |
7.1.0 | 893 | 1/19/2020 |
7.0.0 | 581 | 1/18/2020 |
6.0.0 | 704 | 1/7/2020 |
5.1.10 | 719 | 1/2/2020 |
5.1.9 | 668 | 12/22/2019 |
5.1.8 | 461 | 12/22/2019 |
5.1.7 | 597 | 12/22/2019 |
5.1.6 | 457 | 12/22/2019 |
5.0.6 | 640 | 12/12/2019 |
5.0.5 | 573 | 11/30/2019 |
5.0.4 | 452 | 11/30/2019 |
5.0.3 | 618 | 11/28/2019 |
5.0.2 | 614 | 11/25/2019 |
5.0.1 | 582 | 11/24/2019 |
5.0.0 | 457 | 11/23/2019 |
4.0.1 | 733 | 11/4/2019 |
4.0.0 | 609 | 10/30/2019 |
3.0.0 | 602 | 10/24/2019 |
2.0.0 | 489 | 10/20/2019 |
1.0.1 | 465 | 10/19/2019 |
1.0.0 | 495 | 10/16/2019 |
Fixed a minor bug introduced with version 5.0.4.
RpcOptions property "ChainSslPath" has been removed as it was unnecessary. Apparently our certificate was setup incorrectly in staging. When a valid SSL certificate is used by MultiChain Core, MCWrapper has no issue and does not require to know the local path to the certificate any longer. This helps simplify RpcOptions configuration a bit.
Added new extension method that allows for RpcOptions to be passed as arguments instead of an Action<T>.
Added Secret Manager detection for extension method receiving IConfiguration pipeline.
HTTP client optimization.
Minor bugfixes.
Added Control method GetInitStatusAsync that returns a GetInitStatusResult object from the 'getinitstatus' method.
All Unit Tests Passed | 360 total tests | 80 skipped | Completed in 15 seconds on brand new MultiChain Core blockchain node. As a blockchain matures the unit test durations seem to increase as well.
Please, for more information, visit our GitHub repository or Project URL to learn more about implementing MCWrapper and/or MultiChain Core in your .NET Core project(s).
MultiChain JSON-RPC client interfaces should be injected into Controllers or Razor Pages as follows.
IMultiChainRpcGenerate :.....: Provide access to Generate MultChain Core methods.
getgenerate, gethashespersec, setgenerate
IMultiChainRpcOffChain :....: Provides access to OffChain MultChain Core methods.
purgepublisheditems, purgestreamitems, retrievestreamitems
IMultiChainRpcControl :.....: Provides access to Control MultChain Core methods.
clearmempool, getblockchainparams, getinfo, getinitstatus, getruntimeparams,
help, pause, resume, setlastblock, setruntimeparam, stop
IMultiChainRpcGeneral :.....: 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
IMultiChainRpcNetwork :.....: Provides access to Network MultChain Core methods
addnode, getaddednodeinfo, getchunkqueueinfo, getchunkqueuetotals,
getconnectioncount, getnettotals, getnetworkinfo, getpeerinfo, ping
IMultiChainRpcUtility :.........: Provides access to Utility MultChain Core methods
appendbinarycache, createbinarycache, createkeypairs,
createmultisig, deletebinarycache, estimatefee, estimatepriority,
validateaddress, verifymessage
IMultiChainRpcMining :.........: Provides access to Mining MultChain Core methods
getblocktemplate, getmininginfo, getnetworkhashps,
prioritisetransaction, submitblock
IMultiChainRpcWallet :.........: 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,
IMultiChainRpcRaw :.........: Provides access to Raw MultChain Core methods
appendrawchange, appendrawdata, appendrawtransaction,
createrawtransaction, decoderawtransaction, decodescript,
getrawtransaction, sendrawtransaction, signrawtransaction