bitshares / bitshares/python-bitshares

Implement Blind Transfers

未关闭
#77 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
162
派生
164
PR 合并指标
30 天内没有已合并 PR

描述

After shedding some tears, I've managed to get blind transfers working. Sadly, the whole affair is not a matter of a simple/single pull-request. (Although if you think otherwise, please take a look [here])

[here]: https://github.com/bitshares/python-bitshares/compare/develop...jhtitor:develop?expand=1

Here's the breakdown:
- [x] PrivateKey class needs a few new crypto methods. [graphene_pr64]
- [x] PublicKey class needs a few new crypto methods (secp256k1 dependency there). [graphene_pr66]
- [ ] Pedersen/Rangeproof commitments must be implemented. I've wrapped libsecp256k1-zkp from bitshares-core to do this. [secp256k1prp] (*Ideally, a pure-python implementation is required*)
- [ ] Storage class must be expanded to keep the receipts/balances.
- [ ] Few `GrapheneObject`s must be read from wire bytestream back into memory. [graphene_pr65]
- [ ] Local fee calculator must be added. [fee_calc]

[graphene_pr64]: https://github.com/xeroc/python-graphenelib/pull/64
[graphene_pr66]: https://github.com/xeroc/python-graphenelib/pull/66
[secp256k1prp]: https://github.com/jhtitor/secp256k1prp-py
[graphene_pr65]: https://github.com/xeroc/python-graphenelib/pull/65
[fee_calc]: https://github.com/bitshares/python-bitshares/pull/91

贡献指南

打开贡献指南

调研方向

从 issue 分解中的未勾选项开始,并审查关联的 secp256k1prp、graphene_pr65 和 fee_calc 工作。该 issue 没有列出 repository 文件或测试,因此请先确定 Storage、GrapheneObject 和费用计算的相关入口点。完成意味着剩余的检查清单项已实现,并且 blind transfers 能够端到端工作。

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
blockchain
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
15/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。