genlayer-erc7710-connector
하는 일
이 스킬은 GenLayer 검토 결정을 에이전트의 권한을 관리하는 스마트 컨트랙트에 연결하려는 개발자를 위한 것입니다. 메시지 형식, 릴레이나 브리지 경로, 실패 처리, 블록체인에서 권한 취소가 실제로 무엇을 하는지 다룹니다.
사용하는 경우
- ✓GenLayer 검토가 이미 있고, 그 결과를 권한 변경으로 바꿔야 할 때.
- ✓GenLayer 검토 결과를 블록체인 컨트롤러에 어떻게 보낼지 정해야 할 때.
- ✓검토 결과가 늦게 도착하거나 실패하는 경우를 대비할 때.
스킬 링크
https://github.com/internet-court/internet-court-skill/blob/main/integrations/genlayer-erc7710-connector/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“제 에이전트를 평가하는 GenLayer 검토가 있고, 점수가 나쁘면 결제를 막고 싶습니다. 이를 연결하는 방법을 알려 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
GenLayer 결정이 만들어지면 릴레이나 브리지가 이를 EVM 블록체인의 컨트롤러 컨트랙트로 전달합니다. 그 컨트롤러가 이후 권한의 사용을 제한하거나 막습니다. 스킬은 GenLayer가 스스로 변경을 적용하지 않으므로 컨트롤러가 결정을 반드시 실행해야 한다고 강조합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
GenLayer ERC-7710 Connector
Use this skill after the mandate, ERC-7710 policy, and GenLayer Intelligent Contract review flow exist. This skill does not teach GenLayer contract deployment. For GenLayer build, deploy, test, and CLI operations, use the official GenLayer skills at https://skills.genlayer.com/ or the GenLayer documentation.
This skill specifies the connector:
GenLayer Intelligent Contract decision
-> decision proof / receipt / finalized result
-> relayer or bridge
-> EVM RevocationController
-> ERC-7710 Delegation Manager rejects or constrains future redemptions
Design Rule
Never say "GenLayer cancels ERC-7710" without defining the effect path. GenLayer produces a decision. An EVM-side controller, account module, caveat enforcer, or delegation manager integration must consume that decision.
Workflow
- Identify the permission:
mandateId,permissionHash, delegator, delegate, delegation manager, target EVM chain, and current policy.
- Identify the GenLayer decision source:
- supervisor contract address, method that stores/returns the decision, review window, decision enum, score, issued timestamp, and finalized transaction id.
- Choose the connector mode:
- Manual demo relay, trusted relayer, GenLayer Studio bridge relay, optimistic relay with challenge window, light-client/bridge verification, or direct EVM call if supported by the target GenLayer/EVM integration.
- Define the message:
- Include enough data for the EVM controller to revoke or constrain exactly one mandate/permission.
- Define the EVM effect:
- Revoke, constrain, pause, require human approval, or mark pending appeal.
- Define safety:
- Finality assumptions, replay protection, nonce, deadline, idempotency, emergency owner revoke, and absolute permission expiry.
- Define tests:
- Continue does nothing, revoke blocks future redemption, constrain tightens policy, stale decisions fail, duplicate messages are idempotent, forged decisions fail.
Connector Modes
Use the simplest mode that honestly matches the demo.
Manual Demo Relay
Best for hackathon/prototype demos. The UI or operator reads the GenLayer decision and calls the EVM revocation controller.
State the trust assumption: the operator is trusted to relay the decision correctly.
Trusted Relayer
Best for a realistic MVP. A service watches GenLayer review transactions, waits for finality, then submits a signed EVM transaction.
Require allowlisted relayer keys and onchain event logs. Keep the delegator emergency revoke path.
GenLayer Studio Bridge Boilerplate
Use this for Base Sepolia demos that should exercise a real cross-chain control loop without claiming mainnet-grade verification.
Flow:
1. Base reporter contract packages a spend or action snapshot.
2. Base BridgeSender.sol sends it to GenLayer through the bridge boilerplate.
3. BridgeReceiver.py dispatches process_bridge_message() on the supervisor IC.
4. Supervisor IC reviews the window and calls BridgeSender.py.
5. Base BridgeReceiver.sol dispatches processBridgeMessage() on an EVM decision receiver.
6. Decision receiver verifies bridge receiver, source chain id, and source IC.
7. Decision receiver calls RevocationController.applyGenLayerDecisionStruct().
Default Base Sepolia values from the bridge boilerplate:
- Base Sepolia chain id:
84532. - Base Sepolia LayerZero endpoint id:
40245. - GenLayer source chain id emitted by
BridgeSender.py:61998.
Required EVM contracts:
- a reporter such as
WalletSpendReporterthat sends snapshots to GenLayer; - a decision receiver such as
GenLayerDecisionReceiverthat is allowlisted as a relayer onRevocationController; - a redemption path that checks
RevocationController.isRevoked,isPaused, andgetConstraintsbefore spending.
Trust assumption: the bridge service and configured bridge contracts are trusted for the demo unless a verified proof path is added. Keep owner emergency revoke and absolute expiry.
Optimistic Relay
Best when anyone can submit a decision, but the decision can be challenged during a delay.
Use for higher-stakes demos where incorrect revocation is costly and latency is acceptable.
Verified Bridge
Best for production claims. The EVM controller verifies a GenLayer-origin proof or a trusted bridge message.
Do not choose this mode unless the proof/bridge implementation is actually available.
Message Schema
Use this as the default co
자주 묻는 질문
GenLayer가 권한을 자동으로 취소하나요?
아니요. GenLayer는 결정을 만들고, 블록체인의 별도 컨트랙트가 이를 읽어 변경을 적용해야 합니다.
GenLayer 컨트랙트를 작성하려면 이 스킬이 필요한가요?
아니요. 이 스킬은 연결만 다루며, 컨트랙트 작성과 배포는 공식 GenLayer 스킬을 참고하라고 안내합니다.
이 스킬은 어떤 블록체인과 연결되나요?
Ethereum을 포함한 EVM 체인 계열과 작동합니다. 정확한 체인은 프로젝트에 따라 다릅니다.
상세 정보
작성자의 원본 설명
Connect GenLayer Intelligent Contract decisions to ERC-7710-style delegated authority. Use when an agent needs to design the interface, message schema, relayer/bridge path, EVM revocation controller, constraint updates, proof/finality assumptions, and failure handling that turn a GenLayer agent-performance review into ERC-7710 revocation or policy changes.
인기도
- GitHub 스타
- 7.0k
- 순위
- #13598
- 라이선스
- —
- 업데이트
- 2026. 10. 26.
댓글
- …
이 저장소의 다른 스킬
internet-court
7.0k에이전트가 다른 AI 에이전트나 유료 서비스와 안전하게 결제하거나 거래하도록 돕고, 적합한 전문 가이드를 알려 줍니다.
genlayer-intelligent-contracts
7.0k에이전트가 다른 에이전트가 위임받은 범위를 지켰는지 확인하는 AI 심판의 규칙, 증거, 결과를 정하도록 돕습니다.
x402-erc7710
7.0k에이전트가 웹 서비스 요금을 요청 한 건마다 결제하고, 권한 예산 안에서 지속적인 지출을 설정하도록 돕습니다.
0g-compute
7.0k에이전트가 0G 탈중앙 GPU 네트워크에서 챗봇, 이미지 도구, 음성 기능을 검증된 코드 패턴으로 만들도록 가르칩니다.
비슷한 스킬
add-model-provider
394k에이전트가 안전한 설정 명령으로 새 AI 모델 제공자를 OpenClaw에 연결하고, API 키를 평문으로 두지 않으며, 실시간 테스트를 실행하도록 돕습니다.
acp-router
394k에이전트가 OpenClaw를 통해 Claude Code나 Cursor 같은 코딩 도우미에 작업을 전달해, 작업이 그 도구에서 실행되도록 돕습니다.
browser-automation
394k에이전트가 로그인, 탭, 페이지 응답이 멈췄을 때의 복구를 포함해 웹 페이지를 단계별로 조작하도록 가르칩니다.