PeepethClient
PeepethClient copied to clipboard
Feature: add avatar, message to world and twitter link when creating account
Current behavior: Now you can only register account with name.
Expected behavior: Need to register account with:
- avatar
- website
- location
- message to world
- twitter link
- info
Data needs to be sent both to PeepEth server and to blockchain.
Solution: It’s needed to prepare sending data to server and to Ethereum blockchain. Carefully look at how account registers now. Perhaps for avatar you need just to load image to some server and use its link when forming registration data.
Registration for new account starts in SettingsViewController. You form user data:
let user = User(info: "",
location: "",
realName: realName,
website: "",
avatarUrl: "",
backgroundUrl: "",
messageToWorld: "",
untrustedTimestamp: timeStamp)
As you can see there are a lot of empty values. Fill them
To get more info about how does it works - register account from Desktop PeepEth in Chrome using Developer Tools to “reverse engineer it”.
Acceptance Criteria: The code is written in new branch named feature/sendUserData or something like that. The code implements the targets described above. The code can be merged into the develop branch without conflicts.
Required Skill: Participants needs to have experience in Swift software development.