Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ Supports (or should support)
* Pay-to-contract support as in Appendix A of the [Blockstream sidechains whitepaper](https://www.blockstream.com/sidechains.pdf)
* JSONRPC interaction with Dash Core
* FFI bindings for C/Swift integration (dash-spv-ffi, key-wallet-ffi)
* [Unified SDK](UNIFIED_SDK.md) option for iOS that combines Core and Platform functionality
* [High-level wallet management](key-wallet-manager/README.md) with transaction building and UTXO management

# Known limitations
Expand Down Expand Up @@ -112,7 +111,6 @@ Documentation can be found on [dashcore.readme.io/docs](https://dashcore.readme.
## Component Documentation

* **[key-wallet-manager](key-wallet-manager/README.md)** - High-level wallet management guide
* **[Unified SDK](UNIFIED_SDK.md)** - iOS SDK combining Core and Platform functionality

# Contributing

Expand Down
90 changes: 0 additions & 90 deletions UNIFIED_SDK.md

This file was deleted.

17 changes: 0 additions & 17 deletions dash-spv-ffi/CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,23 +27,6 @@ The C header is auto-generated by the build script. To regenerate manually:
cbindgen --config cbindgen.toml --crate dash-spv-ffi --output include/dash_spv_ffi.h
```

### Unified SDK Build
For iOS integration with platform-ios:
```bash
# First build dash-spv-ffi for iOS targets (REQUIRED!)
cargo build --release --target aarch64-apple-ios
cargo build --release --target aarch64-apple-ios-sim

# Then build the unified SDK
cd ../../platform-ios/packages/rs-sdk-ffi
./build_ios.sh

# Copy to iOS project
cp -R build/DashUnifiedSDK.xcframework ../../../dashpay-ios/DashPayiOS/Libraries/
```

**Important**: The unified SDK build process (`build_ios.sh`) merges dash-spv-ffi with platform SDK. You MUST build dash-spv-ffi first or changes won't be included!

## Testing

### Rust Tests
Expand Down
13 changes: 0 additions & 13 deletions dash-spv-ffi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

This crate provides C-compatible FFI bindings for the Dash SPV client library.

> **Note**: This library can be used standalone or as part of the [Unified SDK](../../platform-ios/packages/rs-sdk-ffi/UNIFIED_SDK_ARCHITECTURE.md) which combines both Core (SPV) and Platform functionality into a single optimized binary. The Unified SDK is recommended for iOS applications as it eliminates duplicate symbols and reduces binary size by 79.4%.

## Features

- Complete FFI wrapper for DashSpvClient
Expand All @@ -26,17 +24,6 @@ This will generate:
- Dynamic library: `target/release/libdash_spv_ffi.so` (or `.dylib` on macOS)
- C header: `include/dash_spv_ffi.h`

### Unified SDK Build (Recommended for iOS)

For iOS applications, use the Unified SDK which includes this library:

```bash
cd ../../platform-ios/packages/rs-sdk-ffi
./build_ios.sh
```

This creates `DashUnifiedSDK.xcframework` containing both Core (SPV) and Platform symbols.

## Usage

See `examples/basic_usage.c` for a simple example of using the FFI bindings.
Expand Down
13 changes: 0 additions & 13 deletions key-wallet-ffi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

FFI bindings for the key-wallet library, providing a C-compatible interface for use in other languages like Swift, Kotlin, Python, etc.

> **Note**: This library can be used standalone or as part of the [Unified SDK](../../platform-ios/packages/rs-sdk-ffi/UNIFIED_SDK_ARCHITECTURE.md) which combines both Core (including this wallet functionality) and Platform features into a single optimized binary. The Unified SDK is recommended for iOS applications as it eliminates duplicate symbols and reduces binary size by 79.4%.

## Features

- **C-compatible FFI**: Direct C-style FFI bindings without code generation
Expand Down Expand Up @@ -42,17 +40,6 @@ cargo lipo --release
cargo ndk -t arm64-v8a -t armeabi-v7a -t x86_64 -t x86 -o ./jniLibs build --release
```

#### Unified SDK Build (Recommended for iOS)

For iOS applications, use the Unified SDK which includes this library:

```bash
cd ../../platform-ios/packages/rs-sdk-ffi
./build_ios.sh
```

This creates `DashUnifiedSDK.xcframework` containing both Core (including wallet functionality) and Platform symbols in a single optimized binary.

## Usage Examples

### Swift
Expand Down