Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
4bb55ae
chore: start 2.0.5-SNAPSHOT
HashEngineering Apr 1, 2026
4e67fbe
fix: update testnet evonode list
HashEngineering Apr 1, 2026
9c3df11
fix: update Cargo.lock
HashEngineering Apr 1, 2026
6bc5691
chore: download platform repo in github action
HashEngineering Apr 16, 2026
a4479e0
chore: download platform repo in github action in parent folder
HashEngineering Apr 16, 2026
e894e7b
chore: download platform repo in github action in parent folder
HashEngineering Apr 16, 2026
e573842
chore: add missing protobuf compiler install
HashEngineering Apr 16, 2026
dfd3dd8
chore: add missing protobuf compiler install
HashEngineering Apr 16, 2026
bb579bb
chore: add cbindgen
HashEngineering Apr 16, 2026
beebce5
chore: include fermented.rs in the repo
HashEngineering Apr 16, 2026
b1ef3b4
chore: install cargo-ndk
HashEngineering Apr 17, 2026
30f833e
chore: install cargo-ndk v3
HashEngineering Apr 17, 2026
f032b74
chore: add android targets, nightly
HashEngineering Apr 17, 2026
26989dd
chore: repair sha256sum check for protoc download
HashEngineering Apr 17, 2026
333bad0
chore: repair install of protoc
HashEngineering Apr 17, 2026
ab3c409
chore: repair install of protoc
HashEngineering Apr 17, 2026
a297300
chore: skip tests
HashEngineering Apr 17, 2026
2a6b1c1
chore: add rs-x11-hash
HashEngineering Apr 17, 2026
b5218d6
chore: add rs-x11-hash
HashEngineering Apr 17, 2026
1dd941e
chore: remove obsolete module
HashEngineering Apr 17, 2026
cd89fdf
chore: skip detect
HashEngineering Apr 17, 2026
2a00770
chore: skip detect
HashEngineering Apr 17, 2026
d8fc240
chore: update tools build
HashEngineering Apr 17, 2026
a678fca
chore: update mainnet evonode list
HashEngineering Apr 17, 2026
a602fdb
fix: compile issue
HashEngineering Apr 19, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 33 additions & 2 deletions .github/workflows/build-and-verify-alignment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
echo "Installing Android NDK 29.0.14206865..."
$ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --install "ndk;29.0.14206865"
echo "ANDROID_NDK_ROOT=$ANDROID_HOME/ndk/29.0.14206865" >> $GITHUB_ENV
echo "ANDROID_NDK_HOME=$ANDROID_HOME/ndk/29.0.14206865" >> $GITHUB_ENV

- name: Cache Gradle packages
uses: actions/cache@v4
Expand All @@ -41,13 +42,37 @@ jobs:
restore-keys: |
${{ runner.os }}-gradle-

- name: clone platform repo
run: git clone --branch ferment-2.0 https://github.com/hashengineering/platform.git ../platform

Comment thread
HashEngineering marked this conversation as resolved.
- name: clone rs-x11-hash repo
run: git clone --branch feat/add-android-support https://github.com/hashengineering/rs-x11-hash.git ../rs-x11-hash

- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Install SWIG
- name: Install SWIG and protoc
run: |
sudo apt-get update
sudo apt-get install -y swig
PROTOC_VERSION=25.3
PROTOC_SHA256="f853e691868d0557425ea290bf7ba6384eef2fa9b04c323afab49a770ba9da80"
BASE_URL="https://github.com/protocolbuffers/protobuf/releases/download/v${PROTOC_VERSION}"
ZIP_FILE="protoc-${PROTOC_VERSION}-linux-x86_64.zip"
curl -fL -o "${ZIP_FILE}" "${BASE_URL}/${ZIP_FILE}"
echo "${PROTOC_SHA256} ${ZIP_FILE}" | sha256sum --check
PROTOC_TMP=$(mktemp -d)
unzip -n "${ZIP_FILE}" -d "${PROTOC_TMP}"
mkdir -p "$HOME/.local/bin" "$HOME/.local/include"
cp --update=none "${PROTOC_TMP}/bin/protoc" "$HOME/.local/bin/protoc"
chmod +x "$HOME/.local/bin/protoc"
cp -r --update=none "${PROTOC_TMP}/include/." "$HOME/.local/include/"
rm -rf "${PROTOC_TMP}" "${ZIP_FILE}"
echo "$HOME/.local/bin" >> $GITHUB_PATH
Comment thread
coderabbitai[bot] marked this conversation as resolved.
echo "PROTOC_INCLUDE=$HOME/.local/include" >> $GITHUB_ENV

- name: Install cbindgen
run: cargo install cbindgen

- name: generate the header file
run: |
Expand All @@ -61,11 +86,17 @@ jobs:
- name: Generate Protobuf
run: ./gradlew generateProto

- name: Install Cargo NDK and Rust targets
run: |
cargo install cargo-ndk --version "^3"
rustup component add rust-src --toolchain nightly
rustup target add aarch64-linux-android armv7-linux-androideabi i686-linux-android x86_64-linux-android --toolchain nightly
Comment thread
HashEngineering marked this conversation as resolved.

- name: Build CMake
run: ./gradlew cmakeClean cmakeConfigure cmakeBuild

- name: Build with Gradle
run: ./gradlew build
run: ./gradlew build -x test -PskipDetekt

- name: Verify 16KB Page Size Alignment
run: ./scripts/verify-16kb-alignment.sh
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Build the android libraries to publish to Maven Central:
```
### Use in other projects
```groovy
dppVersion = "2.0.4"
dppVersion = "2.0.5-SNAPSHOT"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and here?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, until 2.0.5 is finalized.

dependencies {
implementation "org.dashj.platform:dash-sdk-java:$dppVersion"
implementation "org.dashj.platform:dash-sdk-kotlin:$dppVersion" // dpp
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
buildscript {
ext.version = '2.0.4'
ext.version = '2.0.5-SNAPSHOT'
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@HashEngineering, do we really use the SNAPSHOT version?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, until 2.0.5 is finalized.

ext.kotlin_version = '2.1.20'
ext.dashj_version = '21.1.14'
ext.dashj_version = '22.0.1'
repositories {
google() // Required for Android library and application projects
mavenCentral()
Expand Down
1 change: 0 additions & 1 deletion dash-sdk-android/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
build/
target/
fermented.rs
.cxx/
4 changes: 2 additions & 2 deletions dash-sdk-android/src/main/rust/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dash-sdk-android/src/main/rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dash-sdk-bindings"
version = "2.0.4"
version = "2.0.5"
edition = "2021"

[dependencies]
Expand Down
Loading
Loading