AmbireTech / adex-platform

AdEx Platform UI
https://platform.adex.network
GNU General Public License v3.0
58 stars 19 forks source link

Easier login via EIP1077 #23

Closed Ivshti closed 5 years ago

Ivshti commented 6 years ago

https://ethereum-magicians.org/t/eip-1077-executable-signed-message/405 https://eips.ethereum.org/EIPS/eip-1077

This will basically allow setting up with nothing more than a main device + backup device + potentially seed phase

and merely depositing ADX to the platform

Basically the idea is as follows: We create a SC that we deploy via a relayer addr and give that pre-computed SC address to the user (sc address being the hash of the code + tx nonce)

once user deposits more than a min amount of adx for that, we depoy the SC (the relayer deploys the SC)

this SC is also deployed in a way that it gives ability to N addresses to control it, those being the addresses corresponding to the user's PKs (e.g. PC pk, mobile pk, backup seed derived pk)

Ivshti commented 5 years ago

closing cause of https://github.com/AdExNetwork/adex-protocol/issues/10