Code Monkey home page Code Monkey logo

ans's People

Contributors

charmful0x avatar maxknivets avatar xylophonez avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ans's Issues

shortlinks: ANS subdomains - URL shortener

Motivation

This feature request introduces new functionality for ANS domains: human-readable address for a permaweb-stored piece of data (Arweave TXID).

Details

  • subdomain's target: a valid Arweave TXID (43 chars Base64URL string).
  • subdomains limit per label: free 3 subdomains per label. Creating more than 3 subdomains request paying in DLT (cost: TBD).
  • subdomain string's validity is evaluated as same as ANS domains (labels) are validated.
  • created subdomains can be deleted.
  • deleting a subdomain does not increase back the free-subdomains limit.
  • subdomain's resolving TXID is configurable (subdomain's value is editable).

Example

creating a subdomain that redirects to a Permacast-hosted episode (Ethereum Cat Herder podcast) :

  • data TXID (audio/mpeg): 6tJmHUYSCG9KiWJeAtRSa_aBY_iWdnDnGgRDmG_yRJY
  • caller's label: darwin.ar
  • subdomain: ech

Therefore, ech.darwin.ar will resolve to data TXID serving as a human-readable permanent short link

Notes

While a subdomain can only redirect to an Arweave TXID, the main domain (darwin.ar) can also resolve to an Arweave TXID with a supported MIME type defined in the ANS contract. The main domain can also hold social links and web2 URL format.

TBDs - need discussion

  • free subdomains limit per label (if 3 is not the best)
  • enforce the MIME type of the subdomain's value (as same as applied to the main domain)

An alternative for `.ar` TLD

Introduction

The current ANS spec introduced the "label" + dot + "ar" format to label Arweave addresses. The reason to follow this format is to be compatible with other already-existing Domain Names Services protocols (e.g. ENS, PolkaDomains, UnstoppableDomains, etc).

Compatibility Possible Conflict

.ar already exists as a ccTLD for Argentina, the thing that can create conflicts in the future once ANS domains gain a big vast adoption and integrations. As well as labels resolving in web2 browsers for Arweave hosted content hash.

Not using .ar also give ANS a weird UX for its users because ANS is a public & open protocol for Arweave apps, not domain-limited (decent.land)

Issue's Proposal

TLD name proposal in this issue is .psd ; The "PSD" string is not registered yet in CANN TLDs ( see https://data.iana.org/TLD/tlds-alpha-by-domain.txt)

nomenclature

"PSD" refers to "Profit Sharing Domain". The nomenclature does also give a hint on how the ANS labels generate profit to its users through the PoR mechanism.

Also, this naming follows the standards used in the Arweave ecosystem either for PSTs (Profit Sharing Tokens) or PSCs (Profit Sharing Communities, equivalent to DAOs). Hence, .psd fits well in identifying the new asset type in the Arweave network that is introduced by ANS (labels are digital properties, assets).

UPDATE:

the .psd string may provoque another conflict with "Photoshop Document", thus the new suggested TLDs are: .ans and .arw

Author(s)

  • Charmful0x aka Darwin

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.