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

Document using Snaps environment variables #1149

Merged
merged 9 commits into from
Feb 24, 2024
Merged

Document using Snaps environment variables #1149

merged 9 commits into from
Feb 24, 2024

Conversation

alexandratran
Copy link
Contributor

@alexandratran alexandratran commented Feb 17, 2024

Add page on how to use environment variables with Snaps. Fixes #746.

Preview: https://docs.metamask.io/746-snaps-env-vars/snaps/how-to/use-environment-variables/

Copy link

Preview published: 746-snaps-env-vars

1 similar comment
Copy link

Preview published: 746-snaps-env-vars

Copy link

Preview published: 746-snaps-env-vars

@mario-christopher
Copy link

Can there also be a small section on the page instructing the Developer to first install the envify package?

npm install envify

// or

yarn add envify

image

@alexandratran alexandratran marked this pull request as ready for review February 20, 2024 04:36
@alexandratran alexandratran requested review from a team as code owners February 20, 2024 04:36
Copy link

Preview published: 746-snaps-env-vars

Copy link
Contributor

@bgravenorst bgravenorst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

snaps/how-to/use-environment-variables.md Outdated Show resolved Hide resolved
Copy link

Preview published: 746-snaps-env-vars

Copy link

Preview published: 746-snaps-env-vars

Copy link

Preview published: 746-snaps-env-vars

@Montoya Montoya merged commit e3f62a3 into main Feb 24, 2024
6 checks passed
@Montoya Montoya deleted the 746-snaps-env-vars branch February 24, 2024 15:47
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.

Document how to add environment variables to snaps
5 participants