Damus
reya · 3w
Hi nostr:npub1drvpzev3syqt0kjrls50050uzf25gehpz9vgdw08hvex7e0vgfeq0eseet I want to port coop (desktop) to web via wasm, but look like getrandom isn't enable wasm support (via wasm_js feature). Can yo...
Yuki Kishimoto profile picture
We've removed it (getrandom + wasm_js feature) because in some context was causing issues (wasm32-unknown-unknown used outside JS).

You can solve the issue by adding the getrandom dep in your Cargo.toml, and enable the wasm_js feature. Make sure to do it for the right getrandom version(s), which can be found in the Cargo.lock

1
reya · 3w
Look like rust-secp256k1 isn't support wasm either. Do you know other solution?