
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
@exodus/solana-meta
Advanced tools
The solana-meta package provides a collection of metadata for Solana blockchain assets, including the native SOL asset and a set of built-in tokens. This metadata includes visual elements (such as logos, primary colors, and gradient schemes), display names, tickers, blockchain explorer URLs, and descriptive information.
Install the package via yarn
:
yarn add @exodus/solana-meta
Below is an example of how to import and use the metadata:
import assetList from '@exodus/solana-meta'
// Example: Get metadata for a specific asset (Solana or some SPL built-in token)
const solanaAsset = assetList.find((asset) => asset.name === 'solana')
console.log(solanaAsset)
// Output:
// {
// name: 'Solana',
// ticker: 'SOL',
// displayTicker: 'SOL',
// blockExplorer: 'https://explorer.solana.com',
// description: 'Solana is a high-performance blockchain supporting builders around the world creating crypto apps that scale today.'
// units: { ... }
// ...
// }
You can use this metadata to display asset information in your application, such as logos, colors, and explorer URLs.
This project is licensed under the MIT License.
You are free to use, modify, and distribute this software under the terms of the MIT License.
For more details, see the LICENSE file.
FAQs
Solana constants, icons, colors and other metadata
The npm package @exodus/solana-meta receives a total of 3,197 weekly downloads. As such, @exodus/solana-meta popularity was classified as popular.
We found that @exodus/solana-meta demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 108 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.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.