All Projects → Chainers → Ditch

Chainers / Ditch

Licence: MIT License
Create and broadcast transactions to Graphene-based blockchains

Programming Languages

C#
18002 projects
CSS
56736 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Ditch

esteem
eSteem Mobile - Application for Android and iOS users, start earning cryptocurrency!
Stars: ✭ 88 (+175%)
Mutual labels:  steem, golos
glasnost
Glasnost is a GraphQL app server for Golos/Steem
Stars: ✭ 23 (-28.12%)
Mutual labels:  steem, golos
CourseCake
By serving course 📚 data that is more "edible" 🍰 for developers, we hope CourseCake offers a smooth approach to build useful tools for students.
Stars: ✭ 21 (-34.37%)
Mutual labels:  graphene
wiki
Вики знания о проекте Голос
Stars: ✭ 18 (-43.75%)
Mutual labels:  golos
graphenize
A cli tool to auto-generate Graphene model from json data
Stars: ✭ 12 (-62.5%)
Mutual labels:  graphene
finallycomments
Add Steem Comments To Any Website/Blog
Stars: ✭ 15 (-53.12%)
Mutual labels:  steem
django-model-mutations
Graphene Django mutations for Django models made easier
Stars: ✭ 23 (-28.12%)
Mutual labels:  graphene
graphene-elastic
Graphene Elasticsearch/OpenSearch (DSL) integration
Stars: ✭ 68 (+112.5%)
Mutual labels:  graphene
steem-wise-core
Vote delegation system for STEEM blockchain: core library for nodejs & browser use
Stars: ✭ 17 (-46.87%)
Mutual labels:  steem
django-graphql-geojson
GeoJSON support for Graphene Django
Stars: ✭ 61 (+90.63%)
Mutual labels:  graphene
graphql-pynamodb
Graphene PynamoDB Integration
Stars: ✭ 63 (+96.88%)
Mutual labels:  graphene
alpha-web
1Ramp Alpha Web App
Stars: ✭ 19 (-40.62%)
Mutual labels:  steem
fastql
⚙️ Full stack, Modern Web Application Generator. ✨ Using FastAPI, GraphQL, PostgreSQL as database, Docker, automatic HTTPS and more. 🔖
Stars: ✭ 80 (+150%)
Mutual labels:  graphene
fittrak
A data-driven workout tracking tool for the quantified-self 💪 🤓
Stars: ✭ 19 (-40.62%)
Mutual labels:  graphene
flask-graphql-neo4j
A simple flask API to test-drive GraphQL and Neo4j
Stars: ✭ 74 (+131.25%)
Mutual labels:  graphene
DTrip
DTrip - Traveler's app on STEEM blockchain.
Stars: ✭ 18 (-43.75%)
Mutual labels:  steem
wagtail-graphql
App to automatically add GraphQL support to a Wagtail website
Stars: ✭ 37 (+15.63%)
Mutual labels:  graphene
gxchain-wallet
GXC Wallet for mobile
Stars: ✭ 69 (+115.63%)
Mutual labels:  graphene
sanic-graphql-example
Sanic using Graphsql + SQLAlchemy example
Stars: ✭ 21 (-34.37%)
Mutual labels:  graphene
steemsnippets
A collection of snippets for steem programming
Stars: ✭ 44 (+37.5%)
Mutual labels:  steem

Build Status

Wiki Documentation Site Telegram (ru) Telegram (en) Follow us (ru) Follow us (en)

Ditch

The essence of the library is to generate a transaction according to the required operations (vote, comment, etc.), sign the transaction and broadcast to the Graphene-based blockchain.

Supported chains:

  • Golos (v0.18.3) NuGet version
  • Steem (v0.19.10) NuGet version
  • EOS (v1.1.0) NuGet version
  • BitShares NuGet version

Additional features:

  • Transliteration (Cyrillic to Latin)
  • Base58 converter
  • Can connect by https or socket (wss)

Usage

//set global properties
public void SetUp()
{
    HttpClient = new HttpClient();
    HttpManager = new HttpManager(HttpClient);
    Api = new OperationManager(HttpManager);
    //Api = new OperationManager(new WebSocketManager());
    
    Api.ConnectTo("https://api.steemit.com", CancellationToken.None);        
    //Api.ConnectTo("wss://ws.golos.io", CancellationToken.None);
    
    YouPrivateKeys = new List<byte[]>
    {
        Base58.GetBytes("5**************************************************") \\WIF
    };
    YouLogin = "username";
}

//Create new post with some beneficiaries
var postOp = new PostOperation("parentPermlink", YouLogin, "Title", "Body", "jsonMetadata");
var benOp = new BeneficiariesOperation(YouLogin, postOp.Permlink, new Asset(1, Config.SteemAssetNumSbd), new Beneficiary("someBeneficiarName", 1000));
var responce = Api.BroadcastOperations(YouPrivateKeys, new[]{postOp, benOp},CancellationToken.None);

//UpVote
var voteOp = new UpVoteOperation(YouLogin, "someUserName", "somePermlink");
var responce = Api.BroadcastOberations(YouPrivateKeys, voteOp, CancellationToken.None);

//Follow
var followOp = new FollowOperation(YouLogin, "someUserName", FollowType.Blog, YouLogin);
var responce = Api.BroadcastOperations(YouPrivateKeys, followOp, CancellationToken.None);
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].