YannisDC / BlockstackAdvancedExample

A Blockstack example where Clean Architecture is used to separate the Blockstack SDK into a separate platform layer.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BlockstackAdvancedExample

This repository uses a Clean Architecture with an Application layer that uses MVVM, RxSwift and Coordinators. (Factories are being used to reuse viewcontrollers accross coordinators.) The Blockstack SDK is seperated into a Platform layer to only import Blockstack in one place. In this app the Domain layer is renamed to Core.

TODO

  • Convert Single<T?> to Maybe
  • Add TabBarCoordinator to switch between different example screens
  • Make a provider to easily make Networks/Repositories for different types (of Structs)
  • Put the UI components into a seperate framework
  • Add encryption on the cache by implementing a Cryptable protocol in the Structs
  • Add Pre Onboarding that explains Blockstack
  • Add unit tests
  • Make seperate Blockstack app endpoint
  • Add examples of multiple types
  • Upgrade the UI
  • Add single object caching (save and remove)
  • Add batch object loading (e.g. 10 indexes at a time)
  • Add Firebase as platform for comparison
  • Add localization

Final project goal

Seperate the Blockstack SDK into seperate platform layer and make it easily reusable for different types of structs. Work away the downsides of the Blockstack SDK compared to Firebase like offline first and realtime updates.

About

A Blockstack example where Clean Architecture is used to separate the Blockstack SDK into a separate platform layer.


Languages

Language:Swift 96.7%Language:Ruby 2.5%Language:Objective-C 0.9%