Skip to content

Feat: Create Asset Link#90

Draft
txalkan wants to merge 3 commits into
UTEXO-Protocol:devfrom
txalkan:feat/asset-link
Draft

Feat: Create Asset Link#90
txalkan wants to merge 3 commits into
UTEXO-Protocol:devfrom
txalkan:feat/asset-link

Conversation

@txalkan

@txalkan txalkan commented Jun 30, 2026

Copy link
Copy Markdown
Member
  • Adds POST /assetlink/create.
  • Persists a local AssetLink record per issued asset in KV storage (issue_asset_nia now writes an issuer record with linked_asset_id = None, signature = None, created_at = None).
  • asset_link_create then upgrades the asset_id record to point at linked_asset_id, adds the host signature, and sets created_at.

Validation rules:

  • Both assets must exist locally and be issued by the same node pubkey.
  • asset_id and linked_asset_id must differ.
  • Repeating the same link is idempotent.
  • Linking the same asset to a different target is rejected.

@txalkan txalkan self-assigned this Jun 30, 2026
@txalkan txalkan moved this from Todo to In progress in alpha-protocol Jun 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: In progress

Development

Successfully merging this pull request may close these issues.

1 participant