-
Notifications
You must be signed in to change notification settings - Fork 185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error while installing on substrate-node-template #1804
Comments
We want to support WASM at some point, but we currently don't have it as a supported platform. Quinn-udp is using low level networking apis to send and receive UDP packets. That is definitely not going to work in the browser. Our plan is to use good old websockets and then later maybe webrtc. May I ask what the use case is? |
Substrate don't run on browser. This is what substrate documentation says
The use case involves storing data in the blockchain and providing incentives for it, similar to the Crust network. The benefits of storing data directly in blockchain apps or Substrate offchain workers include the ability to perform some validation on the data before storage. Additionally, there is no need for a separate executable; both the blockchain and distributed storage are integrated into one. Since IPFS is commonly used for blockchain storage, this feature needs to be on the priority list. |
The substrate:ipfs project you link to contains a docker image. So I assume the ipfs node itself is running in that docker image, and the substrate worker talks to this? So what you would want is to use a native iroh process from inside a substrate worker, but not embed an entire iroh node? This would currently be hard because our RPC is using QUIC as well, but we are working on switching the RPC. So maybe we can make this work. What IO facilities do you have from inside a substrate worker? |
Ipfs is installed in three places including substrate node and client, all packaged together into rust executable, and than to docker. Seems it do require Here is the code: |
Add iroh in dependencies
iroh = { version = "0.10.0", default-features = false }
It gives following error:
Substrate does uses WebAssembly (Wasm). However, it doesn't necessarily rely on the browser's WebAssembly environment. So will it support dependencies like quinn?
The text was updated successfully, but these errors were encountered: