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

fix: static files loading #12

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

shrimalmadhur
Copy link
Collaborator

@shrimalmadhur shrimalmadhur commented Nov 14, 2024

In the current version of this library the mnemonic files were loaded based on path. So any library which uses this and create a dockerized binary doesn't work as the files is referenced via a dependency and files are not available.

We actually use this //go:embed feature so that those mnemonic files are statically loaded and are available in memory. Since files are very small we are okay loading in memory

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.

2 participants