Skip to content

Loki Name System #342

Description

@KeeJef

Loki Name Service aims to store .loki addresses within the blockchain, this will create an immutable record that allows clients to resolve .loki addresses to SNApp (hidden service) public keys. Similar to namecoin the Loki name service will circumvent issues associated with DNS architecture like DNS blocking, while allowing for Human readable names that are cryptographically secure.

I think the best way accomplish this is to allow lokid to create its own database of names and associated public keys, this database would be append only and would be created from transactions that occur on the blockchain.

My suggestion is that we should reuse registration transactions which expose the tx private key in the extra field of the transaction, revealing the recipient address and the amount of the transaction. The recipient address in this case can be and valid Loki public key for which there would not be generated a private spend key for. In this way the domain registrant can prove they are burning some funds.

Also included in the TX extra field should be the domain name they are reserving and the accompanying public key which that domain should resolve to, this part of the TX extra field should be signed by the corresponding SNApp (hidden service) private key.

Any client who has a full copy of the blockchain should now be able to scan the blockchain and reconstruct a list of reserved domains + associated public keys. This should be exposed via RPC to Lokinet and should be used when resolution occurs. (a separate issue should be created in the Lokinet repo for this)

We should also establish some rules domain name registration timeframe, re-registration and duplicate registrations. I suggest transactions which seek to overwrite a domain with a new public key should not append the database unless the transaction where the original domain was registered is more than 1 year old and there has not been a re-registration from the same keypair extending that window.

Regarding the burning of fees to create a domain i suggest that this sit in the range of 10 - 15 $ per year, this figure does not need to be exceedingly stable and i suggest that it should be adjusted up or down in terms of the Loki cost during hardforks to match the market value of Loki.

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionA meta discussion about the design or implementationenhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions