Package Exports
- erc-abis-ts
- erc-abis-ts/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (erc-abis-ts) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
erc-abis-ts
A collection of common ERC ABIs in both ABI and human-readable form. ERCs are defined based on their required/optional items in the Ethereum Improvement Proposals list.
Installation
npm install erc-abis-tsUsage
import { erc20AbiHumanReadable, erc20Abi } from 'erc-abis-ts'
import { parseAbi } from 'viem';
// Below is equivalent to erc20Abi
const abi = parseAbi(erc20AbiHumanReadable);