# Encode and Decode EVM ABI Data

EVM integrations often require exact selectors, event topics, and ABI-formatted calldata. This skill computes and validates common ABI values through a documented service workflow.

## Install

```bash
npx skillstore add requiredtruth/igneos-crypto-evm-abi-codec
```

## Metadata

- Status: approved
- Slug: requiredtruth-igneos-crypto-evm-abi-codec
- Skillstore revision: r1
- Version status: missing
- Tree hash: eac53b09c963d58745d6a5fa60755d6de14a44bb13d4327169590f61839228d0
- Author: requiredtruth
- GitHub username: requiredtruth
- Repository: https://github.com/requiredtruth/igneos.systems/tree/269e35454f027590f9a407361acedd6815297764/skills/igneos-crypto-evm-abi-codec
- Ref: a7e1b6770e0f18ed6d6658871407599a881aaf79
- Supported tools: Claude, Codex, Claude Code
- Audit status: complete
- Agent install advisory: allowed
- Manual install advisory: allowed
- Artifact signature: available
- Audit attestation: unavailable
- Human verification: not\_verified
- Risk factors: external\_commands, network
- Quality score: 72
- Public page: https://skillstore.pages.dev/skills/requiredtruth-igneos-crypto-evm-abi-codec
- Manifest: https://skillstore.pages.dev/api/skills/requiredtruth-igneos-crypto-evm-abi-codec/manifest

## Capabilities

- Compute a Solidity function selector from a canonical function signature.
- Compute an event topic0 value from a canonical event signature.
- Encode calldata for address, bool, signed and unsigned integers, fixed bytes, dynamic bytes, strings, and arrays.
- Decode calldata for the documented ABI types.
- Use documented HTTP or MCP endpoints and follow the stated x402 payment flow.

## Use Cases

- Prepare Contract Calls: Generate selectors and calldata for a backend or dApp integration before submitting an EVM transaction.
- Inspect Transaction Data: Decode known ABI values to review method arguments and event-related identifiers during incident analysis.
- Build Agent Workflows: Connect an agent to the HTTP or MCP service for repeatable ABI preparation with documented payment handling.

## Prompt Templates

### Compute a Function Selector

```
Compute the EVM function selector for the canonical signature transfer(address,uint256). Return the selector and the normalized signature.
```

### Encode Basic Calldata

```
Encode calldata for the function signature approve(address,uint256) using spender 0x1111111111111111111111111111111111111111 and amount 2500000. Explain each ABI segment in plain language.
```

### Decode Dynamic Values

```
Decode this ABI calldata using the supplied function signature and report each argument with its type: [paste the function signature and calldata].
```

### Validate a Contract Integration

```
For the supplied function and event signatures, compute the selector and topic0, encode the requested arguments, then list assumptions, type limitations, and validation checks before submission.
```

## Limitations

- The guide does not provide a local ABI library or offline implementation.
- Supported types and exact parameters must be confirmed from the live service schema.
- It does not verify contract addresses, chain state, transaction intent, or token balances.
- Requests can require network access, payment, and an authorized funded wallet.

## Best Practices

- Use canonical Solidity signatures with no extra spaces before computing selectors or topics.
- Verify the live request and response schema before sending production data.
- Review the recipient, network, price, and payment terms before signing any request.

## Anti Patterns

- Do not treat decoded calldata as proof that a transaction is safe to execute.
- Do not send private keys, seed phrases, or unrelated sensitive data to the service.
- Do not reuse a selector or encoded payload when the function signature or argument types differ.

## Security Audit

- Audited at: 2026-12-05T10:52:51.783\+00:00
- Summary: All ten static findings are false positives. The external-command detections match Markdown backticks and a documented shell example, while the URL detections identify openly documented service endpoints rather than malicious behavior. No prompt injection, credential exfiltration, or unrelated command execution evidence was found in SKILL.md.

## Stats

- Views: 0
- Downloads: 0
- Favorites: 0
- Popularity score: 0
