Start store guide

This commit is contained in:
Franck Royer 2021-08-02 15:46:14 +10:00
parent 319f44a0b1
commit f83f3037f1
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
2 changed files with 16 additions and 0 deletions

View File

@ -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)

View File

@ -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.