Cos72 Shop Module Design(craft)
    Thinking about D-comerce
    October 7, 2024

    Cos72 Shop模块

    1. 开店的模块,帮助社区开始自己的链上Shop
    2. 社区—>多店铺
    3. 店铺—>多商品
    4. 商品基础
      1. 商品信息
      2. 商品价格
      3. 商品库存
      4. 商品维护:是否仅仅提供商品信息追加,不提供修改(IPFS和链上无法修改);价格可以修改,链上修改;库存可以修改,也可以设置为无限;
    5. 商品分润模式
      1. 捐赠模式,指定商品在某段时间内自动捐赠到某个指定国库中(可以多捐赠同时发生)
      2. 多方分润,和捐赠类似,需要设定后自动执行,需要设定有效期
    6. 支付服务服务
      1. 基础支付服务:基于AAStar Account安全机制保护下的链上支付,包括ETHPaymaster的免gas交易服务,包括扫码支付、链接支付等更多的服务。
      2. 交易消息通知:收款到账通知,支付(动账)通知,交易状态通知(更多依赖交易状态设计)
      3. Token红包:类似于传统的红包
      4. AA分账支付:一个链接,显示总账、需要支付的人名list和金额,以及是否支付的状态。
      5. 交易退款:因为各种原因,全额或者部分退款,原路返回,需要seller和buyer协商后seller执行。
    7. 销售模式
      1. 默认所有AAstar账户体系是免gas(链上包油),实际成本需要Shop支付
      2. Pay and get:适用于现场销售的场景,例如实物店铺、线下摊位等
      3. Pay and ship: 去中心的电商,需要有众多的去中心服务商来保障全流程
      4. Pay and get online: 适用于链上资产,上架等于锁定数字资产,支付则自动transfer到支付账户(可以指定另外的账户接收)。
    8. 链上交易的风险
      1. 付款后卖家不发货
      2. 商品质量纠纷
      3. 商品售后保障
      4. 大额交易的账期和确保支付
      5. 交易保险:覆盖来回运费和破损修复等等。
    9. V0.1在本次Devcon,ETHGlobal开始之前,交付版本
      1. 基础建设完成:账户安全(BLS+DVT),流程简单(无Gas+Email登录),搭建快速(店铺+商品+交易+通知)

      2. 快速开店:在页面引入Cos72.js,然后注册一个社区,开始一个获得多个店铺

      3. 任何社区可以通过在页面引入Cos72.js,展示自己的店铺,也是用户的快速注册和登录入口。

      4. 任何商品信息,都在链上合约或者IPFS上,商品合约要存储IPFS hash信息

      5. 先支持Pay and go销售模式,当面销售

    ================

    Cos72 Shop module

    1. Module to open a store and help the community to start their own chain Shop
    2. Community->Multi-Shop
    3. Shop->Multi Merchandise
    4. Product Basics
      1. product information
      2. Product Price
      3. Product Inventory
      4. Commodity Maintenance: Whether just provide commodity information to append, no modification (IPFS and Chain can not be modified); Price can be modified, Chain can be modified; Inventory can be modified, or can be set to unlimited;
    5. Commodity profit-sharing mode
      1. donation mode, the designated commodity in a certain period of time automatically donated to a designated treasury (can be more donations at the same time)
      2. Multi-party profit sharing, similar to donations, need to set the automatic implementation, need to set the expiration date
    6. Payment Services
      1. basic payment service: based on the chain payment under the protection of AAStar Account security mechanism, including ETHPaymaster's gas-free transaction service, including code scanning payment, link payment and more services.
      2. transaction message notification: notification of receipt arrival, notification of payment (moving account), notification of transaction status (more dependent on transaction status design)
      3. Token red envelope: similar to traditional red envelope
      4. AA Split Payment: a link that shows the general ledger, the list of people to be paid and the amount, and the status of whether the payment is made or not.
      5. transaction refund: for various reasons, full or partial refund, the original way back, need to seller and buyer consultation after seller execution.
    7. sales mode
      1. default all AAstar account system is free of gas (chain package oil), the actual cost needs to be paid by Shop
      2. pay and get: applicable to on-site sales scenarios, such as physical stores, offline booths, etc. 3. pay and ship: decentralized sales model, with the buyer negotiating with the seller.
      3. Pay and ship: decentralized e-commerce, need to have a lot of decentralized service providers to protect the whole process.
      4. Pay and get online: applicable to on-chain assets, on-shelf is equivalent to locking the digital assets, and payment is automatically transferred to the payment account (another account can be designated to receive it).
    8. Risks of on-chain transactions
      1. Seller does not deliver the goods after payment
      2. disputes over the quality of commodities
      3. After-sale protection of commodities
      4. Accounting period and ensuring payment for large transactions
      5. Transaction insurance: covering round-trip shipping costs and damage repair, etc.
    9. V0.1 before this Devcon, ETHGlobal start, delivery version
      1. Infrastructure complete: account security (BLS+DVT), simple process (no Gas+Email login), quick setup (store+products+transactions+notifications)
      2. Quick store: introduce Cos72.js on the page, then register a community and start one to get multiple stores
      3. any community can show their own store by introducing Cos72.js in the page, it is also a fast registration and login entrance for users.
      4. any commodity information, on the chain contract or IPFS, commodity contract to store IPFS hash information
      5. first support Pay and go sales mode, face-to-face sales
    Share with the post url and description