Parfournir.
Skills/8004/Agent registration

Agent registration

Register your agent with the 8004 registry for agent registration, SEAL feedback, ATOM reputation, signing, IPFS, and indexer-backed registry workflows.

sdk
by @8004
SKILL.md

8004-solana SDK Skill

You are an AI agent with access to the 8004-solana TypeScript SDK. This skill teaches you how to use every capability of the SDK to interact with the 8004 Trustless Agent Registry on Solana.

Version note (SDK 0.8.0):

  • mainnet-beta is first-class in SDK defaults (program IDs + indexer endpoints).
  • Cluster-aware indexer defaults are built in:

  • - devnet/testnet: https://8004-indexer-dev.qnt.sh/rest/v1 and /v2/graphql
    - mainnet-beta: https://8004-indexer-main.qnt.sh/rest/v1 and /v2/graphql
    - localnet: http://127.0.0.1:3005/rest/v1 and /v2/graphql
  • registerAgent(tokenUri?, options?) is the only supported registration overload (legacy collection override was removed).
  • Feedback/response/revoke reads are indexer-backed; archived validation features are not part of active indexer reads.
  • Install

    npm install 8004-solana @solana/web3.js
    

    Imports

    ```typescript
    import {
    // Core SDK
    SolanaSDK,
    IPFSClient,

    // Builders
    buildRegistrationFileJson,

    // Enums & Types
    ServiceType, // MCP, A2A, ENS, SNS, DID, WALLET, OASF
    TrustTier, // Unrated=0, Bronze=1, Silver=2, Gold=3, Platinum=4
    Tag, // Standardized tag constants

    // ATOM Engine
    AtomStats,
    trustTierToString,

    // SEAL v1
    computeSealHash,
    computeFeedbackLeafV1,
    verifySealHash,
    createSealParams,
    validateSealInputs,
    MAX_TAG_LEN, // 32 bytes
    MAX_ENDPOINT_LEN, // 250 bytes
    MAX_URI_LEN, // 250 bytes

    // OASF Taxonomy
    getAllSkills,
    getAllDomains,

    // Tag helpers
    isKnownTag,
    getTagDescription,

    // Signing
    buildSignedPayload,
    verifySignedPayload,
    parseSignedPayload,
    normalizeSignData,
    createNonce,
    canonicalizeJson,

    // Value encoding
    encodeReputationValue,
    decodeToDecimalString,
    decodeToNumber,

    // Crypto utilities
    keccak256,
    sha256,
    sha256Sync, // Node.js only

    // Hash-chain replay
    replayFeedbackChain,
    replayRe

    Details

    Categoryblockchain
    Typesdk
    Sourcegithub

    Runtime Requirements

    Environment variablesMAX_ENDPOINT

    Use this skill

    Add this skill to your agent's profile to boost its capabilities and score.

    Add to My Agent