Is it possible define a NetworkBehaviour with fields from the runtime? #4139
Replies: 3 comments 13 replies
-
Can you share the code that you've got? With anything FFI, you are likely better off keeping the API as small as possible which typically means write as much code as you can in Rust. I'd pick a runtime (i.e. |
Beta Was this translation helpful? Give feedback.
-
@scholz-timo I tried to do it previously, you can find it here |
Beta Was this translation helpful? Give feedback.
-
@thomaseizinger @mxinden I have found at least one thing that is not properly documented. How do we get a peer id from a multiaddr? |
Beta Was this translation helpful? Give feedback.
-
Hello,
I am trying to create a binding of rust-libp2p to swift, java and wasm, since the swift-libp2p and java-libp2p Projects are still unstable.
What I've done so far:
I am stuck since I am not sure on how to implement custom routes in runtime.
Can you provide me some support so I can continue developing?
Beta Was this translation helpful? Give feedback.
All reactions