Tangle.Net.Mam
0.9.0
.NET 4.6.1 IOTA Masked Authenticated Message C# Port
See the version list below for details.
Install-Package Tangle.Net.Mam -Version 0.9.0
dotnet add package Tangle.Net.Mam --version 0.9.0
<PackageReference Include="Tangle.Net.Mam" Version="0.9.0" />
paket add Tangle.Net.Mam --version 0.9.0
#r "nuget: Tangle.Net.Mam, 0.9.0"
C# .NET 4.6 Port of the IOTA lib (https://github.com/iotaledger/), build to fit into Clean Architecture (see below).
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 Finalizing**
**Multisig**
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 | ||
WereAddressesSpentFrom | 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
.NET 4.6.1: https://www.nuget.org/packages/Tangle.Net
.NET Standard 2.0: https://www.nuget.org/packages/Tangle.Net.Standard/
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).
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 Finalizing**
**Multisig**
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 | ||
WereAddressesSpentFrom | 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
.NET 4.6.1: https://www.nuget.org/packages/Tangle.Net
.NET Standard 2.0: https://www.nuget.org/packages/Tangle.Net.Standard/
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();
Dependencies
-
- Newtonsoft.Json (>= 11.0.1)
- Tangle.Net (>= 1.0.7)
Used By
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version History
Version | Downloads | Last updated |
---|---|---|
2.1.0 | 239 | 10/4/2019 |
2.0.0 | 337 | 4/25/2019 |
1.1.0 | 217 | 3/8/2019 |
1.0.2 | 289 | 2/14/2019 |
1.0.1 | 279 | 2/5/2019 |
1.0.0 | 270 | 1/30/2019 |
0.9.2 | 323 | 1/18/2019 |
0.9.1 | 335 | 10/17/2018 |
0.9.0.6 | 376 | 8/27/2018 |
0.9.0.5 | 450 | 7/17/2018 |
0.9.0.4 | 460 | 6/15/2018 |
0.9.0.3 | 440 | 5/18/2018 |
0.9.0.2 | 463 | 4/26/2018 |
0.9.0 | 422 | 4/11/2018 |
0.6.0 | 472 | 3/21/2018 |
0.5.0 | 509 | 2/25/2018 |