वाच्、ワク2和以太坊的訊息傳遞

Vac, Waku v2 and Ethereum Messaging


介紹

Introduction

  • Waku v2
  • Ethereum/Swarm/Whisper
  • 三位一體(Holy Trinity), Web3

小小的故事和背景

Brief history and background

  • Vac協議研究的研發團體 (protocol research R&D group)
  • p2p、模組化 (modularity)、隱私 (privacy)、
    安全 (security)、無審查通訊 (censorship-resistance)
  • Whisper復刻 (fork) -> Waku v1 [talk]

Waku v2

bak-kuh bak-kuh!


概述

Overview

  • 一套協議 Set of protocols
  • 一組實現 Set of implementations
  • 網路節點 Network of nodes

目標

Goals

  • 普遍的訊息傳遞 Generalized messaging
  • 點對點 Peer-to-peer
  • 資源受限 Resource restricted
  • 隱私 Privacy
  • 模組化 Modularity

協議

Protocols

  • 10/WAKU2
  • 11/RELAY - GossipSub
  • 13/STORE
  • 14/MESSAGE
  • rfc.vac.dev
(還有Also:基於內容的過濾 content-based filtering、橋街模式到bridge to Waku 1、JSON RPC API、RLN zkSNARKS垃圾郵件保護 spam protection、於SWAP的記帳結算 accounting and settlement、容錯儲存節點 fault tolerant store protocol、主題使用的建議等等 topic usage recommendations, etc.)

實現

Implementations

  • nim-waku
  • js-waku
  • go-waku

測試網迴籠和率先使用產品

Testnet Huilong and dogfooding



Toy chat


研究

Research

  • zkSNARKS RLN 保護避免垃圾郵件,保護隱私 (privacy-preserving spam prevention)
  • SWAP記帳和結算 (accounting and settlement)
  • STORE協議的狀態同步 (state synchronization)
  • 更好節點發現 (node discovery)
  • 更嚴格的隱私分析 (rigorous privacy analysis)
  • 改進錢包跟DApps的互動
    (better interaction with wallets and DApps)

應用

Use cases


序幕:Waku 2中的主題

Prelude: Topics in Waku v2

  • PubSub主題用於路由 (PubSub topics routing)
    • /waku/2/default-waku/proto
  • 內容主題 (Content topics)
    • /toychat/2/huilong/proto
  • 23/TOPIC-RECOMMENDATIONS

Status APP

  • Waku 2內容主題、Waku 1中的主題差不多
    Waku v2 content topic ~ Waku v1 topic
  • 聯絡代碼主題, X3DH捆綁包, 被分割
    Contact code topic, X3DH bundle, partitioned
  • 公開對談 (public chat topic)
  • DHKE延伸一對一的協商主題
    Negotiated topic for 1:1 chat
  • specs.status.im/spec/10

DappConnect: 以太坊訊息傳遞 Ethereum messaging

  • 多重簽名和DAO投票,一筆鏈上操作交易
    Multisig and DAO voting, one on-chain tx
  • DApps 向用戶推播
    Give ability for DApps to notify users
  • 讓用戶直接回應DApps的要求
    Allow users to respond directly to requests
  • 去中心化 WalletConnect
    Decentralized WalletConnect
  • 等等 etc

WalletConnect v2

WalletConnect v2 spec


更多例如

More examples

  • 無瓦斯投票 鏈下集合
    Gas-less voting, aggregation off-chain
  • 玩家發現機制DApp遊戲
    Player Discovery for DApp games
  • 使用以太坊金鑰向某人傳送加密訊息
    Send encrypted messages with Ethereum key
  • 你自己的DApp在這裡
    Your own DApp here

貢獻

Contribute


結論

Conclusion

  • Web3, Waku
  • 協議、實現、測試網、研究
    Protocols, implementations, testnet, research
  • Waku 應用
    Waku use cases

謝謝

Thanks

Select a repo