# crypto_treehole 加密树洞
树洞 Bot,基于 [Mixin Messenger](https://mixin.one/) 和 [Rum System](https://rumsystem.net/) 开发。
特点:
- 用户通过 mixin bot 作为内容发布入口
- 除了树洞内容,用户的任何隐私数据、行为数据均不采集或存储
- 树洞内容,将采用 Ethereum 规范的密钥签名,即时推送到 RUM 种子网络上链存储
部署时,有两种密钥方案可选择(修改 PRIVATE_KEY_TYPE 参数):
- DIFF: 每条树洞随机生成新密钥
- SAME: 所有树洞采用同一个密钥
### 部署
1、mixin bot:在 mixin 开发者后台申请创建,获得 session keystore 作为 MIXIN_BOT_KEYSTORE
2、seed url:通过 rum fullnode 创建 group 并生成轻节点 seedurl,或获取现有的 轻节点 seedurl
3、安装 crypto_treehole:```pip install crypto_treehole```
4、修改配置并运行:```python do_treehole.py &```
### Source
- Mixin python sdk https://github.com/nodewee/mixin-sdk-python
- quorum data module for python: https://github.com/liujuanjuan1984/quorum-data-py
- quorum mininode sdk for python: https://github.com/liujuanjuan1984/quorum-mininode-py
- and more ... https://github.com/okdaodine/awesome-quorum
### License
This work is released under the `MIT` license. A copy of the license is provided in the [LICENSE](https://github.com/liujuanjuan1984/crypto_treehole/blob/master/LICENSE) file.
Raw data
{
"_id": null,
"home_page": "https://github.com/liujuanjuan1984/crypto_treehole",
"name": "crypto-treehole",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "",
"keywords": "rumsystem,quorum,treehole,mixin",
"author": "liujuanjuan1984",
"author_email": "qiaoanlu@163.com",
"download_url": "https://files.pythonhosted.org/packages/ce/d6/c020ccfcecc3d3183588fdb00a84f247a4e398a93d88b8fcaa7b0f89c902/crypto_treehole-0.2.5.tar.gz",
"platform": null,
"description": "# crypto_treehole \u52a0\u5bc6\u6811\u6d1e\r\n\r\n\u6811\u6d1e Bot\uff0c\u57fa\u4e8e [Mixin Messenger](https://mixin.one/) \u548c [Rum System](https://rumsystem.net/) \u5f00\u53d1\u3002\r\n\r\n\u7279\u70b9\uff1a\r\n\r\n- \u7528\u6237\u901a\u8fc7 mixin bot \u4f5c\u4e3a\u5185\u5bb9\u53d1\u5e03\u5165\u53e3\r\n- \u9664\u4e86\u6811\u6d1e\u5185\u5bb9\uff0c\u7528\u6237\u7684\u4efb\u4f55\u9690\u79c1\u6570\u636e\u3001\u884c\u4e3a\u6570\u636e\u5747\u4e0d\u91c7\u96c6\u6216\u5b58\u50a8\r\n- \u6811\u6d1e\u5185\u5bb9\uff0c\u5c06\u91c7\u7528 Ethereum \u89c4\u8303\u7684\u5bc6\u94a5\u7b7e\u540d\uff0c\u5373\u65f6\u63a8\u9001\u5230 RUM \u79cd\u5b50\u7f51\u7edc\u4e0a\u94fe\u5b58\u50a8\r\n\r\n\u90e8\u7f72\u65f6\uff0c\u6709\u4e24\u79cd\u5bc6\u94a5\u65b9\u6848\u53ef\u9009\u62e9\uff08\u4fee\u6539 PRIVATE_KEY_TYPE \u53c2\u6570\uff09\uff1a\r\n\r\n- DIFF: \u6bcf\u6761\u6811\u6d1e\u968f\u673a\u751f\u6210\u65b0\u5bc6\u94a5\r\n- SAME: \u6240\u6709\u6811\u6d1e\u91c7\u7528\u540c\u4e00\u4e2a\u5bc6\u94a5\r\n\r\n### \u90e8\u7f72\r\n\r\n1\u3001mixin bot\uff1a\u5728 mixin \u5f00\u53d1\u8005\u540e\u53f0\u7533\u8bf7\u521b\u5efa\uff0c\u83b7\u5f97 session keystore \u4f5c\u4e3a MIXIN_BOT_KEYSTORE \r\n\r\n2\u3001seed url:\u901a\u8fc7 rum fullnode \u521b\u5efa group \u5e76\u751f\u6210\u8f7b\u8282\u70b9 seedurl\uff0c\u6216\u83b7\u53d6\u73b0\u6709\u7684 \u8f7b\u8282\u70b9 seedurl\r\n\r\n3\u3001\u5b89\u88c5 crypto_treehole\uff1a```pip install crypto_treehole```\r\n\r\n4\u3001\u4fee\u6539\u914d\u7f6e\u5e76\u8fd0\u884c\uff1a```python do_treehole.py &```\r\n\r\n### Source\r\n\r\n- Mixin python sdk https://github.com/nodewee/mixin-sdk-python\r\n- quorum data module for python: https://github.com/liujuanjuan1984/quorum-data-py\r\n- quorum mininode sdk for python: https://github.com/liujuanjuan1984/quorum-mininode-py \r\n- and more ... https://github.com/okdaodine/awesome-quorum\r\n\r\n### License\r\n\r\nThis work is released under the `MIT` license. A copy of the license is provided in the [LICENSE](https://github.com/liujuanjuan1984/crypto_treehole/blob/master/LICENSE) file.\r\n",
"bugtrack_url": null,
"license": "",
"summary": "a treehole bot server for mixin messenger and rum system (both crypto products)",
"version": "0.2.5",
"project_urls": {
"About Mixin": "https://github.com/MixinNetwork/mixin",
"About Quorum": "https://github.com/rumsystem/quorum",
"Bug Tracker": "https://github.com/liujuanjuan1984/crypto_treehole/issues",
"Github Repo": "https://github.com/liujuanjuan1984/crypto_treehole",
"Homepage": "https://github.com/liujuanjuan1984/crypto_treehole"
},
"split_keywords": [
"rumsystem",
"quorum",
"treehole",
"mixin"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "7206b652ab4a9704bd38d7d9082d82ffad4ccdc098d8653bf5932e9643c8132b",
"md5": "e7276c04894d4fe93d0d9b84e5c1c294",
"sha256": "c8975d11535f931fda5e0c6ff062f1038a1f9172c2dcac4ae81dba61ab6cebd2"
},
"downloads": -1,
"filename": "crypto_treehole-0.2.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e7276c04894d4fe93d0d9b84e5c1c294",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 6161,
"upload_time": "2023-12-04T07:36:20",
"upload_time_iso_8601": "2023-12-04T07:36:20.694348Z",
"url": "https://files.pythonhosted.org/packages/72/06/b652ab4a9704bd38d7d9082d82ffad4ccdc098d8653bf5932e9643c8132b/crypto_treehole-0.2.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "ced6c020ccfcecc3d3183588fdb00a84f247a4e398a93d88b8fcaa7b0f89c902",
"md5": "5f165c5f50f1d76211de9ee184c3b06b",
"sha256": "9a27eecff63b627670cb333816c5887ca0c175fbfa80ce6881bb49e663cc82a8"
},
"downloads": -1,
"filename": "crypto_treehole-0.2.5.tar.gz",
"has_sig": false,
"md5_digest": "5f165c5f50f1d76211de9ee184c3b06b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 5809,
"upload_time": "2023-12-04T07:36:22",
"upload_time_iso_8601": "2023-12-04T07:36:22.739003Z",
"url": "https://files.pythonhosted.org/packages/ce/d6/c020ccfcecc3d3183588fdb00a84f247a4e398a93d88b8fcaa7b0f89c902/crypto_treehole-0.2.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-12-04 07:36:22",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "liujuanjuan1984",
"github_project": "crypto_treehole",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "crypto-treehole"
}