nebulasio / wiki

This repository is out of date, please check the new wiki:
http://wiki.nebulas.io/en/latest/
GNU General Public License v3.0
421 stars 154 forks source link

Is it possible to return an array of data from a smart contract? #90

Open yangboz opened 6 years ago

yangboz commented 6 years ago

According the wiki from Introducing Smart Contract Storage , And How about a Array/List data structure support? If could be, many DApps will coming soon or later.

ChengOrangeJu commented 6 years ago

@yangboz Issue https://github.com/nebulasio/go-nebulas/issues/87 provide a solution

yangboz commented 6 years ago

OK, base on this solution, we submitted a "ImmutablePinBoard", but after reviewing, we got "重复类型提交", Does it means duplicated on javascript application, or javascript codebase copy-pasted ?

weiht12 commented 5 years ago

你好,此版本为星云旧版wiki,欢迎将您的问题提交星云新版wiki,以便于及时与星云开发人员及其他社区开发者进行交流。同时,参与wiki的编辑维护工作还会有奖励哦。新版wiki链接:https://wiki.nebulas.io/en/latest/ (英文);https://wiki.nebulas.io/zh_CN/latest/ (中文) Hello, this version is the nebulas old wiki (later stop maintenance), welcome to submit your question to the new nebulas wiki, in order to get timely answers. At the same time, there will be rewards for editing and maintaining the wiki. New wiki link: https://wiki.nebulas.io/en/latest/ (English); https://wiki.nebulas.io/zh_CN/latest/ (Chinese)