
Company News
Socket Joins New OpenJS Program to Fund Node.js Security Work
Socket is joining the OpenJS Security Stewardship Program to fund Node.js vulnerability research, maintainer remediation, and security releases.
@txkit/core
Advanced tools
Core utilities and types for txKit.
v0.1.0-alpha - stable utilities consumed by
@txkit/react. Framework-agnostic, safe to use standalone.
Framework-agnostic utilities, types, constants, and error classes used across the txKit ecosystem. Built on viem, zero React dependency.
npm install @txkit/core viem
cx(...args) - conditional className utilityshortenAddress(address, chars?) - truncate address to 0x1234...5678formatTokenAmount(value, decimals, options?) - progressive token formattingformatTokenAmountSplit(value, decimals, options?) - split into integer/fraction partsformatFiatAmount(value, currency?) - fiat currency formattinggetExplorerUrl(chainId, hash, type?) - block explorer linkclassifyError(error) - classify Web3 errors by typegetErrorMessage(code) - human-readable error messageisMaxApproval(amount) - check for MAX_UINT256 approvalformatDecodedCalldata(decoded) - format decoded calldata for displaydeepEqual(a, b) - deep equality comparisonpollUntil(fn, options?) - poll until truthy value or timeoutcopyToClipboard(text) - async clipboard write with fallbackCHAIN_TO_DEFILLAMA - chain ID to DeFiLlama platform mappingNATIVE_PRICE_IDS - native token price identifiersDEFILLAMA_PRICE_URL - DeFiLlama price API URLFRANKFURTER_API_URL - Frankfurter forex API URLTxKitError - base error class with docsPath for documentation linksInvalidConfigError - invalid provider configurationProviderNotFoundError - component used outside TxKitProviderMissingWagmiProviderError - embedded mode without WagmiProviderTransactionErrorCode - categorized error codesTransactionError - structured transaction errorTransactionReceipt - transaction receipt dataDecodedCalldata, DecodedArg - decoded calldata typesRiskResult - transaction risk assessmentStepStatus - step state within a flowFlowStatus - overall flow stateVisit txkit.dev for full documentation.
FAQs
Core utilities and types for txKit
The npm package @txkit/core receives a total of 7 weekly downloads. As such, @txkit/core popularity was classified as not popular.
We found that @txkit/core 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.

Company News
Socket is joining the OpenJS Security Stewardship Program to fund Node.js vulnerability research, maintainer remediation, and security releases.

Security News
Two compromised GitHub Actions were re-enabled with malicious tags intact, exposing thousands of downstream repositories to Mini Shai-Hulud.

Research
/Security News
A malicious Firefox extension fetches its payload after installation to evade detection, steal Google session cookies, and automate account takeover.