Skip to content

[feature]: Integrate AR.IO SDK for ArNS and Primary Name Support #99

@Jharmony

Description

@Jharmony

Integrate AR.IO SDK to add native support for ArNS (Arweave Name System) and primary names in bazar and permaweb-libs.

Background
AR.IO Network has developed SDK support for primary names and ArNS resolution. We want to integrate this functionality to provide a more robust identity system in bazar.

Integration Points

  1. permaweb-libs:

    • Add AR.IO SDK as a dependency
    • Integrate primary name resolution into profile handling
    • Add ArNS resolution support
  2. bazar:

    • Update profile display to show primary names
    • Add ArNS resolution for content/asset display
    • Integrate with existing AOProfile functionality

Key Files to Modify

  • permaweb-libs/sdk/src/services/profiles.ts
  • bazar/src/views/Asset/AssetInfo/AssetInfo.tsx
  • bazar/src/components/molecules/OwnerLine
  • Other profile/identity related components

Implementation Steps

  1. Initial setup and dependency addition
  2. Create ArNS resolution service
  3. Update profile handling to include primary names
  4. Update UI components to display ArNS/primary names
  5. Add fallback handling for traditional addresses

Coordination

  • Sync with AR.IO team before starting implementation
  • Review integration approach with both teams
  • Plan testing strategy for interoperability

Dependencies

  • AR.IO SDK
  • Coordination with AR.IO team
  • Testing with live ArNS records

Labels: enhancement, identity, integration, ar.io

Resources:
https://github.com/ar-io/ar-io-sdk?tab=readme-ov-file#primary-names

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions