|
hai 3 semanas | |
---|---|---|
.. | ||
src | hai 3 semanas | |
Cargo.toml | hai 3 semanas | |
README.md | hai 1 mes | |
uniffi.toml | hai 1 mes |
UniFFI bindings for the CDK (Cashu Development Kit), providing foreign function interface access to wallet functionality for multiple programming languages.
just ffi-build # Build FFI library (release)
just ffi-build --debug # Build debug version
just ffi-check # Check compilation
just ffi-clean # Clean build artifacts
# Generate for specific languages
just ffi-generate python
just ffi-generate swift
just ffi-generate kotlin
# Generate all languages
just ffi-generate-all
# Use --debug for faster development builds
just ffi-generate python --debug
# Python development with REPL
just ffi-dev-python # Generates bindings and opens Python REPL with cdk_ffi loaded
# Test bindings
just ffi-test-python # Test Python bindings import
# Start development
just ffi-dev-python
# In the Python REPL:
>>> dir(cdk_ffi) # Explore available functions
>>> help(cdk_ffi.generate_mnemonic) # Get help
For production use, see language-specific repositories: