eos icon indicating copy to clipboard operation
eos copied to clipboard

Quality Name Distribution & Namespaces

Open bytemaster opened this issue 8 years ago • 41 comments

Currently EOSIO prohibits the creation of new account names that are less than 12 characters long and/or contain a ".". The purpose of this restriction is to discourage name squatting. That said, it is desirable to enable shorter names for usability and because they are a marketable commodity.

It is also desirable for organizations to have the ability to create a "trusted" namespace where everyone can trust an account suffix like ".edu" or ".com". Shorter suffix enable longer names pre-suffix and therefore have a larger namespace and are more valuable.

The most economically efficient and fair method to allocate shorter names and/or namespaces is to sell the names at market price. To get the most value for the premium names they should not be sold all at once, but over time.

Proposal

  1. Only account name "com" can register new accounts xyz.com
  2. At most one new "premium name" (those that don't contain a ".") will be sold per day and it will be the name with the highest bid.

Bidding on Names

bidname( account_name bidder, account_name desired, asset bid )

If 'bid' is greater than the highest bidder then bidder becomes the pending winner of the desired name. Each bid must be 10% higher than any existing bid. The existing bidder will receive a refund of their bid when they are outbid. This encourages parties to bid high enough that they don't get outbid in the first place and discourages parties from going back-and-forth fighting for the name. It also discourages "squatting" on names hoping no one comes along to outbid them.

Every 24 hours the name with the highest bid is closed. Once closed the "winner" can use the newaccount action to register the account. At this point the memory allocated for the bid is released back to the bidder.

Easy options for masses

The vast majority of users will not want to participate in the daily name auctions because it is a slow and highly competitive process. Instead name-registrars will bid on the good names and then create accounts for their users as "sub-names". Large DAPPs will probably want to reserve their own branded namespace and set their own policy on premium names.

Non-Revokable

Once account xyz.com has been created by .com it cannot be deleted and the owner of xyz.com can potentially transfer control over that account to anyone. If companies wish to retain control over all accounts with ".com" in the suffix then they will need to set the "owner" permission accordingly.

Auction Proceeds

The proceeds from the auction are placed into the system savings account along with other unallocated inflation and RAM trading fees.

FAQ

  1. All names can be bid on at any time, but only the name with the highest bid closes each day. Order of names being sold will be "most valuable first".

  2. Future worker proposals could allocate the proceeds from the name sales.

  3. 12 character limit applies to the full name including the ".suffix"

bytemaster avatar May 18 '18 01:05 bytemaster

An interesting proposal for premium namespace auctions. I can see how these sorts of account name resources would be a desirable asset in many use cases 👍

First thought - if the auction window uses static start/end times (e.g. auctions start/end at 0:00 UTC), it's design may encourage "sniping" of the daily auctions. I'm not sure if this is a major concern - but bidders under these conditions may be at a disadvantage if they participate earlier in the auction, as opposed to bidders participating towards the end. Combine this with the partial refund (75%) and this could turn into a frustrating situation.

Potential solutions to discourage "sniping" include:

  • selecting a secret/random time between X and Y each day that the auction will end, encouraging users to bid early enough to not miss the deadline.
  • each bid extends the auction window by 30 (or X) minutes, allowing users to counter bid any last-minute bid.
  • requiring all "new" bids for the day to be placed within the first 23 (or X) hours of the auction, and only allowing previous bidders (who had been outbid that day) to participate in the last hour of each auction.

One additional thought - would it make sense to prefix (as opposed to suffix) these namespaces (aka reverse-DNS style)? Instead of xyz.com, going with com.xyz. I'm not sure if it would have an impact on the indexes within EOS itself, but this is a common practice I've adopted when dealing with actual DNS domain names, primarily for organization, sorting and grouping. They can always be reversed for UX/presentational purposes.

aaroncox avatar May 18 '18 02:05 aaroncox

in terms of user experience, people will identify most with the "start of the name" so suffix is more appropriate.

in terms of ending it... I agree that it must be at least 24 hours after last bid.

bytemaster avatar May 18 '18 03:05 bytemaster

Items left to do:

  • [ ] update ABI for eosio_global_state, bidname, and namebids table
  • [ ] write unit tests to verify accounts cannot be created unless authorized

bytemaster avatar May 18 '18 04:05 bytemaster

I see 2 potential issues with this:

  1. Demand for premium names could be much higher than 1 per day, which would artificially increase the price of a premium name.
  2. Last-minute bid wars.

I propose the following to alleviate these potential problems:

  • Each day, the top Z% of the names that are bid for are awarded, but not less than 1.
  • Users submit both a current bid and a maximum bid. The maximum bid amount is used to automatically outbid (by X%) anyone who outbids their current bid, similar to how it works on Ebay.

tkaraivanov avatar May 18 '18 05:05 tkaraivanov

I wonder that who would get the cost of bid?BP? Or this part of tokens will be de destroyed by system?Or stake to system?

guaiguaihw avatar May 18 '18 05:05 guaiguaihw

disagree. no need to artificially limit a FREE and OPEN blockchain. let people do whatever they want.

thanks

btsfav avatar May 18 '18 07:05 btsfav

Good proposal, a few comments...

All names can be bid on at any time, but only the name with the highest bid closes each day. Order of names being sold will be "most valuable first".

If the system sells only one account a day, after year we'll have only 365 premium names. That's not much for an ecosystem like EOS. I'd like to see more names sold.

But on the other hand, it might not be a good idea to sell a lot of names in the beginning. Some tokenholders haven't registered their tokens, so they need to wait until they'll get their tokens to EOS blockchain. And generally people will be just learning how the system works and it takes time. So I propose that premium names are sold one per 24 hours for the first month, and after that there is more supply, for example, one account in every 10 hours.

Future worker proposals could allocate the proceeds from the name sales.

I think we could just burn these proceeds by default. The worker proposal fund will be getting a lot of money if the token price stays at this level or goes higher, so I don't see a need for extra funds. If the token price goes lower and extra funding is needed, this can be changed by the community.

samupaha avatar May 18 '18 07:05 samupaha

@guaiguaihw as BM mentions, cost of bid goes into system saving account, just like WPF(worker proposal fund).

rogerone-shen avatar May 18 '18 07:05 rogerone-shen

At most one new "premium name" (those that don't contain a ".") will be sold per day and it will be the name with the highest bid.

It is not enough i think. Every DAPP developer wants a premium name. This limitation stops eosio adopting massive dapps.

rogerone-shen avatar May 18 '18 07:05 rogerone-shen

Does this proposal cover symbol namespace as well? There's going to be a lot of demand for 3 character tickers. How is this going to work?

blahbax avatar May 18 '18 08:05 blahbax

SYMBOL names will have to be allocated by the exchange and/or token contract in the future. We are not currently supporting that as part of this proposal.

bytemaster avatar May 18 '18 14:05 bytemaster

Should we consider renaming our reserved names/permission levels to be consistent with the suffix approach.

For instance eosio.* is currently a reserved namespace for accounts enforced at a base level. This was done so that only privileged accounts (chain level administration) could allocate names in this space (eg eosio.token)

However, this is the reverse of the proposed scheme here and ideally we would have consistency such that the token contract would be emplaced @token.eosio, msig @msig.eosio etc. We should also consider re-renaming the special accounts from #2325 to conform as well.

wanderingbort avatar May 18 '18 15:05 wanderingbort

Hmmm ... could you please clarify @bytemaster - are you saying it will not be possible to create EOS standard tokens with unique tickers at launch?

Currently on private testnet we can create token ABC:

user@localvm:~/eos$ cleos push action eosio.token create '[ "eosio", "1000000000.0000 ABC", 0, 0, 0]' p eosio.token executed transaction: 632985632c04cca957e630c8c174689166177d4849dd0479008148212e419f79 120 bytes 314 us #eosio.token <= eosio.token::create {"issuer":"eosio","maximum_supply":"1000000000.0000 ABC"} warning: transaction executed locally, but may not be confirmed by the network yet

and then attempting to create that same token again results in an exception as the ticker already exists:

user@localvm:~/eos$ cleos push action eosio.token create '[ "eosio", "1000000000.0000 ABC", 0, 0, 0]' -p eosio.token 59247ms thread-0 main.cpp:2444 main ] Failed with error: Assert Exception (10) condition: assertion failed: token with symbol already exists

blahbax avatar May 18 '18 22:05 blahbax

Token SYMBOL names should also have a custom distribution mechanism for the same reasons as premium account names.

bitcoiners avatar May 19 '18 02:05 bitcoiners

Hi Dan, Petty typo comment http://tinyurl.com/yd8pyvnu (I can't help it they just jump out at me).

When names are transferred, as per your example xyz.com, can the current owner sell this to the new owner for whatever price they like and using whatever payment mechanism they like, and will they then be the owner of this name until the end of time? (Unlike current domain registrations which have to be renewed) If so I can see a whole new EOS namespace industry springing up from this.....

roger-eosuk avatar May 19 '18 12:05 roger-eosuk

Will account names work across multiple eos sidechains, or will each sidechain have own account names? Same question for token symbol names. In other words, does multi-chain eos have unified namespace for account names and token symbols?

bitcoiners avatar May 20 '18 02:05 bitcoiners

Having .com or other generally known gtlds as namespaces could be potentially confusing between domain names and eos account names e.g. coinbase.com - could a different separator rather than period be used e.g. @ or * = tortoise@com or boatface*com

Also not clear how namespaces would be auctioned or allocated.

dali1986 avatar May 22 '18 10:05 dali1986

Side chains will likely import accounts from the main chain

bytemaster avatar May 23 '18 01:05 bytemaster

Do we see this live now?

KINGdotNET avatar Jun 04 '18 15:06 KINGdotNET

Because the account name is different from the domain name, if only this rule, then most of the account name will never be used, which is absurd.

BM(bytermaster) can explain why you want to set it up such rule? Just like domain suffix, or is it possible to open up a wider range of account name registrations later after taking part of the premium name suffix? Or does BM have other considerations, For example, does he not want widely use the same one mainnet, but rather want more EOS mainnet launch?

in chinese (用中文表述一下) 因为账号跟域名是有些不一样的,如果仅这样的规则,那么绝大部分的账号名称就永远得不到使用了,这是很奇怪的。

BM能出来解释一下为什么要这样设置吗? 是不是拍出部分黄金名称后缀后,考虑在后期开放更广泛的名称注册?或者说BM是不是有另外的考虑,例如,他是不是不希望很多人使用同一个主网,而是希望有更多的EOS主网? 还是其它什么目的?

EurekaChen avatar Jun 11 '18 12:06 EurekaChen