
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
@hexcommunity/hex
Advanced tools
a repo for all things hex solidity / truffle development
this package is untested
need tests for all code (.sol + .js)
use contracts/* to test the contracts you plan to build on hex.
const { UNITS, fromHeart, toHeart, convert } = require('@hexcommunity/hex/utils')
UNITSan object with the units as keys and the factor (1e8) as values.
heart
microhex
millihex
hex
hectohex
kilohex
megahex
gigahex
terahex
convertconvert any unit into any other unit returns a BN.js value
convert('heart', 200000000, 'hex') // 2<BN>
fromHeartconvert heart unit to any other unit, default destination hex
fromHeart(200000000) // 2<BN>
fromHeart(200000000, 'hex') // 2<BN>
fromHeart(200000000, 'millihex') // 2000<BN>
toHeartconvert from any other unit to heart, default source hex
fromHeart(2) // 200000000<BN>
fromHeart(2, 'hex') // 200000000<BN>
fromHeart(2000, 'millihex') // 200000000<BN>
FAQs
a repo for all things hex solidity / truffle development
The npm package @hexcommunity/hex receives a total of 4 weekly downloads. As such, @hexcommunity/hex popularity was classified as not popular.
We found that @hexcommunity/hex demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.