Advertisement
c1s0r

Scam or legit? NNS

Jun 8th, 2018
381
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.14 KB | None | 0 0
  1. Simple and needed project. DNS for the NEO blockchain. Using existing solutions, the developer team created a better way to allow domain names on the blockchain. Almost all (if not all) source code is on GitHub with open access for anyone. Our analysis did not discover any critical flaws in the project. Our verdict: Not a scam, Approved!
  2.  
  3. Overview
  4. -----
  5. Concept
  6. Decentralized DNS (domain name service) based on the NEO blockchain. NNS allows people to use short and easily remembered words or phrases instead of long and unintelligible ones. In essence, you can transfer a token to an NNS domain name instead of a blockchain address.
  7.  
  8. Domain names can be mapped, for example, to contract hash, content hash, public key, etc.
  9.  
  10. Website
  11. -----
  12. Simple one-pager website. Everything is clear and to the point. Site’s source code is on GitHub (they have a lot on GitHub). The website has an IPv6 record — plus 500 points to karma.
  13.  
  14. Social Networks
  15. -----
  16. Twitter: about 3000 followers
  17. Telegram: about 14000 members
  18. Medium: about 600 followers
  19.  
  20. They periodically post updates. Accounts have some activity — which is great.
  21.  
  22. GitHub
  23. -----
  24. Besides the NNS repository, the NewEconoLab page has another 50 repositories in GitHub. There are also repositories there with the website’s source code, whitepaper, NNS, and the NEO-NS browser. Every repository is active. Developers are contributing commits, etc. All good — no further questions.
  25.  
  26. Team
  27. -----
  28. The two key people here are Liu Yongxin and Li Jianying. The former is the originator of the NNS idea; the latter is responsible for its technical implementation. Btw, Li Jianying -is a Core Developer of NEO, so obviously no questions about his qualifications or relevant expertise. The project’s GitHub lists 4 contributors, but the bulk of commits are by lightszero (Li Jianying) — he’s clearly on top of this.
  29.  
  30. For the rest of the team, this is basically their first significant project. But considering Li’s massive experience, this shouldn’t be a problem.
  31.  
  32. Should be noted that the team’s LinkedIn profiles… they’re empty. Why even link to them?
  33.  
  34. Not for nothing: The project is promoted by neonewstoday.com, the official news outlet of NEO.
  35.  
  36. Whitepaper
  37. -----
  38. NNS solves a simple problem: complicated, long, can’t-ever-remember names of crypto wallets, smart contracts, public keys, etc.
  39.  
  40. The solution is pretty simple too — create something like a DNS (domain name service), their own alias service.
  41.  
  42. It’s important to understand that NNS will be used exclusively on the NEO blockchain (hence the first N of the acronym).
  43.  
  44. De facto, such solutions already exist for other blockchains: IPFS has its alias service — IPNS, and Ethereum has ENS.
  45.  
  46. So this team decided to create something for NEO, based on existing technology and incorporating the best of what’s out there.
  47.  
  48. For example, to improve on the approach used in ENS, they split the owner contract from registry module to achieve more flexible ownership control in NNS.
  49.  
  50. Also, NNS have two types of resolutions: quick resolution and complete resolution. Plus, they have introduced a smart token in their economic model to achieve redistribution of system costs.
  51.  
  52. At the moment, NNS is focused on NEO wallet addresses or smart contracts. But the system is scalable, and the plan to add the ability to use NNS for public keys, names and hashes of files, emails, messages, and pet names.
  53.  
  54. So, for example, NNS allows for a more secure and more transparent transfer of tokens via an alias, especially for those accounts who need to make public their wallet addresses and do not need to change their addresses frequently — such as a wallet’s public address for an ICO. With a short, easily memorizable alias, it would be a lot harder for hackers to change the name without investors noticing.
  55.  
  56. Additionally, smart contracts on the NEO blockchain could be accessed by their domain name — which, once again, is convenient, fast, transparent, and more secure.
  57.  
  58. Using NNS in the NEOFS — the decentralized file storage based on NEO — in the future they could use it to quickly access files.
  59.  
  60. Since the blockchain is the infrastructure of the next generation of the Internet, an increasing number of services will be based on blockchain technology. As such, the need for alias services will only grow.
  61.  
  62. NNS functions
  63. NNS has similar goals to DNS.
  64.  
  65. First, to resolve human-readable names (like beautiful.neo) into machine-readable identifiers (like a NEO wallet address).
  66. Second, to provide descriptive data for domain names, such as whois, contract interface description, etc.
  67.  
  68. NNS Architecture
  69. 1. Top-level domain name contract (domain name root is the script that manages root domain name)
  70. 2. The owner (could be a personal account’s address or a smart contract)
  71. 3. Registrar (a smart contract that issues subdomains of that domain to users. The root domain name specifies a root domain name’s registry)
  72. 4. Resolver (responsible for resolving a domain name or its subdomain names)
  73.  
  74. Top-level Domain Name Contract contains all the information about the root domain, such as .neo or .test:
  75. 1. The owner of the domain name
  76. 2. The registrar of the domain name
  77. 3. The resolver of the domain name
  78. 4. The TTL (time to live) of the domain name
  79.  
  80. Owner
  81. The domain own could be owned by either the user or by a smart contract.
  82.  
  83. The owner can:
  84. - Give the right to the domain over to another address or a smart contract
  85. - Change Registrar
  86. - Change the Resolver
  87.  
  88. Using smart contracts as owners allows, for example, domain ownership by two people. In this case, the rights to that domain can only be passed to another person with the signature from both owners. If more than two people own the domain, rights transfer decisions are made via voting.
  89.  
  90. Registrar
  91. The registrar is responsible for governing subdomains and has two functions:
  92. - To re-specify subdomain names of a domain name to other owners
  93. - To check whether the owner of a subdomain name is legal or not because second-level domain names could be transferred to others after third-level domain names are sold
  94.  
  95. There could be many types of registrars:
  96. - “First come, first served” registrar. This type will be used in the .test testnet
  97. - Administers allocate registrars manually. Each domain’s administrator manually designates subdomain rights
  98. - Registrar auction. This type will be used in the .neo mainnet .
  99.  
  100. Resolver
  101. This is the actual smart contract that resolves domain names.
  102.  
  103. Resolution Process
  104.  
  105. To resolve domain names, a user has two options:
  106.  
  107. 1. Quick resolution: direct resolution of the domain name
  108. 2. Complete resolution (In a complete manner, the root of the domain name will start with the root domain name and queries ownership and TTL layer by layer)
  109.  
  110. NNS Economic Model
  111. Will use two types of tokens: NNC and SGAS
  112.  
  113. NNC: an equity proof token has a total supply of 1 billion.
  114.  
  115. The fees charged for all domain name auctions will be completely redistributed to NNC’s holders.
  116.  
  117. The initial issuance of the NNC is in the form of airdrop(s). NNC will be only airdropped to NEO holders. Specific airdrop rules will be announced in the future.
  118.  
  119. SGAS is a kind of gas token with a total supply of 100 million.
  120.  
  121. In the NNS system, SGAS mainly has the following functions:
  122. - It can be converted into GAS and vice-versa
  123. - Recharge/withdraw from the registrar
  124. - Participate in domain auctions
  125. - Auction fee payment
  126.  
  127. Bonus pools
  128. When a user bids for a domain name, NNS will generate income from SGAS. There are two main sources:
  129. - The bid winner will be charged all the bid fund as the fee
  130. - For users who participate in the auction, but lose the bid, 5% of the bid is charged as a fee
  131.  
  132. All fee income will be transferred to bonus pools. In the bonus pools, all NNC holders can receive SGAS in proportion to their NNC holdings.
  133.  
  134. Domain Name Browser
  135. NNS domain name browser is the entrance which provides NNS domain name query, auction, transfer, and other functions.
  136.  
  137. Reverse Resolution
  138. NNS will support reverse resolution, which will become an effective way to verify addresses and smart contracts.
  139.  
  140. Roadmap
  141. First Quarter 2018
  142.  
  143. January 2018, officially release NNS technical white paper
  144. January 2018, complete the technical principle test and verification
  145. January 31st, 2018, release the NNS Phase 1 testing service, including registrar and resolver, on the test net, anyone can register unregistered and rules-compliant domain names
  146. February 2018, launch testnet-based Domain Name Browser V1
  147.  
  148. Second Quarter 2018
  149.  
  150. March 2018, issue NNC on testnet
  151. March 2018, release NNS Stage 2 testing service, including bidding service on testnet when anyone can apply to NEL for NDS bidding test domain name
  152. April 2018, launch testnet-based domain name browser V2
  153. May 2018, issue NNC on mainnet
  154. June 2018, release NNS service on mainnet. Here comes Neo domain name era
  155. June 2018, release mainnet-based domain name browser
  156.  
  157. Whitepaper conclusion
  158. The whitepaper is written in a clear and understandable manner. Every section has a full explanation and description. There is a section with the interfaces of the main smart contracts.
  159.  
  160. There is plenty of technical information to fully understand the algorithm. Very little unnecessary wording — all to the point. That’s why it’s so short.
  161.  
  162. The only screw up are in design — images are stretched out of proportions, some lists are off alignment. It’s small stuff, but could’ve been easily fixed.
  163.  
  164. Questions for the project
  165. -----
  166. Q: Why use NNS for emails and message addresses? They’re not written with hashes and can be easily read via symbols and phrases. Unless… do they mean using NNS for their own email service?
  167. A:
  168.  
  169. Q: Will they protect the project from a homograph attack? If yes, how? Important , since using a homograph attack, a malicious actor can switch out the domain name for a fake one. [https://en.wikipedia.org/wiki/IDN_homograph_attack]
  170. A:
  171.  
  172. Q: They mentioned an airdrop to NEO holders (1 NEO to 0.1 NNC). When?
  173. A:
  174.  
  175. Conclusion
  176. -----
  177. Simple and workable solution. The project is created to improve the NEO blockchain. The website doesn’t have any unnecessary info — all to the point. All the source code is on GitHub in open access. The team is not especially strong, with it being the first project for most of them… but considering the experience of Li Jianying (Core Developer в NEO), the inexperience of the rest of the team is not a problem.
  178.  
  179. Very clear positioning: DNS for NEO. The whitepaper is clear and detailed about every aspect (including even system interfaces). Tokenomics are well covered, including who will get paid and how. We found no critical problems nor fuck ups in this project.
  180. Verdict
  181.  
  182. Disclaimer: The above audit is not in any way financial advice or a solicitation to buy — it’s merely our collective opinion that we are kind enough to share with you. Don’t make us regret that.
  183.  
  184. The report is prepared in partnership with https://t.me/ico_reports
  185.  
  186. Our links:
  187. https://t.me/c1s0r
  188. https://twitter.com/c1s0r
  189. https://medium.com/@c1s0r
  190. https://steemit.com/@c1s0r
  191. https://golos.io/@c1s0r
  192. https://pastebin.com/u/c1s0r
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement