@@ -73,21 +73,21 @@ ICE dynamically selects the best path based on connectivity and performance.
7373## Mina Rust Node WebRTC Implementation
7474
7575The Mina Rust Node's WebRTC implementation is located in
76- [ ` p2p/src/webrtc/ ` ] ( https://o1-labs.github.io/openmina /api-docs/p2p/webrtc/index.html )
76+ [ ` p2p/src/webrtc/ ` ] ( https://o1-labs.github.io/mina-rust /api-docs/p2p/webrtc/index.html )
7777and provides a structured approach to peer-to-peer connections for blockchain
7878communication.
7979
8080### Key Components
8181
82- #### Host Resolution ([ ` host.rs ` ] ( https://o1-labs.github.io/openmina /api-docs/p2p/webrtc/host/index.html ) )
82+ #### Host Resolution ([ ` host.rs ` ] ( https://o1-labs.github.io/mina-rust /api-docs/p2p/webrtc/host/index.html ) )
8383
8484Handles different address types:
8585
8686- Domain names (with DNS resolution)
8787- IPv4/IPv6 addresses
8888- Multiaddr protocol integration
8989
90- #### Signaling Messages ([ ` signal.rs ` ] ( https://o1-labs.github.io/openmina /api-docs/p2p/webrtc/signal/index.html ) )
90+ #### Signaling Messages ([ ` signal.rs ` ] ( https://o1-labs.github.io/mina-rust /api-docs/p2p/webrtc/signal/index.html ) )
9191
9292Defines the core signaling data structures:
9393
@@ -96,15 +96,15 @@ Defines the core signaling data structures:
9696- ** Answer** : Response containing SDP and identity information
9797- ** Connection Response** : Handles acceptance, rejection, and error states
9898
99- #### Signaling Methods ([ ` signaling_method/ ` ] ( https://o1-labs.github.io/openmina /api-docs/p2p/webrtc/signaling_method/index.html ) )
99+ #### Signaling Methods ([ ` signaling_method/ ` ] ( https://o1-labs.github.io/mina-rust /api-docs/p2p/webrtc/signaling_method/index.html ) )
100100
101101Supports multiple signaling transport methods:
102102
103103- HTTP/HTTPS direct connections
104104- HTTPS proxy with cluster support
105105- P2P relay through existing peers
106106
107- #### Connection Authentication ([ ` connection_auth.rs ` ] ( https://o1-labs.github.io/openmina /api-docs/p2p/webrtc/connection_auth/index.html ) )
107+ #### Connection Authentication ([ ` connection_auth.rs ` ] ( https://o1-labs.github.io/mina-rust /api-docs/p2p/webrtc/connection_auth/index.html ) )
108108
109109Provides cryptographic authentication:
110110
@@ -127,32 +127,32 @@ The Mina Rust Node's WebRTC implementation includes several security measures:
127127### Connection Flow
128128
1291291 . ** Offer Creation** : Initiating peer creates an
130- [ offer] ( https://o1-labs.github.io/openmina /api-docs/p2p/webrtc/signal/struct.Offer.html )
130+ [ offer] ( https://o1-labs.github.io/mina-rust /api-docs/p2p/webrtc/signal/struct.Offer.html )
131131 with SDP, identity, and target information using
132- [ ` Offer::new() ` ] ( https://o1-labs.github.io/openmina /api-docs/p2p/webrtc/signal/struct.Offer.html#method.new )
132+ [ ` Offer::new() ` ] ( https://o1-labs.github.io/mina-rust /api-docs/p2p/webrtc/signal/struct.Offer.html#method.new )
1331332 . ** Signaling** : Offer is transmitted through the configured
134- [ signaling method] ( https://o1-labs.github.io/openmina /api-docs/p2p/webrtc/signaling_method/enum.SignalingMethod.html )
134+ [ signaling method] ( https://o1-labs.github.io/mina-rust /api-docs/p2p/webrtc/signaling_method/enum.SignalingMethod.html )
135135 using
136- [ ` SignalingMethod::http_url() ` ] ( https://o1-labs.github.io/openmina /api-docs/p2p/webrtc/signaling_method/enum.SignalingMethod.html#method.http_url )
136+ [ ` SignalingMethod::http_url() ` ] ( https://o1-labs.github.io/mina-rust /api-docs/p2p/webrtc/signaling_method/enum.SignalingMethod.html#method.http_url )
137137 for HTTP-based methods
1381383 . ** Offer Processing** : Receiving peer validates chain ID, identity, and
139139 capacity using
140- [ ` Offer::chain_id() ` ] ( https://o1-labs.github.io/openmina /api-docs/p2p/webrtc/signal/struct.Offer.html#method.chain_id )
140+ [ ` Offer::chain_id() ` ] ( https://o1-labs.github.io/mina-rust /api-docs/p2p/webrtc/signal/struct.Offer.html#method.chain_id )
141141 and
142- [ ` Offer::identity() ` ] ( https://o1-labs.github.io/openmina /api-docs/p2p/webrtc/signal/struct.Offer.html#method.identity )
142+ [ ` Offer::identity() ` ] ( https://o1-labs.github.io/mina-rust /api-docs/p2p/webrtc/signal/struct.Offer.html#method.identity )
1431434 . ** Answer Generation** : If accepted, receiving peer creates an
144- [ answer] ( https://o1-labs.github.io/openmina /api-docs/p2p/webrtc/signal/struct.Answer.html )
144+ [ answer] ( https://o1-labs.github.io/mina-rust /api-docs/p2p/webrtc/signal/struct.Answer.html )
145145 with SDP using
146- [ ` Answer::new() ` ] ( https://o1-labs.github.io/openmina /api-docs/p2p/webrtc/signal/struct.Answer.html#method.new )
146+ [ ` Answer::new() ` ] ( https://o1-labs.github.io/mina-rust /api-docs/p2p/webrtc/signal/struct.Answer.html#method.new )
1471475 . ** Connection Response** : Response is wrapped in
148- [ ` P2pConnectionResponse ` ] ( https://o1-labs.github.io/openmina /api-docs/p2p/webrtc/signal/enum.P2pConnectionResponse.html )
148+ [ ` P2pConnectionResponse ` ] ( https://o1-labs.github.io/mina-rust /api-docs/p2p/webrtc/signal/enum.P2pConnectionResponse.html )
149149 indicating acceptance or rejection
1501506 . ** Authentication** : Final handshake using encrypted
151- [ connection authentication] ( https://o1-labs.github.io/openmina /api-docs/p2p/webrtc/connection_auth/struct.ConnectionAuth.html )
151+ [ connection authentication] ( https://o1-labs.github.io/mina-rust /api-docs/p2p/webrtc/connection_auth/struct.ConnectionAuth.html )
152152 created via
153- [ ` ConnectionAuth::new() ` ] ( https://o1-labs.github.io/openmina /api-docs/p2p/webrtc/connection_auth/struct.ConnectionAuth.html#method.new )
153+ [ ` ConnectionAuth::new() ` ] ( https://o1-labs.github.io/mina-rust /api-docs/p2p/webrtc/connection_auth/struct.ConnectionAuth.html#method.new )
154154 and encrypted with
155- [ ` ConnectionAuth::encrypt() ` ] ( https://o1-labs.github.io/openmina /api-docs/p2p/webrtc/connection_auth/struct.ConnectionAuth.html#method.encrypt )
155+ [ ` ConnectionAuth::encrypt() ` ] ( https://o1-labs.github.io/mina-rust /api-docs/p2p/webrtc/connection_auth/struct.ConnectionAuth.html#method.encrypt )
156156
157157### Integration with Mina Rust Node Architecture
158158
0 commit comments