Security News
The Risks of Misguided Research in Supply Chain Security
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
@ledgerhq/cryptoassets
Advanced tools
Ledger's material for crypto currencies, tokens and fiats. Also includes signatures required by Nano devices for these tokens.
DO NOT EDIT because this library is generated.
There are two modes of usage of this library.
@ledgerhq/cryptoassets
@ledgerhq/cryptoassets/data/*
. For instance, importing the ERC20 signatures can be done with @ledgerhq/cryptoassets/data/erc20-signatures
sub module.pnpm import:cal-tokens
these are either "dead"/"burn" addresses OR "abandon" seed addresses. These addresses are PUBLIC addresses We use them for tests and also for dry-run estimations DO NOT USE AS RECIPIENT OR SIGN TRANSACTIONS INTO THEM
Type: Partial<Record<any, string>>
Returns a valid address for a given currency. These addresses are PUBLIC addresses We use them for tests and also for dry-run estimations DO NOT USE AS RECIPIENT OR SIGN TRANSACTIONS INTO THEM
currencyId
any Returns string
currency
CryptoCurrency id
string Returns void
withDevCrypto
any (optional, default false
)withTerminated
any (optional, default false
)Returns Array<CryptoCurrency>
f
any Returns (CryptoCurrency | null | undefined)
scheme
any Returns (CryptoCurrency | null | undefined)
ticker
any Returns (CryptoCurrency | null | undefined)
keyword
any tests
(optional, default ["keywords","name","id","ticker","manager"]
)Returns (CryptoCurrency | null | undefined)
id
any Returns boolean
id
string Returns ({config: string, signature: string} | null | undefined)
ticker
any Returns boolean
ticker
any Returns (FiatCurrency | null | undefined)
ticker
any Returns FiatCurrency
Returns Array<FiatCurrency>
Only for jest purpose, clean object to be empty
Returns void
Only for jest purpose, clear all the init list
Returns void
options
Partial<TokensListOptions>? Returns Array<TokenCurrency>
currency
CryptoCurrency options
Partial<TokensListOptions>? Returns Array<TokenCurrency>
currency
CryptoCurrency ticker
string Returns (TokenCurrency | undefined)
id
string Returns (TokenCurrency | undefined)
id
string Returns boolean
id
string Returns TokenCurrency
Delete previous token entry to all array
token
TokenCurrency We clean all the reference of an existing token, if an hash doesn't match. Like this we can update any change from a already added token coming from Dynamic CAL and maintain it up to date without having to release a new version of LLD or LLM
FAQs
Ledger crypto-assets list
We found that @ledgerhq/cryptoassets demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 8 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
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.