Skip to content

[Medium] ENS (.eth) resolution is a stub but README advertises it #5

Description

@Kingvic300

Severity: Medium — ENS (.eth) name resolution is a stub but the README advertises it

The README repeatedly claims name resolution works across chains:

Names, not hex. .sui, .eth, and friends resolve before the request fires.
(README.md:71)

But the Ethereum adapter never resolves ENS:

// cli/src/chains/ethereum.rs:66-72
async fn resolve_name(&self, name: &str) -> Result<Option<String>> {
    if !name.ends_with(".eth") { return Ok(None); }
    // ENS resolution would go here
    Ok(None)
}

(ethereum.rs:66-72). As a result, handlers.rs:387-394 falls back to "could not be resolved! Proceeding with raw input", so txio eth balance vitalik.eth queries the literal string vitalik.eth and fails. Only Sui (suix_resolveNameServiceAddress) actually resolves.

Fix

  • Implement ENS resolution (resolver lookup via eth_call to the ENS registry/resolver), or update the README/CLI to state that only SuiNS is currently supported.

Migrated from Kingvic300/txio#45

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardOfficial Campaign | FWC26Campaign: Official Campaign | FWC26Third CampaignCampaign: Third CampaignbugSomething isn't workingdocumentationImprovements or additions to documentationpriority:mediumNormal priority

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions