https://github.com/dashpay/dapi-client-android
Dapi Client for Java/Android
https://github.com/dashpay/dapi-client-android
android frontend mobile
Last synced: 11 months ago
JSON representation
Dapi Client for Java/Android
- Host: GitHub
- URL: https://github.com/dashpay/dapi-client-android
- Owner: dashpay
- License: mit
- Created: 2018-07-19T00:58:18.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-07-29T19:43:18.000Z (almost 3 years ago)
- Last Synced: 2025-07-09T13:04:17.087Z (12 months ago)
- Topics: android, frontend, mobile
- Language: Kotlin
- Homepage:
- Size: 4.98 MB
- Stars: 4
- Watchers: 8
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Dash DAPI Client for JVM
[](https://github.com/dashevo/dapi-client-android/blob/master/LICENSE)
[](https://github.com/dashevo/dapi-client-android)
| Branch | Tests | Coverage | Linting |
|--------|--------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------|
| master | [](https://github.com/dashevo/dapi-client-android/actions) | [](https://codecov.io/gh/dashevo/dapi-client-android) |  |
# Build
This depends on the `android-dpp` library
```
git clone https://github.com/github/dashevo/android-dpp.git
cd android-dpp
./gradlew assemble
```
Build this library:
```
git clone https://github.com/github/dashevo/dapi-client-android.git
cd dapi-client-android
./gradlew assemble
```
- After building, it will be available on the local Maven repository.
- To use it with gradle, add `mavenLocal()` to the `repositories` list in your `build.gradle` file and add
`org.dashj.platform:dapi-client:0.23-SNAPSHOT` as dependency.
# Usage
Add mavenCentral() to the `repositories` list in your `build.gradle`
```groovy
dependencies {
implementation 'org.dashj.platform:dpp:0.23-SNAPSHOT'
}
```
# Tests
Run tests with `gradle build test`
# KtLint
Check using ktlint:
```shell
./gradlew ktlint
```
Format using ktlint:
```shell
./gradlew ktlintFormat
```
# Updating DPP
The .proto files are located here: https://github.com/dashevo/dapi-grpc.git (`/protos` directory)
In this project, they are in the `/src/main/proto` directory
# Publish to maven central
```shell
./gradlew uploadArchives
```