Skip to content

Commit

Permalink
chore: update lightclient examples to use waku prod fleet and readme …
Browse files Browse the repository at this point in the history
…to point to waku fleets
  • Loading branch information
chaitanyaprem committed Jan 13, 2025
1 parent 625c8ee commit 31cb109
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Within `examples/` you can find a `publisher` and a `subscriber`. The first one

**Some notes:**
* These examples are meant to work even if you are behind a firewall and you can't be discovered by discv5.
* You only need to provide a reachable bootstrap peer (see our [fleets](https://fleets.status.im/))
* You only need to provide a reachable bootstrap peer (see our [fleets](https://fleets.waku.org/))
* The examples are meant to work out of the box.
* Note that both services wait for some time until a given minimum amount of connections are reached. This is to ensure messages are gossiped.

Expand Down
6 changes: 3 additions & 3 deletions examples/filter_subscriber.nim
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import waku/[common/logging, node/peer_manager, waku_core, waku_filter_v2/client

const
FilterPeer =
"/ip4/34.16.1.67/tcp/30303/p2p/16Uiu2HAmDCp8XJ9z1ev18zuv8NHekAsjNyezAvmMfFEJkiharitG"
# node-01.gc-us-central1-a.waku.test.status.im on waku.test
"/ip4/188.166.135.145/tcp/30303/p2p/16Uiu2HAmL5okWopX7NqZWBUKVqW8iUxCEmd5GMHLVPwCgzYzQv3e"
# node-01.do-ams3.wakuv2.prod.status.im on waku.prod
FilterPubsubTopic = PubsubTopic("/waku/2/rs/0/0")
FilterContentTopic = ContentTopic("/examples/1/light-pubsub-example/proto")

Expand Down Expand Up @@ -65,7 +65,7 @@ proc maintainSubscription(
proc setupAndSubscribe(rng: ref HmacDrbgContext) =
let filterPeer = parsePeerInfo(FilterPeer).get()

setupLog(logging.LogLevel.NOTICE, logging.LogFormat.TEXT)
setupLog(logging.LogLevel.TRACE, logging.LogFormat.TEXT)
notice "starting filter subscriber"

var
Expand Down
4 changes: 2 additions & 2 deletions examples/lightpush_publisher.nim
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import waku/[common/logging, node/peer_manager, waku_core, waku_lightpush/client

const
LightpushPeer =
"/ip4/178.128.141.171/tcp/30303/p2p/16Uiu2HAkykgaECHswi3YKJ5dMLbq2kPVCo89fcyTd38UcQD6ej5W"
# node-01.do-ams3.waku.test.status.im on waku.test
"/ip4/188.166.135.145/tcp/30303/p2p/16Uiu2HAmL5okWopX7NqZWBUKVqW8iUxCEmd5GMHLVPwCgzYzQv3e"
# node-01.do-ams3.wakuv2.prod.status.im on waku.prod
LightpushPubsubTopic = PubsubTopic("/waku/2/rs/0/0")
LightpushContentTopic = ContentTopic("/examples/1/light-pubsub-example/proto")

Expand Down

0 comments on commit 31cb109

Please sign in to comment.