Open Janaka-Steph opened 2 months ago
Using env var directly in snap code throw an error const myApiKey = process.env.MY_API_KEY; MetaMask - RPC Error: process is not defined
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.
Using env var directly in snap code throw an error
const myApiKey = process.env.MY_API_KEY;
MetaMask - RPC Error: process is not defined