fedimint-web-sdk
fedimint-web-sdk copied to clipboard
Add `parseInivteCode` function to the core library
We want to be able to extract a federationId from an inviteCode without needing to join a federation.
The rust client already has a parseInviteCode function. We just need to expose the function as an RPC in the wasm.
@alexlwn123 I would like to work on this, Could you please assign it to me?
@MrImmortal09 Do you understand what needs to be done? This involves making Rust changes in the fedimint/fedimint repo and updating the corresponding wasm bundles.
I’d love to give this a try and contribute. Would you be open to letting me attempt it? I’ll take feedback and improve accordingly.
I have opened a PR in the fedimint/fedimint repo updating the changes required.
It would be great if you could review that.
Hey @alexlwn123 , since #7046 is merged, do I need to make a PR to update Packages/wasm-web and Packages/wasm-bundler?
Hey @alexlwn123 , since https://github.com/fedimint/fedimint/pull/7046 is merged, do I need to make a PR to update Packages/wasm-web and Packages/wasm-bundler?
Congrats, @MrImmortal09!! That's awesome. 🚀🚀🚀
Yep! Feel free to keep going. To complete this issue issue, we'll need to:
- Use wasm-pack to build fedimint-client-wasm with target
weband targetbundler. - Update the corresponding packages here in the
fedimint-web-sdkrepo. (packages/wasm-bundlerfor bundler &packages/wasm-webfor web). Make sure you include a changeset on the pr. - Implement the
parseInivteCodefunction in theFederationService.
closed per https://github.com/fedimint/fedimint-web-sdk/pull/128