# 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.
Raw data
{
"_id": null,
"home_page": null,
"name": "xchainpy2-crypto",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": null,
"keywords": "Crypto, THORChain, Blockchain, XChain",
"author": null,
"author_email": "Tirinox <developer@tirinox.ru>",
"download_url": "https://files.pythonhosted.org/packages/9b/0a/3c69f60f86801ad683586590bb3b500c33c8aec71e249f49848ef00f4a5a/xchainpy2_crypto-0.0.7.tar.gz",
"platform": null,
"description": "# How it works\nTypically keystore files encrypt a seed to a file, however this is not appropriate or UX friendly, since the phrase\ncannot be recovered after the fact.\n\nCrypto design:\n\n`[entropy] -> [phrase] -> [seed] -> [privateKey] -> [publicKey] -> [address]`\n\nInstead, XCHAIN-CRYPTO stores the phrase in a keystore file, then decrypts and passes this phrase to other clients:\n\n`[keystore] -> XCHAIN-CRYPTO -> [phrase] -> ChainClient`\n\nThe ChainClients can then convert this into their respective key-pairs and addresses. Users can also export their\nphrases after the fact, ensuring they have saved it securely. This could enhance UX onboarding since users aren't forced\nto write their phrases down immediately for empty or test wallets.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "XChainPy2 Crypto utils and keystore management",
"version": "0.0.7",
"project_urls": {
"source": "https://github.com/tirinox/xchainpy"
},
"split_keywords": [
"crypto",
" thorchain",
" blockchain",
" xchain"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "0e5241f5cc1b0e7c09d60d931d53529e7bca6336ac87d4536cf8eafaa2ad035a",
"md5": "a5b9ff28f5bd05fef3183f56d853bafc",
"sha256": "8057271150210e6333c16cb2a51477cd43b6dabc363c7f4b4eebf4fcaec7cb96"
},
"downloads": -1,
"filename": "xchainpy2_crypto-0.0.7-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a5b9ff28f5bd05fef3183f56d853bafc",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 8661,
"upload_time": "2024-05-31T14:22:57",
"upload_time_iso_8601": "2024-05-31T14:22:57.489114Z",
"url": "https://files.pythonhosted.org/packages/0e/52/41f5cc1b0e7c09d60d931d53529e7bca6336ac87d4536cf8eafaa2ad035a/xchainpy2_crypto-0.0.7-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "9b0a3c69f60f86801ad683586590bb3b500c33c8aec71e249f49848ef00f4a5a",
"md5": "b20dfdd322ec66f749d5318783f22a96",
"sha256": "75f40fa6c4e624b60a2ec492f5a7b8f77dcea4021b67aa669e557760eedd6c5f"
},
"downloads": -1,
"filename": "xchainpy2_crypto-0.0.7.tar.gz",
"has_sig": false,
"md5_digest": "b20dfdd322ec66f749d5318783f22a96",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 7911,
"upload_time": "2024-05-31T14:22:59",
"upload_time_iso_8601": "2024-05-31T14:22:59.944578Z",
"url": "https://files.pythonhosted.org/packages/9b/0a/3c69f60f86801ad683586590bb3b500c33c8aec71e249f49848ef00f4a5a/xchainpy2_crypto-0.0.7.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-05-31 14:22:59",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "tirinox",
"github_project": "xchainpy",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [
{
"name": "aiohttp",
"specs": [
[
"~=",
"3.9.2"
]
]
},
{
"name": "pytest",
"specs": [
[
"~=",
"7.4.0"
]
]
},
{
"name": "pydantic",
"specs": [
[
">=",
"2.4.2"
]
]
},
{
"name": "PyYAML",
"specs": [
[
"~=",
"6.0.0"
]
]
},
{
"name": "pytest-aiohttp",
"specs": []
},
{
"name": "build",
"specs": []
},
{
"name": "twine",
"specs": []
},
{
"name": "aioresponses",
"specs": [
[
"==",
"0.7.6"
]
]
},
{
"name": "requests-mock",
"specs": [
[
"==",
"1.11.0"
]
]
}
],
"lcname": "xchainpy2-crypto"
}