You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[`nim-peer`](./nim-peer/)| Chat peer implemented in Nim | ❌ | ❌ | ❌ | ❌ | ✅ |
29
31
30
32
✅ - Protocol supported
31
33
❌ - Protocol not supported
@@ -42,8 +44,7 @@ There are two ways to connect to a peer:
42
44
43
45
Load the UI, and enter the multiaddr into the UI. Ensure that it includes the peerID, e.g.`/ip4/192.168.178.21/udp/61838/quic-v1/webtransport/certhash/uEiCQCALYac4V3LJ2ourLdauXOswIXpIuJ_JNT-8Wavmxyw/certhash/uEiCdYghq5FlXGkVONQXT07CteA16BDyMPI23-0GjA9Ej_w/p2p/12D3KooWF7ovRNBKPxERf6GtUbFdiqJsQviKUb7Z8a2Uuuo6MrDX`
44
46
45
-
46
-
## Getting started: JS
47
+
## Getting started: Browser JS
47
48
48
49
### 1. Install dependencies
49
50
@@ -62,14 +63,29 @@ Start the dev server:
62
63
npm run dev
63
64
```
64
65
66
+
## Getting started: Node.js
67
+
68
+
### 1. Install dependencies
69
+
70
+
```
71
+
cd node-js-peer
72
+
npm i
73
+
```
74
+
75
+
### 2. Start the app
76
+
77
+
```
78
+
npm start
79
+
```
80
+
65
81
## Getting started: Rust
66
82
67
83
```
68
84
cd rust-peer
69
85
cargo run
70
86
```
71
87
72
-
This will automatically connect you to the bootstrap node running on [fly.io](https://fly.io).
88
+
This will automatically connect you to the bootstrap nodes running on bootstrap.libp2p.io.
73
89
74
90
To explore more advanced configurations if you e.g. want to set up our own network, try:
75
91
@@ -119,4 +135,15 @@ If you want a specific mode, you can pass flags such as `--ui`, `--kivy`, or `--
119
135
120
136
```bash
121
137
python main.py --ui
138
+
139
+
## Getting started: Nim
140
+
```
141
+
cd nim-peer
142
+
nimble build
143
+
144
+
# Wait for connections in tcp/9093
145
+
./nim_peer
146
+
147
+
# Connect to another node (e.g. in localhost tcp/9092)
0 commit comments