मुख्य सामग्री पर जाएँ
Skillpedia
एजेंट7.0k · #13598

genlayer-erc7710-connector

यह क्या करती है

यह स्किल डेवलपर्स के लिए है जो GenLayer समीक्षा के फ़ैसले को उस स्मार्ट कॉन्ट्रैक्ट से जोड़ना चाहते हैं जो एजेंट की अनुमतियाँ नियंत्रित करता है। इसमें संदेश का प्रारूप, रिले या ब्रिज का रास्ता, विफलता संभालना, और ब्लॉकचेन पर अनुमति रद्द करने का असली असर शामिल है।

कब इस्तेमाल करें

  • ✓जब आपके पास पहले से GenLayer समीक्षा हो और आपको उसके नतीजे को अनुमति बदलाव में बदलना हो।
  • ✓जब आपको तय करना हो कि समीक्षा का नतीजा ब्लॉकचेन कंट्रोलर तक कैसे भेजा जाए।
  • ✓जब आप योजना बना रहे हों कि समीक्षा का नतीजा देर से आए या विफल हो तो क्या होगा।

Skill का लिंक

https://github.com/internet-court/internet-court-skill/blob/main/integrations/genlayer-erc7710-connector/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/internet-court/internet-court-skill/blob/main/integrations/genlayer-erc7710-connector/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“मेरे पास एक GenLayer समीक्षा है जो मेरे एजेंट को स्कोर देती है, और मैं चाहता हूँ कि खराब स्कोर उसके भुगतान रोक दे।”

हर हफ़्ते 5 नई skills, 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

  1. Identify the permission:
    • mandateId, permissionHash, delegator, delegate, delegation manager, target EVM chain, and current policy.
  2. 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.
  3. 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.
  4. Define the message:
    • Include enough data for the EVM controller to revoke or constrain exactly one mandate/permission.
  5. Define the EVM effect:
    • Revoke, constrain, pause, require human approval, or mark pending appeal.
  6. Define safety:
    • Finality assumptions, replay protection, nonce, deadline, idempotency, emergency owner revoke, and absolute permission expiry.
  7. 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 WalletSpendReporter that sends snapshots to GenLayer;
  • a decision receiver such as GenLayerDecisionReceiver that is allowlisted as a relayer on RevocationController;
  • a redemption path that checks RevocationController.isRevoked, isPaused, and getConstraints before 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 स्किल की ओर इशारा करती है।

यह किन ब्लॉकचेन से जुड़ती है?

यह EVM चेन से काम करती है, जो Ethereum वाला परिवार है। सटीक चेन आपके प्रोजेक्ट पर निर्भर है।

जानकारी

लेखक का मूल विवरण

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.

repo: internet-court/internet-court-skill

लोकप्रियता

GitHub स्टार
7.0k
रैंकिंग में स्थान
#13598
लाइसेंस
—
अपडेट की गई
26/10/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

internet-court

7.0k

यह आपके एजेंट को AI एजेंट या पेड सेवा से सुरक्षित तरीके से भुगतान और लेन-देन की शुरुआती दिशा देती है, और सही विशेष गाइड बताती है।

AI और एजेंटएजेंट

genlayer-intelligent-contracts

7.0k

यह आपके एजेंट को AI जज के नियम, सबूत और नतीजे तय करने में मदद करती है, जो जाँचता है कि दूसरा एजेंट अपने अधिकार के दायरे में रहा या नहीं।

AI और एजेंटएजेंट

x402-erc7710

7.0k

यह आपके एजेंट को हर अनुरोध पर वेब सेवा का भुगतान करने और तय सीमा के भीतर लगातार खर्च करने की व्यवस्था में मदद करती है।

AI और एजेंटएजेंट

0g-compute

7.0k

यह आपके एजेंट को 0G विकेंद्रीकृत GPU नेटवर्क पर चैटबॉट, इमेज टूल और स्पीच फ़ीचर बनाना सिखाती है, परखे हुए कोड पैटर्न के साथ।

कोडिंगAPI और सर्वर (backend)

मिलती-जुलती skills