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

WIP: feat: chain abstraction #7

Draft
wants to merge 19 commits into
base: main
Choose a base branch
from
Draft

Conversation

ganchoradkov
Copy link
Member

@ganchoradkov ganchoradkov commented Dec 5, 2024

Description

Implemented Chain Abstraction handling for React Native, browser & node.
The Yttrium package is provided via native modules in React native, and WalletKit uses the asigned global.yttrium for the handlers. In Node & the browser, Yttrium is compressed and stored in base64 format. During run time, the encoding is decompressed and converted back to wasm.
Also added helper scripts/utils for compression/decompression

Type of change

  • Chore (non-breaking change that addresses non-functional tasks, maintenance, or code quality improvements)
  • Bug fix (non-breaking change which fixes an issue)
  • [c] New feature (non-breaking change which adds functionality)
  • Draft PR (breaking/non-breaking change which needs more work for having a proper functionality [Mark this PR as ready to review only when completely ready])
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

How has this been tested?

dogfooding/tests

Checklist

  • I have performed a self-review of my own code
  • My changes generate no new warnings
  • Any dependent changes have been merged and published in downstream modules

Additional Information (Optional)

Please include any additional information that may be useful for the reviewer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant