https://github.com/banool/aptos_sdk_dart
Utility for building, signing, and submitting transactions for Aptos in Dart
https://github.com/banool/aptos_sdk_dart
Last synced: 11 months ago
JSON representation
Utility for building, signing, and submitting transactions for Aptos in Dart
- Host: GitHub
- URL: https://github.com/banool/aptos_sdk_dart
- Owner: banool
- License: bsd-3-clause
- Created: 2022-05-16T14:19:45.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-06-23T13:36:36.000Z (almost 3 years ago)
- Last Synced: 2023-08-09T13:40:38.565Z (almost 3 years ago)
- Language: Dart
- Homepage: https://pub.dev/packages/aptos_sdk_dart
- Size: 76.2 KB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Dart Aptos SDK
This package re-exports the [Dart Aptos API](https://github.com/banool/aptos_api_dart) and provides additional functionality to support its use, such as utilities for working with hex strings / addresses and functionality supporting Aptos accounts, particularly for working with keys / account addresses.
For example code demonstrating how to use this library, check out https://github.com/banool/aptos_sdk_dart/blob/main/test/full_library_test.dart. I have replicated almost exactly the test in the typescript SDK and confirmed that the end result is identical.
Note: This SDK is currently still incomplete compared to the [typescript SDK](https://github.com/aptos-labs/aptos-core/blob/main/ecosystem/typescript/sdk). For example, this doesn't offer a faucet client. Hopefully I'll have time to build it out further in the future.
This library does lock you in to using Dio, apologies. Unfortunately the dart-dio generator was much better than the standard HTTP one. Beyond that I could've just generated models, but I opted for ease of use.