RTradeLtd / Temporal

☄️ Temporal is an easy-to-use, enterprise-grade interface into distributed and decentralized storage
https://temporal.cloud
MIT License
227 stars 40 forks source link

Managed ENS Hosting #397

Closed bonedaddy closed 5 years ago

bonedaddy commented 5 years ago

:construction_worker: Purpose

Enables non-free users to claim a free ENS subdomain under ipfstemporal.eth based on the username. While also enabling management of the ENS subdomain via Temporal. Currently this is limited to claiming a name USERNAME.ipfstemporal.eth, and updating that particular content hash.

This means that you can manage USERNAME.ipfstemporal.eth without needing to purchase ETH. Now go to http://USERNAME.ipfstemporal.eth.link and you've got your own decentralized website that lives on IPFS.

This feature is available to Paid + Partner accounts, and has no cost, beyond transaction fees. Each transaction uses 5 gwei, which is approximately $0.15USD/tx. That means subdomain registration which requires 3 transactions has an estimated credit cost of $0.45. While content hash updates require a single transaction, thus fee is appriximately $0.15USD

Closes https://github.com/RTradeLtd/Temporal/issues/395, https://github.com/RTradeLtd/database/pull/49 must be merged first.

Possible features we might add:

:rocket: Changes

:warning: Breaking Changes

None

codecov[bot] commented 5 years ago

Codecov Report

Merging #397 into master will decrease coverage by 0.47%. The diff coverage is 37.04%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #397      +/-   ##
==========================================
- Coverage   53.02%   52.56%   -0.46%     
==========================================
  Files          42       43       +1     
  Lines        4031     4112      +81     
==========================================
+ Hits         2137     2161      +24     
- Misses       1428     1468      +40     
- Partials      466      483      +17
Impacted Files Coverage Δ
queue/types.go 50% <0%> (-50%) :arrow_down:
api/v2/routes_ens.go 34.73% <34.73%> (ø)
api/v2/api.go 86% <71.43%> (-0.29%) :arrow_down:
api/v2/routes_payment.go 24.65% <0%> (-1.71%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update f34c85a...0016b9d. Read the comment docs.

bonedaddy commented 5 years ago

test failure is due to cmc price lookup req limit

bonedaddy commented 5 years ago

Note on the estimated gas price costs: