snaps
snaps copied to clipboard
Environement variable error: process is not defined
Using env var directly in snap code throw an error
const myApiKey = process.env.MY_API_KEY;
MetaMask - RPC Error: process is not defined
Hi, are you following the steps described here? https://docs.metamask.io/snaps/how-to/use-environment-variables/
Yes, I don't see what I can miss, the steps are very basic.