
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
@metamask/solana-wallet-snap
Advanced tools
This package contains the source code for the Solana Wallet Snap - a MetaMask Snap that enables Solana blockchain functionality directly within your MetaMask wallet. The Snap allows users to:
The Snap is built using the MetaMask Snaps SDK and integrates with Solana's web3.js library for blockchain interactions. It follows best practices for security and provides a seamless user experience within the familiar MetaMask interface.

cp packages/snap/.env.example packages/snap/.env
# Set content from https://my.1password.com/app#/gebbq4jvzj7iexnbirelfitv2y/AllItems/gebbq4jvzj7iexnbirelfitv2yvis64f7yhxuoi277r3hagj7ndi
yarn workspace @metamask/solana-wallet-snap start
[!WARNING]
When snap updates you will need to still reconnect from the dapp to see changes
[!TIP] Alternatively you can build and serve the snap manually. This can sometimes be more stable than watch mode but requires a manual rebuild and serve anytime there is a change on the snap.
[!WARNING]
The.envvalues are bundled into the built snap and affect its shasum. To avoid build failures in CI, make sure your local.envfile matches exactly with the CI repository secrets. Any mismatch will cause the CI to reject the build due to different checksums.
If you need to change the environment variables, follow this checklist:
packages/snap/.env file with the new keys and/or valuespackages/snap/.env.example file with the new keysyarn start to regenerate the build and its shasumyarn workspace @metamask/solana-wallet-snap build
yarn workspace @metamask/solana-wallet-snap serve
Further reading:
FAQs
A Solana wallet Snap.
We found that @metamask/solana-wallet-snap demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.