-
Notifications
You must be signed in to change notification settings - Fork 650
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom operation plugin #1847
Comments
For reference, please check the "follow plugin" in Steem. With this plugin, Steem accounts can follow or ignore other accounts. https://github.com/steemit/steem/tree/master/libraries/plugins/follow |
I had some conversations with @abitmore on how to implement this plugin and i am going to give a try to it. I will pull request as soon as i have something to share, i expect to be on it this starting week. |
Is the idea to expand the current state to be able to include custom information for each account, or "only" a separate plugin that node operators can run that translates custom operation payload to be always accessible? If the UI or mobile would be making use of such a feature, it would need to be available for all nodes, thus should be feasible to enable as default without having RAM explode. |
The idea is to expand the current state, in a plugin, need API nodes to enable the plugin to be used by UI and mobile. |
It seems that there is progress, thank you to the core team. For the general purpose of ui and mobile, we also need to specify some standards. Of course, these can be discussed in terms of the final implementation of @oxarbitrage . |
There is going to be an informational BSIP similar to https://github.com/bitshares/bsips/blob/master/bsip-0060.md to specify some standards. However i will do that side by side with a prototype of the plugin as i a had not decided what will be the best standards yet. |
Is there a planned release date for version 3.3.0? |
Yes, see https://github.com/bitshares/bitshares-core/projects/18 . We're a little behind schedule though. :-/ |
AFAIK we have made good progress on this, but not ready for 3.3 release. So I moved this to next release. |
Finally a first version of the custom_operations plugin was merged at #1926 Specific problems will be handled in individual issues. Thank you :) |
Background
Currently, the account in bitshares cannot store any data information. Only store data via
custom op
.For example: contact information, custom market information, setting information, etc.
However, the data in
custom op
currently has no API interface for easy retrieval. So I hope to provide plugins for support.Requirements
API interface
Currently
custom op
mainly contains theid
anddata
fields. Consider reorganizing the data in the form of a hashmap. And provide several API query data:For the definition of
hash_key
, we can also draft a specification, such as0x01
at the beginning as contact information, etc., to facilitate mobile, ui and other client public data.For the organization of the data, everyone has other comments welcome.
API Server
Plugins can be considered to be enabled by default.
背景
目前bitshares中的account不能存储任何数据信息。只有通过
custom op
进行扩展操作。用于存储和account相关的数据。比如:联系人信息、自定义市场信息、设置信息等
但目前
custom op
中的数据没有方便检索的API接口。所以希望提供插件进行支持。需求
API接口
目前
custom op
主要包含id
和data
字段。考虑通过hashmap的形式重新组织数据。并提供几个API查询数据:对于
hash_key
的定义也可以起草一个规范,比如0x01
开头作为联系人信息等,方便mobile、ui以及其他客户端公用数据。对于数据的组织形式,大家有其他意见欢迎提出。
API服务器
插件可考虑默认启用。
@abitmore @oxarbitrage @ryanRfox
The text was updated successfully, but these errors were encountered: