Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
eth-components
Advanced tools
React library of commonly used Ethereum components.
Used by 🏗 scaffold-eth
Created by 🏰 BuidlGuidl.eth
yarn add eth-components
@austinGriffith @shravansunder
A wrapper around useWeb3React that we can extend as required
Created a test hook with a Web3Wrapper
Displays an Address, Balance, and Wallet as one Account component, also allows users to log in to existing accounts and log out
~ Features ~
(ex. "0xa870" => "user.eth")
to be able to log in/log out to/from existing accounts
(ex. by default "https://etherscan.io/" or for xdai "https://blockscout.com/poa/xdai/")
Displays an address with a blockie image and option to copy address
~ Features ~
(ex. "0xa870" => "user.eth")
(ex. by default "https://etherscan.io/" or for xdai "https://blockscout.com/poa/xdai/")
Displays an address input with QR scan option ~ Features ~
(ex. "0xa870" => "user.eth") or you can enter directly ENS name instead of address
or onChange={address => { setToAddress(address);}}
Displays a balance of given address in ether & dollar
~ Features ~
Show a blockie (bar code profile icon) component for an public address
Displays input field for ETH/USD amount, with an option to convert between ETH and USD ~ Features ~
Displays a local faucet to send ETH to given address, also wallet is provided
~ Features ~
(ex. "0xa870" => "user.eth") or you can enter directly ENS name instead of address
works both in input field & wallet
Displays gas gauge
~ Features ~
Show a punk blockie (crypto punk profile icon) component for an public address
Displays a wallet where you can specify address and send USD/ETH, with options to scan address, to convert between USD and ETH, to see and generate private keys, to send, receive and extract the burner wallet ~ Features ~
your default address will be used
(ex. "0xa870" => "user.eth") or you can enter directly ENS name instead of address
this should probably just be renamed to "notifier" it is basically just a wrapper around BlockNative's wonderful Notify.js https://docs.blocknative.com/notify
A wrapper around useWeb3React that we can extend as required
Kind: global constant
Returns: TEthersManager
Created a test hook with a Web3Wrapper
Kind: global constant
Returns: (TTestHookResult)
See: renderHook from @link testing-library/react-hooks
Param | Description |
---|---|
callback | callback to init hook |
Displays an Address, Balance, and Wallet as one Account component, also allows users to log in to existing accounts and log out
~ Features ~
Kind: global constant
Returns: (FC)
Param |
---|
props |
Displays an address with a blockie image and option to copy address
~ Features ~
Kind: global constant
Returns: (FC)
Param |
---|
props |
Displays an address input with QR scan option ~ Features ~
Kind: global constant
Returns: (FC)
Param |
---|
props |
Displays a balance of given address in ether & dollar
~ Features ~
Kind: global constant
Returns: (FC)
Param |
---|
props |
Show a blockie (bar code profile icon) component for an public address
Kind: global constant
Returns: (FC)
Param |
---|
props |
Displays input field for ETH/USD amount, with an option to convert between ETH and USD ~ Features ~
Kind: global constant
Returns: (FC)
Param |
---|
props |
Displays a local faucet to send ETH to given address, also wallet is provided
~ Features ~
Kind: global constant
Returns: (FC)
Param |
---|
props |
Displays gas gauge
~ Features ~
Kind: global constant
Returns: (FC)
Param |
---|
props |
Show a punk blockie (crypto punk profile icon) component for an public address
Kind: global constant
Returns: (FC)
Param |
---|
props |
Displays a wallet where you can specify address and send USD/ETH, with options to scan address, to convert between USD and ETH, to see and generate private keys, to send, receive and extract the burner wallet ~ Features ~
Kind: global constant
Returns: (FC)
Param |
---|
props |
this should probably just be renamed to "notifier" it is basically just a wrapper around BlockNative's wonderful Notify.js https://docs.blocknative.com/notify
Kind: global constant
Returns: (transactor) a function to transact which calls a callback method parameter on completion
Param |
---|
provider |
gasPrice |
etherscan |
FAQs
A set of react components to turbocharge buidling
The npm package eth-components receives a total of 225 weekly downloads. As such, eth-components popularity was classified as not popular.
We found that eth-components demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.