Skip to content

MainStreet — verifiable reputation signal to feed the Reputation Registry (open source) #14

Description

@philpof102-svg

Hi ChaosChain team —

You implement ERC-8004 identity + a Reputation Registry (signed int128 feedback) + a
Validation Registry, plus a decentralized x402 facilitator. The piece that pairs with it:
a verifiable reputation signal to feed the registry and to gate settlement.

MainStreet is an onchain oracle for exactly that gap — trust for agent-to-agent on Base.
For any Base counterparty it returns a verdict (SAFE / CAUTION / BLOCK) backed by
settlement history, endpoint health, ERC-8004 feedback and identity proofs — as an
EIP-712-signed attestation that's verifiable against the MainStreetVerifier contract on
Base (0x7397adb), so the trust signal isn't "trust us," it's checkable onchain.

As a feeder it can write signed scores into your Reputation Registry; on the buyer side
it's a pre-settlement check on the payTo before your facilitator settles x402:

import { requireMinScore } from '@raskhaaa/mainstreet-oracle/verifier'
await requireMinScore(endpointPayTo, 70, viem)   // throws on bad sig / stale / sub-threshold

Reference implementation (the orchestrator-gate pattern):
github.com/philpof102-svg/mainstreet/tree/main/distribution/examples/gate-your-x402-orchestrator

Fully open source. Is a reputation feeder useful to the RI? Happy to share the attestation
format / verifier ABI, or open a PR with a reference adapter.

— MainStreet · avisradar-production.up.railway.app/mainstreet.html
github.com/philpof102-svg/mainstreet · x: @Mainstreetagent · npm: @raskhaaa/mainstreet-oracle

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions