
Security News
Feross on TBPN: Socket's Series C and the State of Software Supply Chain Security
Feross Aboukhadijeh joins TBPN to discuss Socket's $60M Series C, 500%+ ARR growth, AI's impact on open source, and the rise in supply chain attacks.
@elementfi/tokenlist
Advanced tools
The Tokenlist for Element.finance
npm install @elementfi/tokenlist
To setup this repo you need to run the following:
npm ci
You'll also need to add api keys listed in elf.default.env to your local elf.env file.
This is how to get a list of currently open principal tokens.
import { ElementTokenTag, mainnetTokenList } from "@elementfi/tokenlist";
// Get the list of principal tokens that have not yet reached maturity
const principalTokens = mainnetTokenList.tokens
.filter(
(token) => token.tags?.includes(ElementTokenTag.PRINCIPAL)
)
.filter(
(token) => token.extensions.unlockTimestamp > Date.now() * 1000
).
To build this repo you need to configure some env variables. For linux and mac run the following:
elf.default.envcp elf.default.env elf.env
export ALCHEMY_MAINNET_API_KEY=
export ALCHEMY_GOERLI_API_KEY=
source elf.env
To release and publish the new token list:
First create a new version commit using npm:
npm version major|minor|patch # this will create a git commit
Then push up the changes to Github:
git push
git push --tags
Then in GH:
FAQs
The Tokenlist for Element.finance
The npm package @elementfi/tokenlist receives a total of 0 weekly downloads. As such, @elementfi/tokenlist popularity was classified as not popular.
We found that @elementfi/tokenlist demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
Feross Aboukhadijeh joins TBPN to discuss Socket's $60M Series C, 500%+ ARR growth, AI's impact on open source, and the rise in supply chain attacks.

Security News
OSV withdrew 157 OSV malware reports after automated false positives incorrectly flagged trusted npm and PyPI packages, sending bad records into tools that rely on OSV data.

Research
/Security News
TrapDoor crypto stealer hits 36 malicious packages across npm, PyPI, and Crates.io, targeting crypto, DeFi, AI, and security developers.