Giter VIP home page Giter VIP logo

ajuna.sdk.subscriptiondemo's Introduction

Ajuna.SDK.SubscriptionDemo

This project was created in order to showcase the use of Ajuna.SDK, a .NET toolchain featuring .NET framework extensions and code generation utilities to build substrate storage services and clients quickly.

The project behind Ajuna.SDK is Ajuna Network and the flagship game DOTMog, backed by the Swiss company BloGa Tech AG.

This Demo's Focus

This demo project focuses mainly on the implementation of the storage change subscription functionality, allowing the SDK's users to subscribe and get notified about storage changes on the Ajuna node.

Important

This project as well as the Ajuna.SDK are under heavy development, and things may change quickly.

Getting Started

Project Structure

The project structure is as follows:

.
├─── Ajuna.SDK.SubscriptionDemo.NetApi
├─── Ajuna.SDK.SubscriptionDemo.RestClient 
├─── Ajuna.SDK.SubscriptionDemo.RestClient.Mockup
├─── Ajuna.SDK.SubscriptionDemo.RestClient.Test
├─── Ajuna.SDK.SubscriptionDemo.RestService
├─── Ajuna.SDK.SubscriptionDemo.Console

All projects apart from Ajuna.SDK.SubscriptionDemo.Console have been generated by Ajuna.SDK.

  • Ajuna.SDK.SubscriptionDemo.RestService is the generated Service Layer on top of Ajuna Node. It exposes a Rest Api and a Websocket for the Storage Change Notifications.
  • Ajuna.SDK.SubscriptionDemo.RestClient is the Rest Client for calling the RestService.
  • Ajuna.SDK.SubscriptionDemo.Console contains the storage subscription logic of this demo project.

Prerequisites

In order to run this project, you will need:

  • A Substrate node running locally.
  • A running instance of both the Ajuna.SDK.SubscriptionDemo.RestService and the Ajuna.SDK.SubscriptionDemo.Console projects.

Endpoints

The Rest Service exposes two endpoints with the following Urls:

Community

Discord Banner 1

Discord Banner 2

ajuna.sdk.subscriptiondemo's People

Contributors

dimitrispaxinos avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.