# Design GenLayer ERC-7710 Connectors

Cross-chain delegation revocation designs can miss trust boundaries and finality assumptions. This skill guides Claude, Codex, and Claude Code through connector modes, payloads, controller checks, and failure tests.

## Install

```bash
npx skillstore add internet-court/genlayer-erc7710-connector
```

## Metadata

- Status: approved
- Slug: internet-court-genlayer-erc7710-connector
- Skillstore revision: r1
- Version status: missing
- Tree hash: a4a0dd7afbdcfc1fba20b61f0a2dca1b78549e5ae9432cf68e47e7477f7627a5
- Author: internet-court
- GitHub username: internet-court
- License: MIT
- Repository: https://github.com/internet-court/internet-court-skill/tree/main/integrations/genlayer-erc7710-connector
- Ref: 3f6e026a3363e0954ede7bef0cfe88d4475de137
- 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: 75
- Public page: https://skillstore.pages.dev/skills/internet-court-genlayer-erc7710-connector
- Manifest: https://skillstore.pages.dev/api/skills/internet-court-genlayer-erc7710-connector/manifest

## Capabilities

- Selects manual relay, trusted relayer, bridge, optimistic relay, or verified bridge modes.
- Defines GenLayerDelegationDecision payload fields and relay envelope requirements.
- Maps continue, warn, constrain, revoke, and escalate decisions to EVM effects.
- Specifies revocation controller surfaces and ERC-7710 redemption checks.
- Lists failure cases and tests for stale, duplicate, forged, or wrong-permission decisions.

## Use Cases

- Prototype Cross-Chain Revocation: Plan a demo where a GenLayer decision updates or revokes an ERC-7710 permission on Base Sepolia.
- Design a Trusted Watcher MVP: Define watcher finality rules, signed relay payloads, allowlisted keys, event logs, and emergency revoke paths.
- Review Production Assumptions: Compare optimistic relay and verified bridge options before making production-grade security claims.

## Prompt Templates

### Choose a Connector Mode

```
I have a GenLayer review result and an ERC-7710 permission. Recommend the simplest connector mode and list its trust assumptions.
```

### Define the Relay Payload

```
Draft the GenLayer decision payload fields for one mandate. Include replay protection, expiry, finality, and the EVM effect.
```

### Plan Controller Integration

```
Design the EVM revocation controller interface and explain where ERC-7710 redemption should check revoke, pause, and constraints.
```

### Audit Failure Cases

```
Review my connector plan for forged decisions, stale messages, duplicate relays, front-running, relayer outage, and wrong permission hashes.
```

## Limitations

- Does not teach GenLayer contract deployment or CLI operations.
- Does not provide production bridge proofs or deployed contracts.
- Requires an existing mandate, ERC-7710 policy, and GenLayer review flow.
- Security depends on the chosen relay trust model and finality assumptions.

## Best Practices

- State the connector mode and trust assumptions before describing implementation details.
- Keep replay protection, expiry, finality, and emergency revoke controls in every design.
- Test stale decisions, duplicate messages, forged payloads, and wrong permission hashes.

## Anti Patterns

- Do not claim GenLayer cancels ERC-7710 without an EVM-side enforcement path.
- Do not use verified bridge language unless proof verification is implemented.
- Do not omit absolute permission expiry or emergency owner revocation.

## Security Audit

- Audited at: 2026-07-21T03:15:14.508\+00:00
- Summary: All 37 static alerts are false positives caused by Markdown backticks, documentation URLs, and chain-identity validation guidance. The skill is documentation-only and contains no executable commands, automated network activity, prompt injection, or data-exfiltration intent.

## Stats

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