{ "info": { "author": "Fabrica Inc.", "author_email": "info@fabrica.city", "bugtrack_url": null, "classifiers": [], "description": "## installation\n\nThe Fabrica SDK can be installed directly from PyPi with:\n\n```\npip install fabricasdk\n```\n\n## configuration\n\nThe Fabrica SDK uses a config file to determine which network, network settings and accounts should be used when calling the SDK's methods.\n\nBelow is an example of a config file that uses the Rinkeby test network.\n\n```\n#rinkeby-config.json\n\n{\n \"private_key\":\"\",\n \"cosigner_address\": \", , token_id, cosign=False)\nprint(receipt)\n\ntoken=fabrica.token.get_token(token_id)\nprint(\"token: {}\".format(token))\n```\n\n## Usage multisig\n\nBelow are examples of how do perform the following basic functions with the sdk: minting a token, updating a token and transferring a token with a multisig wallet (including creation of the multisig wallet).\n\n```\n#minting a token\n\n#create a unique token id\ntoken_id = int(time.time())\n\n#set customer address. note: this should be a valid ethereum address\n\ncustomer_address = \"0x94bebe960a5de83911e901b309bd7dfb1cd7a679\"\n\n#create multisig wallet\n\nreceipt = fabrica.factory.create(customer_address)\n\nprint(receipt)\n\n\n#call the mint method of the SDK using cosign with a token id, geohash(string), holding entity(string), tokenuri (string)\n\n#NOTE: the tokenURI points to a metadata object for the property(address, legal description and link to the formation legal document). Creation of the metadata object will be included in the next version of the SDK, along with conversion of lat/lng geocords to geohash.\n\nreceipt = fabrica.token.mint(token_id, \"geoHash\", \"holdingEntity\", \"ipfs:/ipfs/whatever\", customer_address=customer_address )\n\n#verify that the token was successfully minted\ntoken = fabrica.get_token(token_id)\nprint(\"token: {}\".format(token))\n\n#call the update method of the SDK using cosign with a token id, holding entity (string), and tokenuri (string)\n\nreceipt = fabrica.token.update_token(token_id, \"otherEntity\", \"otherUri\", customer_address=customer_address)\nprint(receipt)\n\n#verify that the token was successfully updated\ntoken = fabrica.token.get_token(token_id)\nprint(\"token: {}\".format(token))\n\n#call the transfer_from method of the SDK using cosign with the address of the existing token holder(your address), the address that you are sending the token to and the token_idself.\n\nreceipt = fabrica.token.transfer_from(, , token_id, customer_address=customer_address)\nprint(receipt)\n\ntoken=fabrica.token.get_token(token_id)\nprint(\"token: {}\".format(token))\n```\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "fabricasdk", "package_url": "https://pypi.org/project/fabricasdk/", "platform": "", "project_url": "https://pypi.org/project/fabricasdk/", "project_urls": null, "release_url": "https://pypi.org/project/fabricasdk/0.2.0/", "requires_dist": [ "ecdsa (==0.13)", "ipfsapi (==0.4.3)", "requests (==2.19.1)", "rfc3986 (==1.1.0)", "web3 (==4.6.0)" ], "requires_python": "", "summary": "fabrica sdk", "version": "0.2.0" }, "last_serial": 4419959, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "558dcb33ae6bfb0b29e831d631e9e43d", "sha256": "d1317d10b2df213300fa1d12b6d55a36e6344e5e7726b91837d2fc841504465d" }, "downloads": -1, "filename": "fabricasdk-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "558dcb33ae6bfb0b29e831d631e9e43d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 21595, "upload_time": "2018-10-17T18:22:46", "url": "https://files.pythonhosted.org/packages/02/e9/b18a85884ee8f40d1415816bb386cfc893bb3bece7a73c26603eaa82def3/fabricasdk-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "39aaf4e20214a4575056283d01f8e8fe", "sha256": "22f641586cf1e162f629972af121a9fcefc15c41897dce863541a87d3dac8284" }, "downloads": -1, "filename": "fabricasdk-0.1.0.tar.gz", "has_sig": false, "md5_digest": "39aaf4e20214a4575056283d01f8e8fe", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19907, "upload_time": "2018-10-17T18:22:48", "url": "https://files.pythonhosted.org/packages/3a/c3/38b09ea3c2a7d47ed7b32d0b4a1248506ac91be52bdd98afdbc02ad09c03/fabricasdk-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "027aeb489d90ed64b54a15478f657f4b", "sha256": "8baa988958191511e4b65887db1291571395232e777bdd3d1d4f642bf54e55cd" }, "downloads": -1, "filename": "fabricasdk-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "027aeb489d90ed64b54a15478f657f4b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 22129, "upload_time": "2018-10-17T18:25:31", "url": "https://files.pythonhosted.org/packages/c3/1e/503b40f4ecee146a944a0ef17a92b600d9a20f4297120f6c0eabb715247d/fabricasdk-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c587a54edc378358b8f832cf64e84121", "sha256": "e383c4b5fe08b2bc9e9f6c5457bbc4f04349d34084ec51a4f7ffc9cbbbd6432a" }, "downloads": -1, "filename": "fabricasdk-0.1.1.tar.gz", "has_sig": false, "md5_digest": "c587a54edc378358b8f832cf64e84121", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21076, "upload_time": "2018-10-17T18:25:33", "url": "https://files.pythonhosted.org/packages/1b/10/6be68725eaa38d28b3fd56ac14316685067cafc778d6621a43a0dde9ebbf/fabricasdk-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "0cf78c39de48f6655bdea48257b99ecf", "sha256": "674f4af6d6938320a8d03e1520287c7644a2e6b6636c81a5ce82bcf6bb3853fb" }, "downloads": -1, "filename": "fabricasdk-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "0cf78c39de48f6655bdea48257b99ecf", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 22132, "upload_time": "2018-10-17T18:39:47", "url": "https://files.pythonhosted.org/packages/70/94/a6ff65a23322acf8a77f375a89381ab917ba3a6b03740541de71f6e42c03/fabricasdk-0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "509a1a8f9c3f37130b1811754d58c576", "sha256": "825823a4655f6d45273ae9c0905cbdc373f27fd9e4fa8da1f8b4f890fb381184" }, "downloads": -1, "filename": "fabricasdk-0.1.2.tar.gz", "has_sig": false, "md5_digest": "509a1a8f9c3f37130b1811754d58c576", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21087, "upload_time": "2018-10-17T18:39:49", "url": "https://files.pythonhosted.org/packages/85/54/04d9486e1ada6fb92da6f98e59287884c17d2abbaee436aab0a351031bb1/fabricasdk-0.1.2.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "5e925bf099e2fd2f3a29e5de7d8a9a8d", "sha256": "40ce963f5c9443402170a87d902fb15baf3f87ea98bffd2482214d91a4c537f9" }, "downloads": -1, "filename": "fabricasdk-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "5e925bf099e2fd2f3a29e5de7d8a9a8d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 24610, "upload_time": "2018-10-26T16:33:23", "url": "https://files.pythonhosted.org/packages/3f/e2/660344054cf989385260cac63d36a906d95e4c4d696c1da9b809ffeaa959/fabricasdk-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5ebf3f7a08e7247f5fe3713aa9fa07a3", "sha256": "dfb738ce48839af8ec86784b80afd3e1014907e98e5c8c523b5db936be6349c5" }, "downloads": -1, "filename": "fabricasdk-0.2.0.tar.gz", "has_sig": false, "md5_digest": "5ebf3f7a08e7247f5fe3713aa9fa07a3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22374, "upload_time": "2018-10-26T16:33:24", "url": "https://files.pythonhosted.org/packages/c9/8c/9fe3f44367fc4b2fb816c5147825131594377ee9fe8b4d376897a3d4a8fd/fabricasdk-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5e925bf099e2fd2f3a29e5de7d8a9a8d", "sha256": "40ce963f5c9443402170a87d902fb15baf3f87ea98bffd2482214d91a4c537f9" }, "downloads": -1, "filename": "fabricasdk-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "5e925bf099e2fd2f3a29e5de7d8a9a8d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 24610, "upload_time": "2018-10-26T16:33:23", "url": "https://files.pythonhosted.org/packages/3f/e2/660344054cf989385260cac63d36a906d95e4c4d696c1da9b809ffeaa959/fabricasdk-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5ebf3f7a08e7247f5fe3713aa9fa07a3", "sha256": "dfb738ce48839af8ec86784b80afd3e1014907e98e5c8c523b5db936be6349c5" }, "downloads": -1, "filename": "fabricasdk-0.2.0.tar.gz", "has_sig": false, "md5_digest": "5ebf3f7a08e7247f5fe3713aa9fa07a3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22374, "upload_time": "2018-10-26T16:33:24", "url": "https://files.pythonhosted.org/packages/c9/8c/9fe3f44367fc4b2fb816c5147825131594377ee9fe8b4d376897a3d4a8fd/fabricasdk-0.2.0.tar.gz" } ] }