FreezingMoon / AncientBeast

The Turn Based Strategy Game/eSport. Master your beasts! 🐺
https://AncientBeast.com
GNU Affero General Public License v3.0
1.65k stars 567 forks source link

web3 multiplayer log-in #2032

Open DreadKnight opened 2 years ago

DreadKnight commented 2 years ago

Should be able to log into multiplayer mode using web3 accounts or various crypto wallets.

This seems like one of the go-to technologies used nowadays: https://login.xyz (Ethereum) or we could go for MetaMask directly.

I hope that Colyseus game engine will support it by default, so that it would make things easier when we switch #1788

Ejayz commented 2 years ago

In metamask thus it need a username or the username woud be the wallet?

DreadKnight commented 2 years ago

@aspectdev-ph I guess it will just be the wallet, that's fine. Then players could some up some non-verified nickname but eventually could use a nicer identity that's NFT based #1854

Ejayz commented 2 years ago

the login can be done but the NFT thing is not lmao

DreadKnight commented 2 years ago

@aspectdev-ph Should be doable as well eventually. One step at a time though :D

jessiepathfinder commented 2 years ago

How about on-chain username storage? We can have a public usernames registry that binds addresses to usernames.

DreadKnight commented 2 years ago

@jessielesbian That would be cool. Can't code stuff like that myself though. There's another open issue actually #1854 where people could buy and trade nicknames as NFTs, that would be ideal down the road. Kinda like domain names in a way ;)