{ "info": { "author": "huangyi", "author_email": "yi.codeplayer@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "Python-Cardano\n==============\n\nPython implementation of Cardano project, including network protocol, crypto primitives, wallet logic, and more.\n\nWhy This Project\n----------------\n\n* We want to explore alternate design decisions to support lightweight wallet, and start developing the mobile wallet for Cardano. Current official wallet node is not enough yet.\n* Explore the design space of clustered wallet node.\n* Provide alternative implementation of Cardano protocols and specifications in another programming language.\n* In the future, it could be an alternative foundation for projects in Cardano ecosystem: wallets, side-chains, MPCs.\n\nWhy Python\n----------\n\nPython is still one of the most cleanly designed, developer friendly programming language out there, has a reputation of\nexecutable pseudocode. And lightweight thread provided by gevent makes it suitable to write networking software, and easy\ninteroperability with C thanks to Cython enables us to improve performance incrementally.\n\nWith python, we can develop clean prototype very fast, with good performance. And in the future we can always move the CPU intensive code to C\nafter we indentified the hotspot.\n\nBuild & Test\n------------\n\n.. code-block:: shell\n\n $ virtualenv -p python3 .env\n $ source .env/bin/activate\n $ pip install -r requirements.txt\n $ python setup.py build_ext --inplace\n\n $ mkdir ./test_db\n $ python scripts/pycardano.py run\n sync block data from mainnet and subscribing for new blocks automatically.\n $ python scripts/pycardano.py wallet create default\n generate wallet\n\nFeatures\n--------\n\n* Store block data of different epochs in seperate rocksdb database, provides better disk usage(fully synchronized mainchain takes 1.3G disk space), and allows faster synchronization in the future.\n* ``pycardano.py sign`` sign a message with wallet, prove an wallet address belongs to you.\n* ``pycardano.py verify`` verify a signed message.\n* ``pycardano.py utxo stat`` Some statistics of global UTxOs.\n\nModules\n-------\n\n* ``cardano.address``\n\n Implement Cardano HD address derivation and encoding, and wallet recovering for lagacy address format.\n\n* ``cardano.transport``\n\n Implement Haskell's network-transport-tcp, multiplex multiple lightweight unidirectional connections on a single tcp connection.\n\n* ``cardano.node``\n\n Implement cardano-sl's ``Node``, allow bidirectional conversation between endpoints.\n\n* ``cardano.storage``\n\n Storage api of block and wallet's data.\n\n* ``cardano.block``\n\n Block data structures.\n\n* ``cardano.logic``\n\n Workers and listeners of default node.\n\n* ``cardano.retrieve``\n\n Retrieve block data with cardano-sl mainnet.\n\n* ``cardano.wallet``\n\n Implement wallet logic according to formal specification.\n\nTODOs\n-----\n\n* wallet state storage, a simple solution first, hopefully something like Haskell's acid-state in the end.\n* block verification.\n* relay block data with stream api.\n* wallet cli app.\n* wallet V1 api and api for SPV light client.\n* clustered wallet storage.", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/safeada/python-cardano", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "python-cardano", "package_url": "https://pypi.org/project/python-cardano/", "platform": "OS Independent", "project_url": "https://pypi.org/project/python-cardano/", "project_urls": { "Homepage": "https://github.com/safeada/python-cardano" }, "release_url": "https://pypi.org/project/python-cardano/1.0.1/", "requires_dist": null, "requires_python": "", "summary": "implement Cardano blockchain project in python", "version": "1.0.1" }, "last_serial": 4451258, "releases": { "1.0.1": [ { "comment_text": "", "digests": { "md5": "002ea8d88bccacb06cdc6ea0aa3ddb32", "sha256": "826fa4709d905e5c8875e840a0e60891c15020edd1851c5c90ad663c25dd126b" }, "downloads": -1, "filename": "python-cardano-1.0.1.tar.gz", "has_sig": false, "md5_digest": "002ea8d88bccacb06cdc6ea0aa3ddb32", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1261415, "upload_time": "2018-11-05T02:15:30", "url": "https://files.pythonhosted.org/packages/d4/9d/d221f219fbc01fccdbf744d974dd107a81a3b6f5f3732b0ec9757be0e411/python-cardano-1.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "002ea8d88bccacb06cdc6ea0aa3ddb32", "sha256": "826fa4709d905e5c8875e840a0e60891c15020edd1851c5c90ad663c25dd126b" }, "downloads": -1, "filename": "python-cardano-1.0.1.tar.gz", "has_sig": false, "md5_digest": "002ea8d88bccacb06cdc6ea0aa3ddb32", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1261415, "upload_time": "2018-11-05T02:15:30", "url": "https://files.pythonhosted.org/packages/d4/9d/d221f219fbc01fccdbf744d974dd107a81a3b6f5f3732b0ec9757be0e411/python-cardano-1.0.1.tar.gz" } ] }