deso_sdk 0.1.0+4 copy "deso_sdk: ^0.1.0+4" to clipboard
deso_sdk: ^0.1.0+4 copied to clipboard

Unofficial Dart SDK for Decentralized Social / DeSo.org

Contributors Forks Stargazers Issues MIT License LinkedIn


Logo

DeSo Dart SDK

Unofficial Dart SDK for Decentralized Social / DeSo.org

Report Bug · Request Feature

Table of Contents #

About The Project #

This is the 1st unofficial Dart SDK for DeSo.

EXAMPLE PROJECT SCREENSHOT #

Playground Desktop App

Supported Platforms #

  • iOS
  • Android
  • Mac OS
  • Windows
  • Linux
  • Web

Built With #

Google Flutter SDK

Getting Started #

Prerequisites #

Installation #

  1. Clone the repo
git clone https://github.com/oliverbytes/deso_sdk.git
  1. Install packages dependencies
flutter pub get
  1. Run
flutter run

Usage #

// Import DeSo SDK
import 'package:deso_sdk/deso_sdk.dart';

// Instantiate DeSo SDK Object
final deso = Deso();

// Optional - Set DeSo Node host
deso.client.init(
  host: 'diamondapp.com',
  apiVersion: 0,
);

debugPrint('requesting...');
final result = await deso.general.appState();

result.fold(
  (apiError) {
    // ERROR
    final text = apiError.toJson().toString();
    debugPrint(text);
  },
  (object) {
    // SUCCESS
    final text = object.toJson().toString();
    debugPrint(text);
  },
);

debugPrint('request done');

Roadmap #

  • Complete API
  • Unit Testing

See the open issues for a list of proposed features (and known issues).

Contributing #

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License #

Distributed under the MIT License. See LICENSE for more information.

Contact #

Oliver Martinez - @oliverbytes - nemoryoliver@gmail.com

Project Link: https://github.com/oliverbytes/deso_sdk

Acknowledgements #

1
likes
110
pub points
0%
popularity

Publisher

verified publisherstackwares.com

Unofficial Dart SDK for Decentralized Social / DeSo.org

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

dio, either_option, logger

More

Packages that depend on deso_sdk