diff --git a/guides/menu.md b/guides/menu.md index 02f7a0c583..4cd0487044 100644 --- a/guides/menu.md +++ b/guides/menu.md @@ -3,3 +3,4 @@ - [Receive and Send Messages Using Waku Relay](relay-receive-send-messages.md) - [How to Choose a Content Topic](choose-content-topic.md) - [Receive and Send Messages Using Waku Relay With ReactJS](reactjs-relay.md) +- [Retrieve Messages Using Waku Store](store-retrieve-messages.md) diff --git a/guides/store-retrieve-messages.md b/guides/store-retrieve-messages.md new file mode 100644 index 0000000000..df9ef38c5e --- /dev/null +++ b/guides/store-retrieve-messages.md @@ -0,0 +1,15 @@ +# Retrieve Messages Using Waku Store + +When running a web dApp or a mobile phone application, +internet can be unreliable disconnect. + +[Waku Relay](https://rfc.vac.dev/spec/18/) is a gossip protocol. +As a user, it means that your peers send you messages they just received, +and you in turn forward these messages. +If you cannot be reached by your peers, then messages are not relayed; +relay peers do not save messages for later. +However, [store](https://rfc.vac.dev/spec/13/) peers to save messages they relayed, +allowing you to retrieve messages you may have missed. + +In this guide, we'll review how you can use Waku Store to retrieve messages when loading the dApp +or after resuming connectivity.