
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
A modern React component library built with TypeScript for working with Ethereum ABIs.
# Install the library
npm install react-abi
# Install peer dependencies
npm install viem
Or using Yarn:
# Install the library
yarn add react-abi
# Install peer dependencies
yarn add viem
import { AbiInput } from 'react-abi';
function App() {
return (
<div>
<AbiInput
abi="function transfer(address to, uint256 amount)"
onChange={(values, bytecode) => {
console.log('Values:', values);
console.log('Bytecode:', bytecode);
}}
/>
</div>
);
}
A component that renders form fields based on an Ethereum ABI specification, allowing users to input parameters for a smart contract function.
import { AbiInput } from 'react-abi';
<AbiInput
abi="function approve(address spender, uint256 value)"
onChange={(values, bytecode) => {
console.log('Parameter values:', values);
console.log('Generated bytecode:', bytecode);
}}
/>
| Prop | Type | Default | Description |
|---|---|---|---|
| abi | string | 'function transfer(address to, uint256 amount)' | The ABI of the method as a string |
| onChange | (values: Record<string, string>, bytecode: string) => void | - | Callback function called when any input value changes |
| className | string | '' | Additional CSS class names |
Clone the repository and install dependencies:
git clone https://github.com/yourusername/react-abi.git
cd react-abi
For installation, you can use either:
# Using Yarn (recommended)
yarn install
# OR using npm with legacy-peer-deps flag
npm install --legacy-peer-deps
Note: When using npm, the
--legacy-peer-depsflag is necessary due to peer dependency relationships in the project.
npm run storybook
# or
yarn storybook
npm run build
# or
yarn build
npm run test
# or
yarn test
MIT
FAQs
React component library
We found that react-abi demonstrated a healthy version release cadence and project activity because the last version was released less than 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
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.