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

Uploaded CPython 3.12Windows x86-64

dilithia_sdk_native-0.1.0-cp312-cp312-manylinux_2_34_x86_64.whl (628.3 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ x86-64

dilithia_sdk_native-0.1.0-cp312-cp312-macosx_11_0_arm64.whl (573.1 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

dilithia_sdk_native-0.1.0-cp311-cp311-win_amd64.whl (509.5 kB view details)

Uploaded CPython 3.11Windows x86-64

dilithia_sdk_native-0.1.0-cp311-cp311-manylinux_2_34_x86_64.whl (631.3 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.34+ x86-64

dilithia_sdk_native-0.1.0-cp311-cp311-macosx_11_0_arm64.whl (575.5 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

File details

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

File metadata

File hashes

Hashes for dilithia_sdk_native-0.1.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 272bd5ea8e4d54841a490b5d7776ee63188355e5e21e9bcb6425212e0a0c482b
MD5 a0b4a7e1047bdfaf453b47d20c008127
BLAKE2b-256 38c277ae0795ab787d95287ad9d2487a420e54d0a74e472694c2e4ddd4e12c61

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dilithia_sdk_native-0.1.0-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 c007c047c0415a042bd17a224129dff0df755c887d6958d36734e2735e74429e
MD5 f365f7db0e9d65023693a3e6d871286e
BLAKE2b-256 2e458970c24417f0e1d86d4ff42540e22d68a419b3330c573e6acfd5a9b44dc3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dilithia_sdk_native-0.1.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 37d3239f634311866ca3f2c49256ff3fe8a575b53494945a207323815157c044
MD5 5bcca8bdd49fd7942082fbf76bad7293
BLAKE2b-256 974d7e73cbcb6bd0fde50b85132f5fe3868c7db9fdffaac22af1c852d7bdfa89

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dilithia_sdk_native-0.1.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 8c9b4916f1ee84276df668d3e95183f0f99fba374ada0ae7e80122c1b9db3cb7
MD5 03b11ee6e58a29c079a0882cfe1d9486
BLAKE2b-256 67a90d4c5d5b46bf60cd962d3dbffeec8d0b615c1f56ba064beeab4ff7e94263

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dilithia_sdk_native-0.1.0-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 86a5205b37b6d3f8704464b906829ec32dbba7c868ebd17a3ae9b35fcc7191f8
MD5 75fead8475439434c7083169cf3b1319
BLAKE2b-256 c56f24819f28e9f46909e99ea06557db9b4f53a88513138375e73eaf2b813996

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dilithia_sdk_native-0.1.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d027b010fa203767ccf5831621932e805d3fcc71e7809f0dc7d281d6ec959b80
MD5 92fece70f464716a1a1e88d7318a2dd2
BLAKE2b-256 9659ea1aa3b98dcd3a3a5340adff35fb6be97aca1ee939b2d779611b8e194c92

See more details on using hashes here.

Provenance

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