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.3.0-cp312-cp312-win_amd64.whl (525.9 kB view details)

Uploaded CPython 3.12Windows x86-64

dilithia_sdk_native-0.3.0-cp312-cp312-manylinux_2_34_x86_64.whl (651.7 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ x86-64

dilithia_sdk_native-0.3.0-cp312-cp312-macosx_11_0_arm64.whl (599.7 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

dilithia_sdk_native-0.3.0-cp311-cp311-win_amd64.whl (529.9 kB view details)

Uploaded CPython 3.11Windows x86-64

dilithia_sdk_native-0.3.0-cp311-cp311-manylinux_2_34_x86_64.whl (655.4 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.34+ x86-64

dilithia_sdk_native-0.3.0-cp311-cp311-macosx_11_0_arm64.whl (601.5 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

File details

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

File metadata

File hashes

Hashes for dilithia_sdk_native-0.3.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 624e40b48209a3b32c55c661aea7f207c4fab2c5c670a4f666052c0bf5132b7a
MD5 b0f9748913e804af5f72970f5d4dcb1a
BLAKE2b-256 7bf7597c65e880b7b7f6297fdfa958d0e2b080bf7dc77e76fd96453f16bbc813

See more details on using hashes here.

Provenance

The following attestation bundles were made for dilithia_sdk_native-0.3.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.3.0-cp312-cp312-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for dilithia_sdk_native-0.3.0-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 7bbbd830b94cde3825061e2d5e507e80fe5bbb98e034ace67aaee5a110cf1b32
MD5 8e46d89fa69f31433f7556ba57d9145c
BLAKE2b-256 7583710d7466f72c7b8025a7dc36ff5f471b3d7b00c1e81796c66992043a543b

See more details on using hashes here.

Provenance

The following attestation bundles were made for dilithia_sdk_native-0.3.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.3.0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for dilithia_sdk_native-0.3.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a02464be5b71ff3d8d3fbfd07c3a6ef2769d157318c28af6d5a83563a83ae396
MD5 b5108ea155ebbe2695f8c983d755749a
BLAKE2b-256 b6d1bf21443430ddc3a57d2151515f44ab1e99ac8c7cb2d2662b4c111e087950

See more details on using hashes here.

Provenance

The following attestation bundles were made for dilithia_sdk_native-0.3.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.3.0-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for dilithia_sdk_native-0.3.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 54a1170a106670f27135c6c6e853bdd3c56268fc15b45c54417cc1a37dc8c534
MD5 b4b0466b24c13933e4921f4e4f7fc0f6
BLAKE2b-256 121a2cba5ad375ee6397185a0c5f1e58e9e7d3c39348baf07e0d5053820c8e8d

See more details on using hashes here.

Provenance

The following attestation bundles were made for dilithia_sdk_native-0.3.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.3.0-cp311-cp311-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for dilithia_sdk_native-0.3.0-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 c2a334f6b219109fbcdcd449a8362ed5893776e8f38c133c6edf4cd59439e045
MD5 ea768eafe7848fea80cc3efa7efbd293
BLAKE2b-256 d515291c63752f624e8540492601af69ad7117e13ad416f56e5ef115097c1945

See more details on using hashes here.

Provenance

The following attestation bundles were made for dilithia_sdk_native-0.3.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.3.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for dilithia_sdk_native-0.3.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ad2b238f5d907e2704f80a3cc9e5fed444b897472f0842197c249635a19169fe
MD5 59933fdeea291ff2467446a9319e67de
BLAKE2b-256 65ab98d3245d53f47f53509876f29285e73a849ed84bf241f4d94e2570c7b6b4

See more details on using hashes here.

Provenance

The following attestation bundles were made for dilithia_sdk_native-0.3.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