C# lib Ditch 2.0 for Graphene from Steepshot team

in steem •  7 years ago 

The library can be used by C# clients to make the signing of transactions on the client side and not to transfer private keys to the server.

Ditch_20.PNG

Usage

The essence of the library is to generate a transaction according to the required operations (vote, comment, etc.), sign the transaction and broadcast to Graphene-based blockchain. For transaction signing we announced earlier our standalone Cryptography.ECDSA lib which is being used by Ditch lib for the signing purpose.

Github_icon.PNG

Github link

Supported chains

  • Steem
  • Golos

Updates

  • The project now supports .NetStandard
  • Changed the way of building transactions (becomes more flexible).
  • New operations

See full changelog on Github

.Net dev status

Lib nameDescriptionAct. version
Cryptography.ECDSAImplementation of ECDSA for transaction signing2.1
DitchCreate and broadcast transactions to blockchain2.0

Team progress on .Net encryption & signing

Discuss

1493588297_social-56.png in Telegram
steemit-chat_360.png in Steemit.chat
64x64.png email us

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Very good. I am a c# developer and was looking for this. Thanks

Wow thank you for sharing this lovely post i'm a web developer and i use c# and asp.net mvc5 in my web applications that i make. I'm glad to have some articles like this in steemit community! Keep it up my friend and keep posting great things like this!

Very cool.

This looks like an interesting tool. Could you provide use-examples perhaps?

Thanks for sharing!

....
//set global properties
GlobalSettings.Init(UserLogin, PrivatePostingKey, ChainManager.KnownChains.Steem);
_operationManager = new OperationManager();
....

//Create new post with some beneficiaries
var op1 = new PostOperation(parentPermlink, GlobalSettings.Login, permlink, title, body, jsonMetadata);
var op2 = new BeneficiaresOperation(GlobalSettings.Login, permlink, GlobalSettings.ChainInfo.SbdSymbol, new Beneficiary(beneficiar, 1000));
var responce = _operationManager.BroadcastOberations(op1, op2);
....
//UpVote
var op1 = new UpVoteOperation(GlobalSettings.Login, author, permlink);
var responce = _operationManager.BroadcastOberations(op1);
....

Was wondering the same.

  ·  7 years ago (edited)

Our dev answered the question? Or do you need any further explanations? Well, If you are going to develop an app for Steem, then you will need to focus only on the client side. Operations with the blockchain will be performed by the library. Gradually we add support for new operations to the Ditch lib if there are still any.

Got a compile time error with VS 2017. Severity Code Description Project File Line Suppression State
Error CS1729 'ErrorResponse' does not contain a constructor that takes 1 arguments Ditch F:\steem\Ditch-master\Sources\Ditch\WebSocketManager.cs 103 Active

My bad.
File added to repository. Also fixed some typos

Thanks works now. Also good job fixing the typos on BeneficiariesOperation and BroadcastOperations.

thank you.will checkout the github

Well done post You deserve for getting Upvote from me. I appreciate on it and like it so much . Waiting for your latest post. Keep your good work and steeming on. Let's walk to my blog. I have a latest post. Your upvote is high motivation for me. Almost all Steemians do their best on this site. Keep steeming and earning.

This comment has received a 0.21 % upvote from @booster thanks to: @hamzaoui.

Are there any CLI Wallets I can use for testing this?

Could you clarify your question? Are you asking about Command Line Interface for Ditch or about Steem CLI Wallet program?

I mean the steem CLI Wallet. Does this API need any RPC IPs or similar nodes for it to work?

Ditch interacts with steemd.steemit.com through websockets by default.

However, you can write and use your custom ChainManager to interact with other nodes.

More info here https://github.com/Chainers/Ditch/blob/master/Sources/Ditch/ChainManager.cs

tools are valued

Very good information, it help to be updated on what is going on around the world.

great job mate and thanks to inform about this great project.

this is a very interesting read

Can you add me on telegram? MyID : @StefenTheStardust

Yo, Pavel, thanks for support, man, idk if it was you or bot, but still

I still don't get it, but why I can't see full post with text on steepshot? Will it be in future or it's me doing smth wrong?

Follow me and follow you.
We all need to work together to earn money.
thanks for sharing!

Very good Weldon my friend bless you

thank you for sharing. Good job

WOW Very Nice.

well done,sounds like an impressive tool

Interesting tool. Great post :) Digging the content! Talk soon.

Good Job.

  ·  7 years ago (edited)

Доброго времени суток. Не могу понять что произошло. Со вчерашнего дня ни один мой пост не получает вознаграждение. Не могу понять что случилось. Может быть Вы в курсе?

I am very glad to see your post, this is amazing I also want to get a greeting like you It's really amazing, your postigan is very useful for others especially for me You have provided information that is very qualified in my opinion If you want to petrify me to follow me, My votes and want to share my post, I feel very happy and happy even though my post is not as good as your post Congratulations always for you and so on I am really amazed with your achievement and hard work in steemit