hashmesan / harmony-totp

SmartVault is a smart contract wallet designed with worry-free recovery using your Google Authenticator (no worry about secret, key phrases, device loss, email phishing, sms hijacking), and with many advanced wallet features.
https://sefwallet.one
21 stars 17 forks source link

Deploy sefwallet.one subdomainRegistrar #61

Closed hashmesan closed 2 years ago

hashmesan commented 2 years ago

The goal was to register sefwallet.one with the official Harmony Registry.

Since there was little documentation on how it was deployed. I had to go through the official registry address, find the baseregistrar (the domain), then find the controller which are delegated to register.

Controller: https://explorer.harmony.one/address/0xbed36523cc78c8093cd0e4a6730e4c60bdc48b05 Registration was then able to be on with a commit, and registerwithconfig.

Once that was completed, I registered the subdomainregistrar (our own to control the price). Then the ownership was delegated via "approve" to this contract, then the subdomain was able to configureDomain for use.

Prices were setup to be whole numbers:

[ '512', '256', '128', '64', '32', '16', '8', '4', '2', '1' ] These are the cost from 3 characters+ in ONE, halving every character for period of approximately 6 years or duration of 200000000

Work was completed on : https://github.com/hashmesan/subdomain-registrar/commit/defe073c1d11d1f8616203d3d882a07e45141ac0