It is necessary to improve the DexNS tab functionality. "I am a token developer and I want to register my token" button should be enabled. CEW must provide a UI for registering tokens via DexNS. This includes:
- token name (DexNS name)
- optional token parameters: ABI, link, source code, info
- token network
For more info read https://github.com/EthereumCommonwealth/DexNS/#how-do-i-register-my-erc20erc223-token-on-dexns
info
should represent a brief description of the token.
It is needed to add additional fields for tokens that are displayed at CEW. Each token should have the "info" property which will serve as a brief description of the token. Info should be implemented similarly to "question mark" that serve to display extended information about CEW UI functions (example). We will add "info" for a number of well-known tokens later. If the token is registered and loaded by DexNS, then the "info" property from DexNS must be loaded for this token.
There should be four radial buttons at the top of "Send Ether & Tokens" unlocked wallet tab: None
, ENS
, ECNS
and DexNS
. Automatic name search will be performed by that name service, which is currently selected regardless of the network.
NOTE: default network for ENS is ETH, default network for ECNS and DexNS is ETC.
It is necessary to implement the possibility of managing the content of the Name of DexNS. This includes the UI for extending name, appending metadata and changing the properties of a Name. "I have a Name and I want to extend the terms of ownership" button of DexNS tab should be replaced by the button with the following text: "I want to manage my DexNS name(s)".
It is necessary to display the assigned name at the unlocked balance tab / view wallet info tab.If the user does not have any name assigned, then the following link should be displayed: "You don't have a Name yet. You can register one for your address here"
CEW Weekly Update
Summary
[x] DexNS: token registration
[x] DexNS: name management
[x] uiFunc gen / send tx to contract
[x] contract class
Note: for dev purposes, working w/ testnet contract, and added reset button.
work location: https://github.com/j-chimienti/etherwallet/tree/update/dexns
extending name, appending metadata and changing the properties of a Name.
"I have a Name and I want to extend the terms of ownership" button of DexNS tab should be replaced by the button with the following text: "I want to manage my DexNS name(s)".
Added a reset button ( for dev purposes) which clears data and returns to home screen
DexNS: name management
Write:
Writing to contract generates tx and displays to user. Upon verification, it is broadcasted to network.
Model
https://rinkeby.etherscan.io/tx/0x933f6e55a85ad3c67eb8602bdcb845e433907e273a93268bb982ab6b2c7f57c1
Read
Token Registration
Form Validation:
https://rinkeby.etherscan.io/tx/0x5f4130dce527a589d5726c101d1f42b1c7b6613945144d660a099cc52a8993bb
Contract Class
This class provides a wrapper for contracts to handle network calls.
There is also InitContract, which get / set view properties w/ 0 inputs when created.