How to architecture a dapp that base on EOS

in #eos6 years ago

好久不写英文了 不顺手 还是中文吧

怎么架构一个基于Eos的Dapp?
我理解 是把一个app原本需要做的事情 都一一分解成独立的功能点,这些功能点自带数据结构,在EOS主链上用智能合约去实现相关功能,然后通过消息将这些智能合约串起来。

比如 我要开发一个 Steemit,那么发博客是一个智能合约,里面ABI文件相当于传统app的数据表结构,那么当用户发送一条博客,相当于触发一个EOS调用,send 一个message ,然后执行对应的智能合约(完成博客发布,数据存储等相关业务逻辑); 对应的回帖也是一个智能合约。

如有不正确 请不吝指正

Sort:  

Congratulations @ifrank, you have decided to take the next big step with your first post! The Steem Network Team wishes you a great time among this awesome community.


Thumbs up for Steem Network´s strategy

The proven road to boost your personal success in this amazing Steem Network

Do you already know that awesome content will get great profits by following these simple steps, that have been worked out by experts?

Coin Marketplace

STEEM 0.17
TRX 0.16
JST 0.031
BTC 60840.29
ETH 2577.70
USDT 1.00
SBD 2.57