Skip to main content

XChainPy2 Crypto utils and keystore management

Project description

How it works

Typically keystore files encrypt a seed to a file, however this is not appropriate or UX friendly, since the phrase cannot be recovered after the fact.

Crypto design:

[entropy] -> [phrase] -> [seed] -> [privateKey] -> [publicKey] -> [address]

Instead, XCHAIN-CRYPTO stores the phrase in a keystore file, then decrypts and passes this phrase to other clients:

[keystore] -> XCHAIN-CRYPTO -> [phrase] -> ChainClient

The ChainClients can then convert this into their respective key-pairs and addresses. Users can also export their phrases after the fact, ensuring they have saved it securely. This could enhance UX onboarding since users aren't forced to write their phrases down immediately for empty or test wallets.

Documentation

👉 https://xchainpy2.readthedocs.io/en/latest/packages/xchainpy2_crypto.html

Project details


Download files

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

Source Distribution

xchainpy2_crypto-0.1.1.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

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

xchainpy2_crypto-0.1.1-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file xchainpy2_crypto-0.1.1.tar.gz.

File metadata

  • Download URL: xchainpy2_crypto-0.1.1.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.13

File hashes

Hashes for xchainpy2_crypto-0.1.1.tar.gz
Algorithm Hash digest
SHA256 176846b34ffdaa53e0c63fca13d2ecebec948a2dd597cc52553085076c3ea5a3
MD5 4e96e000626fd1174e5a94e398ff8045
BLAKE2b-256 e20578abb5061f9736cf7599d5e2e87995d2a86b0fded8975981fc9ea645a7b1

See more details on using hashes here.

File details

Details for the file xchainpy2_crypto-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for xchainpy2_crypto-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f342039f093be2955c1f9b3879baa53e72dbc7412ce187dc2d06f2f40edfb19c
MD5 7f283296e21108430333d12bc71c915b
BLAKE2b-256 54947215d0e7fafd345550bee2ca660be0cc85f9157998fe448f4fc7298e269e

See more details on using hashes here.

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