Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
blockies-react-svg
Advanced tools
Blockies react svg function component, blocky identicons, address-unique Ethereum avatar, svg base64 url.
Blockies react svg function component, blocky identicons, address-unique Ethereum avatar, svg base64 url.
You can have responsive width and height without rerendering because of SVG properties. meanwhile, it will store the result.
You also can use base64 url, it is smaller(3kb) than ethereum-blockies-base64(16kb).
(the address will auto toLowerCase until set caseSensitive
property)
$ npm i blockies-react-svg
Use react fc:
import BlockiesSvg from 'blockies-react-svg'
// or use tsx directly:
// import BlockiesSvg from 'blockies-react-svg/src/BlockiesSvg.tsx'
<BlockiesSvg
address={address}
className='classname'
style={styles}
/>
Use react sync component:
import BlockiesSvgSync from 'blockies-react-svg/dist/es/BlockiesSvgSync.js'
// or use tsx directly:
// import BlockiesSvgSync from 'blockies-react-svg/src/BlockiesSvgSync.tsx'
<BlockiesSvgSync
address={address}
className='classname'
style={styles}
/>
Use base64 url:
import makeBlockiesUrl from 'blockies-react-svg/dist/es/makeBlockiesUrl.js'
// or use ts directly:
// import makeBlockiesUrl from 'blockies-react-svg/src/makeBlockiesUrl.ts'
<img src={makeBlockiesUrl(address)} />
Canvas render doesn't support arbitrary size or other customized styles.
SVG is the better experience.
SVG base64 url size is smaller than canvas.
FAQs
Blockies react SVG function component, blocky identicons, address-unique ethereum avatar, SVG base64 generation in browser or nodejs.
The npm package blockies-react-svg receives a total of 367 weekly downloads. As such, blockies-react-svg popularity was classified as not popular.
We found that blockies-react-svg 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.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.