Tangle.Net 1.0.4.2

IOTA Library C# Port

There is a newer version of this package available.
See the version list below for details.
Install-Package Tangle.Net -Version 1.0.4.2
dotnet add package Tangle.Net --version 1.0.4.2
<PackageReference Include="Tangle.Net" Version="1.0.4.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Tangle.Net --version 1.0.4.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Tangle.Net, 1.0.4.2"
For F# scripts that support #r syntax, copy this into the source code to reference the package.

C# .NET 4.6 Port of the IOTA lib (https://github.com/iotaledger/), build to fit into Clean Architecture (see below).

cleanarch

More information:
http://blog.8thlight.com/uncle-bob/2012/08/13/the-clean-architecture.html

Build Status

<img src="https://felandilprojects.visualstudio.com/_apis/public/build/definitions/8112d254-cde8-46da-add3-75cab5fb802c/1/badge"/>

Motivation

As a C# developer it was very frustrating that the current IOTA C# lib is pretty much outdated. Therefore this project was born.
The project was set up a little different from most (except the python one) IOTA libs, since Clean Architecture enables you to follow the SOLID principles (https://en.wikipedia.org/wiki/SOLID_(object-oriented_design) pretty easy.

Supported Operations

Next Up:

**MAM support**
Operation (Core) Supported Operation (Extended) Supported
getNeighbors Yes broadcastAndStoreTransaction Yes
getNodeInfo Yes getAccountData Yes
addNeighbors Yes getBundle Yes
removeNeighbors Yes getInputs Yes
getTips Yes getLatestInclusion Yes
findTransactions Yes getNewAddresses Yes
getTrytes Yes getTransfers Yes
getInclusionStates Yes prepareTransfers Yes
getBalances Yes replayBundle Yes
getTransactionsToApprove Yes sendTransfer Yes
attachToTangle Yes sendTrytes Yes
interruptAttachingToTangle Yes
broadcastTransactions Yes
storeTransactions Yes

In addition to all operations you can also do the Proof of Work locally via CPU. Please note that this is very time consuming and might not be feasible for large bundles.

Contributing

If you want to contribute, please feel free to grab an issue. To get your code into the repository please fork it and create a pull request with your changes.

Encryption

The library uses the C# Port of Bouncy Castle (http://www.bouncycastle.org/csharp/).

NuGet

https://www.nuget.org/packages/Tangle.Net

Note

The project is still in development. Therefore breaking changes may occur.
You can reach me via iota Discord (@Felandil) if you've got any questions.

Donate

YTXCUUWTXIXVRQIDSECVFRTKAFOEZITGDPLWYVUVFURMNVDPIRXEIQN9JHNFNVKVJMQVMA9GDZJROTSFZHIVJOVAEC

Getting started

Have a look at the console application or start by instantiating a new repository!

var repository = new RestIotaRepository(new RestClient("https://localhost:14265"));
var nodeInfo = repository.GetNodeInfo();
var neighbours = repository.GetNeighbors();

C# .NET 4.6 Port of the IOTA lib (https://github.com/iotaledger/), build to fit into Clean Architecture (see below).

cleanarch

More information:
http://blog.8thlight.com/uncle-bob/2012/08/13/the-clean-architecture.html

Build Status

<img src="https://felandilprojects.visualstudio.com/_apis/public/build/definitions/8112d254-cde8-46da-add3-75cab5fb802c/1/badge"/>

Motivation

As a C# developer it was very frustrating that the current IOTA C# lib is pretty much outdated. Therefore this project was born.
The project was set up a little different from most (except the python one) IOTA libs, since Clean Architecture enables you to follow the SOLID principles (https://en.wikipedia.org/wiki/SOLID_(object-oriented_design) pretty easy.

Supported Operations

Next Up:

**MAM support**
Operation (Core) Supported Operation (Extended) Supported
getNeighbors Yes broadcastAndStoreTransaction Yes
getNodeInfo Yes getAccountData Yes
addNeighbors Yes getBundle Yes
removeNeighbors Yes getInputs Yes
getTips Yes getLatestInclusion Yes
findTransactions Yes getNewAddresses Yes
getTrytes Yes getTransfers Yes
getInclusionStates Yes prepareTransfers Yes
getBalances Yes replayBundle Yes
getTransactionsToApprove Yes sendTransfer Yes
attachToTangle Yes sendTrytes Yes
interruptAttachingToTangle Yes
broadcastTransactions Yes
storeTransactions Yes

In addition to all operations you can also do the Proof of Work locally via CPU. Please note that this is very time consuming and might not be feasible for large bundles.

Contributing

If you want to contribute, please feel free to grab an issue. To get your code into the repository please fork it and create a pull request with your changes.

Encryption

The library uses the C# Port of Bouncy Castle (http://www.bouncycastle.org/csharp/).

NuGet

https://www.nuget.org/packages/Tangle.Net

Note

The project is still in development. Therefore breaking changes may occur.
You can reach me via iota Discord (@Felandil) if you've got any questions.

Donate

YTXCUUWTXIXVRQIDSECVFRTKAFOEZITGDPLWYVUVFURMNVDPIRXEIQN9JHNFNVKVJMQVMA9GDZJROTSFZHIVJOVAEC

Getting started

Have a look at the console application or start by instantiating a new repository!

var repository = new RestIotaRepository(new RestClient("https://localhost:14265"));
var nodeInfo = repository.GetNodeInfo();
var neighbours = repository.GetNeighbors();

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Tangle.Net:

Package Downloads
Tangle.Net.Mam
.NET 4.6.1 IOTA Masked Authenticated Message C# Port
Tangle.Net.Zmq
.NET 4.6.1 IOTA ZMQ C# Port

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
3.1.1 389 10/4/2019
3.1.0 313 7/2/2019
3.0.3 216 6/12/2019
3.0.2 251 6/6/2019
3.0.1 237 5/6/2019
3.0.0 359 4/25/2019
2.0.3 485 2/5/2019
2.0.2 390 1/21/2019
2.0.1 342 1/14/2019
2.0.0 424 10/17/2018
1.0.8.2 396 8/28/2018
1.0.8.1 420 8/27/2018
1.0.8 489 7/17/2018
1.0.7.4 501 6/15/2018
1.0.7.2 482 5/21/2018
1.0.7.1 445 5/15/2018
1.0.7 598 4/11/2018
1.0.6.1 556 3/20/2018
1.0.6 534 3/5/2018
1.0.5 571 2/25/2018
1.0.4.6 530 2/12/2018
1.0.4.5 557 2/11/2018
1.0.4.4 512 2/8/2018
1.0.4.3 511 2/7/2018
1.0.4.2 481 2/6/2018
1.0.4.1 491 2/5/2018
1.0.4 458 2/5/2018
1.0.3 486 2/4/2018
1.0.2 561 2/3/2018
1.0.1 527 2/2/2018
Show less