
Security News
TeamPCP and BreachForums Launch $1,000 Contest for Supply Chain Attacks
TeamPCP and BreachForums are promoting a Shai-Hulud supply chain attack contest with a $1,000 prize for the biggest package compromise.
@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 build a new version of the token list, run:
npm run build
This will build for both mainnet & goerli, create the tokenlist, and copy the files to dist/
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
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
TeamPCP and BreachForums are promoting a Shai-Hulud supply chain attack contest with a $1,000 prize for the biggest package compromise.

Security News
Packagist urges PHP projects to update Composer after a GitHub token format change exposed some GitHub Actions tokens in CI logs.

Research
GemStuffer abuses RubyGems as an exfiltration channel, packaging scraped UK council portal data into junk gems published from new accounts.