examples/quickstart/1-browser-to-browserdirectory to install the dependencies:
http://localhost:3000. The browser tab, representing the client peer, wants you to pick a relay node it, i.e., the browser client, can connect to and, of course, allows the peer to respond to the browser client. Select any one of the offered relays:
http://localhost:3000, select any one of the relays and copying the ensuing peer id and relay peer id to the first client peer, i.e. the first browser tab, and click the
aquadirectory and open the `
getting-started.aquafile in your IDE or terminal:
HelloPeerservice to send messages.
sayHellothat executes the
hellocall on the provided
targetPeerIdvia the provided
targetRelayPeerIdand returns the result (7-10). Recall the copy and paste job you did earlier in the browser tab for the peer and relay id? Well, you just found the consumption place for these two parameters.
src/_aquadirectory and open the
getting-started.tsfile and poke around a bit.
src/App.tsxfile relies on the generated `getting-started.ts` file (line 7):
HelloPeeris also implemented in the