docs.waku.org/assets/js/8def2dd5.5f4c72ea.js
2025-10-03 11:14:33 +00:00

1 line
6.2 KiB
JavaScript

"use strict";(self.webpackChunkwaku_guide=self.webpackChunkwaku_guide||[]).push([[1833],{28453:(e,t,n)=>{n.d(t,{R:()=>a,x:()=>s});var r=n(96540);const o={},i=r.createContext(o);function a(e){const t=r.useContext(i);return r.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function s(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:a(e.components),r.createElement(i.Provider,{value:t},e.children)}},44004:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>c,contentTitle:()=>s,default:()=>d,frontMatter:()=>a,metadata:()=>r,toc:()=>l});const r=JSON.parse('{"id":"learn/index","title":"The Waku Network","description":"The Waku Network is a shared p2p messaging network that is open-access, useful for generalized messaging, privacy-preserving, scalable and accessible even to resource-restricted devices. Some of the most prominent features include:","source":"@site/docs/learn/index.md","sourceDirName":"learn","slug":"/learn/","permalink":"/learn/","draft":false,"unlisted":false,"editUrl":"https://github.com/waku-org/docs.waku.org/tree/develop/docs/learn/index.md","tags":[],"version":"current","lastUpdatedAt":null,"frontMatter":{"title":"The Waku Network","hide_table_of_contents":true,"displayed_sidebar":"learn"},"sidebar":"learn","next":{"title":"Protocols","permalink":"/learn/concepts/protocols"}}');var o=n(74848),i=n(28453);const a={title:"The Waku Network",hide_table_of_contents:!0,displayed_sidebar:"learn"},s=void 0,c={},l=[{value:"Why join the Waku network?",id:"why-join-the-waku-network",level:2},{value:"Prerequisites",id:"prerequisites",level:2},{value:"Running a Waku network node",id:"running-a-waku-network-node",level:2}];function u(e){const t={a:"a",admonition:"admonition",code:"code",h2:"h2",li:"li",ol:"ol",p:"p",strong:"strong",...(0,i.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(t.p,{children:"The Waku Network is a shared p2p messaging network that is open-access, useful for generalized messaging, privacy-preserving, scalable and accessible even to resource-restricted devices. Some of the most prominent features include:"}),"\n",(0,o.jsxs)(t.ol,{children:["\n",(0,o.jsx)(t.li,{children:"DoS/spam protection with privacy-preserving Rate-Limiting Nullifiers."}),"\n",(0,o.jsx)(t.li,{children:"Scalability by sharding traffic into 8 pubsub topics."}),"\n",(0,o.jsx)(t.li,{children:"Automatic shard selection based on content topic."}),"\n",(0,o.jsx)(t.li,{children:"Services for resource-restricted nodes, including historical message storage and retrieval, filtering, etc."}),"\n"]}),"\n",(0,o.jsx)(t.admonition,{type:"tip",children:(0,o.jsxs)(t.p,{children:["If you want to learn more about the Waku Network, ",(0,o.jsx)(t.a,{href:"https://blog.waku.org/2024-03-26-waku-network-tech-overview/",children:"The Waku Network: Technical Overview"})," article provides an in-depth look under the hood."]})}),"\n",(0,o.jsx)(t.h2,{id:"why-join-the-waku-network",children:"Why join the Waku network?"}),"\n",(0,o.jsxs)(t.ol,{children:["\n",(0,o.jsx)(t.li,{children:"Applications or projects can build decentralized communication components on this network, gaining from the fault-tolerance of shared infrastructure, the out-of-the-box censorship resistance of a p2p network and the privacy-preservation of Waku protocols."}),"\n",(0,o.jsx)(t.li,{children:"Supporters of public goods and decentralized infrastructure can run their nodes to support the network."}),"\n",(0,o.jsx)(t.li,{children:"We are also working on incentivisation vectors to encourage more node operators to provide services to the network."}),"\n"]}),"\n",(0,o.jsx)(t.h2,{id:"prerequisites",children:"Prerequisites"}),"\n",(0,o.jsxs)(t.ol,{children:["\n",(0,o.jsxs)(t.li,{children:[(0,o.jsx)(t.strong,{children:"Ethereum Sepolia HTTPS endpoint"}),", which can be yours or from a third party. Have a look at the ",(0,o.jsx)(t.a,{href:"https://github.com/waku-org/nwaku/blob/master/docs/tutorial/pre-requisites-of-running-on-chain-spam-protected-chat2.md#3-access-a-node-on-the-sepolia-testnet-using-infura",children:"Access a Sepolia Node Using Infura"})," guide for a free Infura option. This node is used to interact with the ",(0,o.jsx)(t.a,{href:"https://rfc.vac.dev/waku/standards/core/17/rln-relay/",children:"on-chain RLN membership contract"}),"."]}),"\n",(0,o.jsxs)(t.li,{children:[(0,o.jsx)(t.strong,{children:"Wallet with Sepolia Ethereum"})," (less than 0.1 Sepolia ETH). Have a look at the ",(0,o.jsx)(t.a,{href:"https://github.com/waku-org/nwaku/blob/master/docs/tutorial/pre-requisites-of-running-on-chain-spam-protected-chat2.md#1-create-a-sepolia-ethereum-account-and-obtain-its-private-key",children:"Create a Sepolia Ethereum Wallet"})," and ",(0,o.jsx)(t.a,{href:"https://github.com/waku-org/nwaku/blob/master/docs/tutorial/pre-requisites-of-running-on-chain-spam-protected-chat2.md#2-obtain-sepolia-eth-from-faucet",children:"Obtain Sepolia Ethereum from Faucet"})," guides to get a Sepolia wallet and fund it with some Sepolia Ethereum. This wallet is required to register ",(0,o.jsx)(t.a,{href:"https://rfc.vac.dev/waku/standards/core/17/rln-relay/#setup-and-registration",children:"RLN membership"}),", which is essential for publishing on the network."]}),"\n"]}),"\n",(0,o.jsx)(t.h2,{id:"running-a-waku-network-node",children:"Running a Waku network node"}),"\n",(0,o.jsxs)(t.p,{children:["Have a look at the ",(0,o.jsx)(t.a,{href:"/run-node/run-docker-compose",children:"Run Nwaku with Docker Compose"})," guide for instructions on running a ",(0,o.jsx)(t.a,{href:"https://github.com/waku-org/nwaku",children:"nwaku"})," node in the Waku Network. Use the Sepolia node and wallet you obtained above."]}),"\n",(0,o.jsx)(t.admonition,{type:"info",children:(0,o.jsxs)(t.p,{children:["The public Waku Network replaces the previous experimental shared routing layer based on a default pubsub topic (",(0,o.jsx)(t.code,{children:"/waku/2/default-waku/proto"}),"). If your project currently uses this or any other shared pubsub topics, we encourage you to migrate to the public Waku Network with built-in DoS protection, scalability, and reasonable bandwidth usage."]})})]})}function d(e={}){const{wrapper:t}={...(0,i.R)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(u,{...e})}):u(e)}}}]);