ucratic / ucratica_core

Implementation of the Ucratica MMORPG web3 standard based on the Ryzom Core engine. (Prototype)
GNU Affero General Public License v3.0
0 stars 0 forks source link

Implement client-side wallet #1

Open kaetemi opened 3 years ago

kaetemi commented 3 years ago

Bypass account creation, instead go through a wallet creation/import flow.

Server should just create a dummy account if the client can correctly sign a message for the wallet.

Wallet libraries

kaetemi commented 3 years ago

To build Aleth on Visual Studio 2022:

cmake -DHUNTER_MSVC_VERSION=17 -DHUNTER_MSVC_YEAR=2022 -DHUNTER_MSVC_ARCH=amd64 "-DHUNTER_MSVC_VCVARSALL=C:\\Program Files\\Microsoft Visual Studio\\2022\\Professional\\VC\\Auxiliary\\Build\\vcvarsall.bat" ..

Hunter seems to give errors, so better to do a custom build.

Dependencies:

For VS 2019:

cmake -G "Visual Studio 16 2019" ..
cmake --build .

This one seems to build so far.

kaetemi commented 3 years ago

Wallet Core doesn't have Windows support yet, so useless.

kaetemi commented 3 years ago

Wallet Core seems more appropriate, though. May be possible to just port it to Windows quickly.

https://developer.trustwallet.com/wallet-core/developing-the-library/contributing

Dependencies:

kaetemi commented 3 years ago

https://stackoverflow.com/questions/52957249/verifying-ethereum-web3-signed-message-in-php

kaetemi commented 3 years ago

Wallet Core ported to Windows, seems to run fine.