Unofficial Dart SDK for Decentralized Social / DeSo.org
Report Bug
·
Request Feature
This is the 1st unofficial Dart SDK for DeSo.
- iOS
- Android
- Mac OS
- Windows
- Linux
- Web
Google Flutter SDK
- Flutter SDK
- Android SDK & Android Studio for deployment to Android
- XCode IDE for deployment to iOS/iPad/MacOS
- VS Code IDE optional
- Clone the repo
git clone https://github.com/oliverbytes/deso_sdk.git
- Install packages dependencies
flutter pub get
- Run
flutter run
// 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');
- Complete API
- Unit Testing
See the open issues for a list of proposed features (and known issues).
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.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Oliver Martinez - @oliverbytes - nemoryoliver@gmail.com
Project Link: https://github.com/oliverbytes/deso_sdk