completed
Cardanobi.io
Current Project Status
complete
Total
amount
Received
$49,032
Total
amount
Requested
$49,032
Total
Percentage
Received
100.00%
$49,032 Received out of $49,032
Solution

Build a fully open-source Business Intelligence API Layer, provide on-chain data & analytics, enable new data-driven services on Cardano.

Problem

There’s a great deal of value locked in the data processed by Cardano and its ecosystem. How to extract it and make it available to all?

Addresses Challenge
Feasibility
Auditability

Team

1 member

This proposal was approved and funded by the Cardano Community via Project F8: Open Source Development Ecosystem Catalyst funding round.

  • download
  • download
  • download
  • download

[IMPACT]

This project proposes to build the following capabilities:

  • A fully open-source Business Intelligence API Layer on top of Cardano:
  • What does it do?
  • Provides developers with a standardized way to access and consume the data locked into the Cardano blockchain.
  • Enriches raw on-chain data with value added data analytics and insights to extract even more value out of Cardano’s data.
  • A Software As A Service Business Intelligence API:
  • What does it do?
  • Commoditizes the access to Cardano’s on-chain data and to new value added data analytics and insights.
  • Streamlines to all the access to the business value locked in Cardano’s on chain data and enable the creation of new data-driven services thus supporting the growth of the Cardano ecosystem as a whole.
  • A series of reusable components:
  • What does it do?
  1. Fully open-source backend CLI tools to define and leverage event-driven workflows.
  2. Fully open-source frontend widgets to create new customer experiences and interactions.

The above capabilities will bring the following benefits which will address the challenge:

  • A fully open-source Business Intelligence API Layer on top of Cardano:
  • Benefits:
  1. By being fully open-source, we bring transparency and trust in how the service is delivered, demonstrating that the raw on-chain data isn’t tempered with for instance.
  2. By being fully open-source (across our whole stack: API infrastructure provisioning, API management, API definition and implementation), we allow others to fork our code and accelerate their own development thus reducing greatly their time to market. We accelerate overall the business value creation on Cardano and we make it accessible to all.
  • A Software As A Service Business Intelligence API:
  • Benefits:
  1. For those who simply want to consume Cardano on-chain data and our value added data analytics, we offer even greater time to market compression by providing a readily consumable SaaS service. People will be able to pay for that service in ADA, EUR, GBP, USD or by delegating to one of our sponsor SPOs.
  2. By creating new value added data insights, we target several customer segments (Investors, SPO, data aggregators, data analytics firms) and simplify their access to the Cardano on-chain data and insights. In doing so we enable new data-driven services inside and outside the Cardano ecosystem.
  • A series of reusable components:
  • Benefits:
  1. CLI backend tools will enable developers to streamline the creation of new event-driven workflows: e.g. interact with their end-customers when a specific event occurred on the blockchain, or when a specific metric reaches a specific value, or when an epoch ends for instance.
  2. Frontend widgets will enable developers to bring Cardano on-chain data and our value added data analytics to the end-customer screens and to improve their user experience or interact with the developed service in question.

Funding:

  • This project is a significant piece of work which requires the right level of funding to pay for infrastructure costs and senior IT resources to develop an industry standard solution.
  • To mitigate this risk we’ve prepared a detailed plan below with detailed and fair cost estimates.
  • We also planned for a 20% contingency budget.

Marketing:

  • To drive adoption to our open-source solution and SaaS service will require some time and effort towards marketing our brand, solutions and products.

  • This is less a risk but more of a point of attention that our founders are well aware of but can manage through our existing communication channels which are well established.

    [FEASIBILITY]

Plan:

There are 5 EPICS in this project:

  1. API definition: in this phase we look at defining the API contracts and express them in the relevant standard (OpenAPI for REST API, AsyncAPI for STREAMING API).
  2. API implementation: based on onion-architecture principles and micro-services.
  3. API management: from Identity, Authentication, Subscription and Monitoring all key components which allow managing the API lifecycle in a secure and industrialized fashion.
  4. API Catalogue, Data-Insight visualization: https://cardanobi.io will be our portal for API subscription, API catalogue, API documentation as well as key data-insight dashboard for each of our pre-define customer profiles (Investors, SPOs, data aggregator and data analytics firms initially).
  5. Reusable components: these will be standalone frontend widgets or backend CLI tools, built on top of our APIs to enable new user experiences/interactions (e.g. components for SPOs to leverage important business events like a new block being forged, a new address delegating to their pool, a new ATH for the max number of ADA processed by their pool, etc…).

Roadmap:

All 5 EPICS will be broken down into features and are goal will be to optimize their sequencing such that we can deliver value incrementally and get client feedback quickly going through an MVP phase followed by an industrialization phase.

EPIC #1: API definition

  • Feature 1: REST API following db-sync data model
  • Create swagger files.
  • Feature 2: New value added REST API
  • Create swagger files.
  • Feature 3: New value added ASYNC API
  • Create avro schemas.

EPIC #2: API implementation

  • Feature 1: Infrastructure
  • Provisioning of necessary cloud based resources using Infrastructure As Code (IaC).
  • Leveraging load-balancing where necessary (db-sync, app servers)
  • Feature 2: db-sync
  • Install db-sync (https://github.com/input-output-hk/cardano-db-sync) in a load-balanced pattern.
  • Feature 3: Micro-services
  • Build services following Service Oriented Architecture (SOA) principles, services topology yet to be determined but certainly will follow entity domains as per db-sync data model and will be enriched with new value added entities to create new analytics for each of our user profiles.
  • Feature 4: Resilience + monitoring + NFRs
  • Implement resource monitoring through cloud service or adhoc open-source solutions.
  • Make sure above components are fault tolerant through load-balancing and can resume from failure autonomously.
  • Feature 5: API SDK
  • Nodejs SDK to commoditize the nodejs developer experience when using Cardanobi APIs.
  • Python SDK to commoditize the python developer experience when using Cardanobi APIs.

EPIC #3: API management

  • Feature 1: External API gateway
  • Leverage cloud provider external API gateway, configure policies (rate limit, quota)
  • Configuration, link to authentication server, setup Oauth2 and OIDC, API Keys to manage incoming traffic (north/south)
  • Configure other security aspects (pre-access checks, content attack prevention, abnormal activity)
  • Feature 2: Microgateways
  • Implement open source microgateways (nginx) to manage micro-services.
  • Manage traffic among microservices.

EPIC #4: API catalogue, data-insight portal

  • Feature 1: Catalogue
  • Auto-generate API documentation from source code using relevant tool (eg. redoc)
  • Feature 2: Portal front-end
  • React native app consisting of landing page, API key generation page, API documentation pages, User subscription page (to access specific user profile data insights), data-insights page to present both key on-chain data analytics and new added-value data analytics (user will have to create an account to access profile specific data analytics (e.g. SPO, investors))
  • Feature 3: Portal back-end
  • Nodejs backend to fulfil certain interaction end-point and backend function (e.g. API key generation and safe keeping in dedicated vault)

EPIC #5: Reusable components

  • Feature 1: Front-end components
  • React components + javascript code to retrieve relevant data points from APIs and present them in reusable modern widgets. Scope to cover: epoch, slot, tip, time to epoch boundary, new block, transaction count, volume exchanged etc…
  • Feature 2: Back-end components for SPOs
  • CLI component allowing real-time pool data to be sent to Front-end components.
  • CLI component allowing customer channel interaction (twitter, telegram) when business events are triggered (new block, new delegator etc…)

Timeline / Success criteria:

Here we provide estimated completion time horizons of each feature identified with E(epic number)F(feature number) (e.g. E1F1 for FEATURE #1 of EPIC #1)

  • 1 month:

  • E1F1, E2F1, E2F2

  • Outcome: the core infra is set up and core REST APIs are defined

  • 3 months:

  • E2F3, E3F1, E3F2

  • Outcome: microservices framework and first instances deployed, external gateway and microgateways in place. (this can be considered a first MVP where the API consumption can be tested end to end).

  • 6 months:

  • E1F3, E2F4, E4F1, E4F2, E4F3, E5F1, E5F2

  • Outcome: new value added APIs have been defined, the services are resilient and follow relevant non-function requirements (NFRs), monitoring is in place, the portal is in place with its API catalogue. (this can be considered as the industrialized MVP enriched with the customer front-end)

  • 12 months:

  • Outcome: we’ve done the necessary social media marketing, IOG is helping as they see the great product that has been built, we have 10,000+ API queries a day.

Expected start date: May 2022

Expected public launch date: November 2022

Cost breakdown:

  • Cost per resource type:
  • Lead/backend: $50/hour
  • Data architect / cloud developer: $50/hour
  • Front-end developer: $25/hour
  • UX developer: $25/hour
  • Estimated hourly contribution per resource type:
  • Lead/backend: 336 hours (6 months x 14 hours per week)
  • Data architect / cloud developer: 336 hours
  • Front-end developer: 168 hours (3 months x 14 hours per week)
  • UX developer: 84 hours (6 weeks x 14 hours per week)

Total cost for staff: $39,900

Total cost for servers for 1st year : 16 servers x $60 per month x 12 = $960

Sub-total: $40,860

Contingency (20%): $8,172

Total $ request: $49,032

Team:

  1. Lead, architect, backend/frontend dev: Thomas Langlois, https://www.linkedin.com/in/langloisthomas
  2. Data architect, event-driven architect, backend dev: Ahmed Abouelnour, https://www.linkedin.com/in/ahmed-abouelnour-91828b8/
  3. Front end developer: selection in progress from a pool of developers we’ve been working with in the past (no specific risk associated with this sourcing exercise at all).
  4. UX developer: selection in progress from a pool of developers we’ve been working with in the past (no specific risk associated with this sourcing exercise at all).

[AUDITABILITY]

Measuring progress:

We will track key performance indicators to track the overall progress of the project.

For each sprint we will measure:

  • Velocity: the amount of work effort delivered (i.e. effort is counted in Story Points and represents the sizing of each features delivered in one sprint).
  • Predictability: the ratio of delivered Story Points vs committed Story Points in one sprint.
  • Stakeholders satisfaction: requires to collect a score from each of our identified stakeholders who gives their feedback at the end of each sprint with regard to the value delivered to them. We track the evolution of the ratio of Scores received vs the number of scores received.
  • People satisfaction: the purpose here is to track how the team is feeling at the end of each sprint by collection satisfaction scores from each team member and track the evolution of the ration Scores given vs the number of scores received.

This 4 KPIs will be essential to track how the team performs and how the project is progressing.

We will leverage Github Project directly for sprint management which allows for tasks creation and kanban management.

Success criteria:

We deliver value incrementally and seek customer feedback as soon as possible to be able to iterate and reach our target faster.

Our success criteria are measurable through time:

  • 1 month:

  • Outcome: the core infra is set up and core REST APIs are defined

  • 3 months:

  • Outcome: microservices framework and first instances deployed, external gateway and microgateways in place. (this can be considered a first MVP where the API consumption can be tested end to end).

  • 6 months:

  • Outcome: new value added APIs have been defined, the services are resilient and follow relevant non-function requirements (NFRs), monitoring is in place, the portal is in place with its API catalogue. (this can be considered as the industrialized MVP enriched with the customer front-end)

  • 12 months:

  • Outcome: we’ve done the necessary social media marketing, IOG is helping as they see the great product that has been built, we have 10,000+ API queries a day.

Not a continuation of a previously funded project but an entirely new one.

SDG Rating

SDG goals:

Goal 9. Build resilient infrastructure, promote inclusive and sustainable industrialization and foster innovation

SDG subgoals:

9.1 Develop quality, reliable, sustainable and resilient infrastructure, including regional and transborder infrastructure, to support economic development and human well-being, with a focus on affordable and equitable access for all

9.c Significantly increase access to information and communications technology and strive to provide universal and affordable access to the Internet in least developed countries by 2020

Key Performance Indicator (KPI):

9.1.1 Proportion of the rural population who live within 2 km of an all-season road

  • #proposertoolsdg

Community Reviews (1)

Comments

Monthly Reports

Current task: High Level Technical Design (HLTD)

Disbursed to Date
$49,032
Status
Still in progress
Completion Target
11/30/2022
Comments 0

Login or Register to leave a comment!

Current tasks: 1) High Level Technical Design (HLTD) 2) Identity & Auth POC

Disbursed to Date
$49,032
Status
Still in progress
Completion Target
11/30/2022
Attachment(s)
Comments 0

Login or Register to leave a comment!

We're enjoying the process :)

Disbursed to Date
$49,032
Status
Still in progress
Completion Target
3. In the next 6 months
Attachment(s)
Comments 0

Login or Register to leave a comment!

Loving every minute of it….

Disbursed to Date
$49,032
Status
Still in progress
Completion Target
3. In the next 6 months
Attachment(s)
Comments 0

Login or Register to leave a comment!

Please refer to the detailed Monthly Report provided in attachment.

Disbursed to Date
$49,032
Status
Still in progress
Completion Target
2. In the next 3 months
Attachment(s)
Comments 0

Login or Register to leave a comment!

Please refer to the detailed Monthly Report provided in attachment.

Disbursed to Date
$49,032
Status
Still in progress
Completion Target
1. In the next month
Attachment(s)
Comments 0

Login or Register to leave a comment!

Please refer to the detailed Monthly Report provided in attachment.

Disbursed to Date
$49,032
Status
Still in progress
Completion Target
2. In the next 3 months
Attachment(s)
Comments 0

Login or Register to leave a comment!

close

Playlist

  • EP2: epoch_length

    Authored by: Darlington Kofa

    d. 3 se. 24
    Darlington Kofa
  • EP1: 'd' parameter

    Authored by: Darlington Kofa

    d. 4 se. 3
    Darlington Kofa
  • EP3: key_deposit

    Authored by: Darlington Kofa

    d. 3 se. 48
    Darlington Kofa
  • EP4: epoch_no

    Authored by: Darlington Kofa

    d. 2 se. 16
    Darlington Kofa
  • EP5: max_block_size

    Authored by: Darlington Kofa

    d. 3 se. 14
    Darlington Kofa
  • EP6: pool_deposit

    Authored by: Darlington Kofa

    d. 3 se. 19
    Darlington Kofa
  • EP7: max_tx_size

    Authored by: Darlington Kofa

    d. 4 se. 59
    Darlington Kofa
0:00
/
~0:00