# 区块链项目观察1-TBD

By [Glanger Li](https://paragraph.com/@glanger) · 2022-12-08

---

观察项目1-TBD
=========

> 地址： [https://www.tbd.website/](https://www.tbd.website/)

**简介**： TBD看着是在DID的基础上建立DEX的流动性协议，代码都在GitHub上。他有2个产品：tbDEX(流动性协议)和 WEB5(额外的去中心化网络).我对web5比较感兴趣，研究一下。

### WEB5

说明： [https://developer.tbd.website/docs/Decentralized](https://developer.tbd.website/docs/Decentralized) Web Platform - Public.pdf

组件
--

1.  实现标准：W3C的DiDs（[https://w3c.github.io/did-core/](https://w3c.github.io/did-core/)）
    
2.  实现：dwn-sdk-js ([https://github.com/TBD54566975/dwn-sdk-js](https://github.com/TBD54566975/dwn-sdk-js)) （客户端js）
    
    1.  实现规范：DIF([https://identity.foundation/decentralized-web-node/spec/](https://identity.foundation/decentralized-web-node/spec/))的实现
        
3.  服务：ssi-service（[https://github.com/TBD54566975/ssi-service）（服务端Go）](https://github.com/TBD54566975/ssi-service%EF%BC%89%EF%BC%88%E6%9C%8D%E5%8A%A1%E7%AB%AFGo%EF%BC%89)
    
    1.  DIDs和Verifiable Credential（[https://www.w3.org/TR/vc-data-model/](https://www.w3.org/TR/vc-data-model/)）
        
4.  SDK：ssi-sdk([https://github.com/TBD54566975/ssi-sdk](https://github.com/TBD54566975/ssi-sdk)) （集成sdk-Go）
    

初步Review代码
----------

### 服务端Go

服务端主要是开启服务，提供api，核心是ssi-service

![ssi-service主流程](https://storage.googleapis.com/papyrus_images/e3e01afe3be8cc967ea7daa9fa23faf14fb7d13cb9796d96f1438c91be4db1f4.png)

ssi-service主流程

### 核心服务

1.  `keyStoreService`
    
2.  `didService`
    
3.  `schemaService`
    
4.  `credentialService`
    
5.  `manifestService`
    
6.  `presentationService`
    
7.  `operationService`
    

个人感想：
-----

区块链果然是web2的延续，DiD的规范也是在web2的w3c标准下建立的。标准的建立给行业的发展提供了保障，DiD看着还挺有前途的。keep learnning, keep coding，keep building.

---

*Originally published on [Glanger Li](https://paragraph.com/@glanger/1-tbd)*
