Skip to content
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

wallet-core: Address Balance Calculation via FFI for WASM Module Support #2317

Closed
ZER0 opened this issue Sep 9, 2024 · 0 comments · Fixed by #2308
Closed

wallet-core: Address Balance Calculation via FFI for WASM Module Support #2317

ZER0 opened this issue Sep 9, 2024 · 0 comments · Fixed by #2308
Assignees

Comments

@ZER0
Copy link
Contributor

ZER0 commented Sep 9, 2024

In the current implementation of wallet-core, we need to expose FFI functionality that allows the calculation of a balance for a specific address based on a provided list of notes. This functionality is crucial for enabling wallet-core to be used as a WASM module, as it will allow external systems to interface with the core logic for address-based balance computations.

@ZER0 ZER0 self-assigned this Sep 9, 2024
ZER0 added a commit that referenced this issue Sep 9, 2024
- Add `map_owned` FFI
- Add `balance` FFI
- Add `OwnedList` serializable type
- Add `ErrorCode` usage
- Move `map_owned` in `notes` module with `OwnedList`

Resolves #2317
@ZER0 ZER0 closed this as completed in #2308 Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant