Skip to main content

Native Python crypto bridge for the Dilithia SDK

Project description

Python Native Crypto Bridge

This package is the planned Rust-backed Python bridge for the Python SDK.

Purpose

Expose the same crypto semantics used by the browser wallet, but for Python runtimes.

The bridge should align with:

  • dilithia-core
  • the browser wallet WASM wrapper
  • docs/CRYPTO_ADAPTER_SURFACE.md

Planned Runtime

  • CPython
  • pyo3

Scope

The bridge should expose:

  • mnemonic generation and validation
  • HD wallet recovery
  • indexed account derivation
  • wallet-file recovery
  • address derivation from public key
  • sign / verify helpers

Status

Wired against dilithia-core.

Implemented:

  • mnemonic generation and validation
  • HD root-account recovery
  • indexed HD account derivation
  • HD wallet-file creation
  • wallet-file recovery for HD and non-HD files
  • address derivation from public key
  • sign / verify

Packaging

This bridge is packaged with maturin:

cd python/native
maturin build

Docker build flow:

./scripts/build-python-native-docker.sh

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

dilithia_sdk_native-0.2.0-cp312-cp312-win_amd64.whl (519.9 kB view details)

Uploaded CPython 3.12Windows x86-64

dilithia_sdk_native-0.2.0-cp312-cp312-manylinux_2_34_x86_64.whl (642.2 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ x86-64

dilithia_sdk_native-0.2.0-cp312-cp312-macosx_11_0_arm64.whl (586.2 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

dilithia_sdk_native-0.2.0-cp311-cp311-win_amd64.whl (523.3 kB view details)

Uploaded CPython 3.11Windows x86-64

dilithia_sdk_native-0.2.0-cp311-cp311-manylinux_2_34_x86_64.whl (646.0 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.34+ x86-64

dilithia_sdk_native-0.2.0-cp311-cp311-macosx_11_0_arm64.whl (589.4 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

File details

Details for the file dilithia_sdk_native-0.2.0-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for dilithia_sdk_native-0.2.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 f48e56fe96124a1d6d518f0217a78bd5bfa67ba13c50fc66b63a174dc92b5d8c
MD5 31454df65a9757cfa4611160b053785f
BLAKE2b-256 06ea4c7563fac6f7d2b0e04af12e890a6d94baa9e701d5a5353f97d3398d21d9

See more details on using hashes here.

Provenance

The following attestation bundles were made for dilithia_sdk_native-0.2.0-cp312-cp312-win_amd64.whl:

Publisher: python-native.yml on dilithia/languages-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dilithia_sdk_native-0.2.0-cp312-cp312-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for dilithia_sdk_native-0.2.0-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 cfb6785faa62879a29d277f353add255b5ae21f1982fb01e94295dfdff1940b2
MD5 932a06275db6e5eb5ff3a3c9d19f0cdc
BLAKE2b-256 eeddd0d0c180eceb3e1900c76a3fd09914bf21946e2afd37f3f0182aec4c3792

See more details on using hashes here.

Provenance

The following attestation bundles were made for dilithia_sdk_native-0.2.0-cp312-cp312-manylinux_2_34_x86_64.whl:

Publisher: python-native.yml on dilithia/languages-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dilithia_sdk_native-0.2.0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for dilithia_sdk_native-0.2.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c37f8dfc0dc7d509e7270171be9c61a8f6f82d73294304bc717757f64639100a
MD5 3ebc588a49ff640dd8a12e04092e0ecf
BLAKE2b-256 06a0574c4eaa064f62133318d6db0b5ca14a3cc80d1222e8f2554a9c8b3c375c

See more details on using hashes here.

Provenance

The following attestation bundles were made for dilithia_sdk_native-0.2.0-cp312-cp312-macosx_11_0_arm64.whl:

Publisher: python-native.yml on dilithia/languages-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dilithia_sdk_native-0.2.0-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for dilithia_sdk_native-0.2.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 6c14ce25a008b35e796358a8af4feaa87fef57ad6fbb3208801dedbc95e6d743
MD5 88ed0bc448e343a536806ed279fcfdb4
BLAKE2b-256 20b14783a53ef11beef8c081c5870ae5df27d0a0457330dc7fc3957f55c9918d

See more details on using hashes here.

Provenance

The following attestation bundles were made for dilithia_sdk_native-0.2.0-cp311-cp311-win_amd64.whl:

Publisher: python-native.yml on dilithia/languages-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dilithia_sdk_native-0.2.0-cp311-cp311-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for dilithia_sdk_native-0.2.0-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 227b4fef757563e238096c3551df6f414f588c9aeb4713d1e34164948c05808f
MD5 2d141a83c14e7330c83b0d2ecc89a1c2
BLAKE2b-256 1a9ef74edbb27418aa4ecc53ab43a632f2f2731a48fb1a6279842bbad1558a7f

See more details on using hashes here.

Provenance

The following attestation bundles were made for dilithia_sdk_native-0.2.0-cp311-cp311-manylinux_2_34_x86_64.whl:

Publisher: python-native.yml on dilithia/languages-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dilithia_sdk_native-0.2.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for dilithia_sdk_native-0.2.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a4af7377a1738b985a3ceca5bd143d28fc5d644736651247c2b972a57cb39020
MD5 059e04660ab622e69212ac7d0220b5cf
BLAKE2b-256 f8f3afd1d50a04c0ca22a22fd02ae22af5a879f3f0fd6bf414718e1d3e2d413c

See more details on using hashes here.

Provenance

The following attestation bundles were made for dilithia_sdk_native-0.2.0-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: python-native.yml on dilithia/languages-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page