2
2
title : Name Service
3
3
---
4
4
5
- A SPL program for issuing and managing ownership of: domain names, Solana Pubkeys, URLs, twitter handles, ipfs cid's etc..
5
+ A SPL program for issuing and managing ownership of: domain names, Solana Pubkeys, URLs, Twitter handles, ipfs cid's etc..
6
6
7
7
This program could be used for dns, pubkey etc lookups via a browser extension
8
8
for example, the goal is to create an easy way to identify Solana public keys
@@ -17,18 +17,18 @@ Key points:
17
17
- A name can have a parent name that is identified by the address of its record.
18
18
The owner of the parent name (when it exists) needs to sign the issuance of
19
19
the child name.
20
- - The data of a name registry is controlled byb the class keypair or, when it is
20
+ - The data of a name registry is controlled by the class keypair or, when it is
21
21
set to ` Pubkey::default() ` , by the name owner keypair.
22
22
- Only the owner can delete a name registry.
23
23
24
24
25
25
Remarks and use cases:
26
- - Domain name declarations: One could arbitrarly set-up a class that we can call
26
+ - Domain name declarations: One could arbitrarily set-up a class that we can call
27
27
Top-Level-Domain names. Names in this class can only be issued with the
28
28
permission of the class keypair, ie the administrator, who can enforce that
29
29
TLD names are of the type ` ".something" ` . From then on one could create and
30
30
own the TLD ` ".sol" ` and create a class of ".sol" sub-domains, administrating
31
- the issuance of the ` "something.sol" ` sub-domains that way (by setting tha
31
+ the issuance of the ` "something.sol" ` sub-domains that way (by setting the
32
32
parent name to the address of the ` ".sol" ` registry).
33
33
34
34
An off-chain browser extension could then, similarly to DNS, parse the user SPL
@@ -42,16 +42,16 @@ centralized, the creation of new classes is permissionless and as a class owner
42
42
any kind of decentralized governance signing program could be used.
43
43
44
44
- Twitter handles can be added as names of one specific name class. The class
45
- authority of will therefore hold the right to add a twitter handle name. This
46
- enables the verification of twitter accounts for example by asking the user to
45
+ authority of will therefore hold the right to add a Twitter handle name. This
46
+ enables the verification of Twitter accounts for example by asking the user to
47
47
tweet his pubkey or a signed message. A bot that holds the private issuing
48
48
authority key can then sign the Create instruction (with a metadata_authority
49
49
that is the tweeted pubkey) and send it back to the user who will then submit
50
50
it to the program.
51
51
In this case the class will still be able to control the data of the name registry, and not the user for example.
52
52
53
53
Therefore, another way of using this program would be to create a name
54
- (` "verified-twitter -handles" ` for example) with the ` Pubkey::default() ` class
55
- and with the owner being the authority. That way verified twitter names could be
56
- issued as child names of this parent by the owner, leaving the user as being to
57
- able to modify the data of his twitter name registry.
54
+ (` "verified-Twitter -handles" ` for example) with the ` Pubkey::default() ` class
55
+ and with the owner being the authority. That way verified Twitter names could be
56
+ issued as child names of this parent by the owner, leaving the user as being
57
+ able to modify the data of his Twitter name registry.
0 commit comments