Comments (6)
I will use the formulas outlined here https://medium.com/metamask/eip712-is-coming-what-to-expect-and-how-to-use-it-bb92fd1a7a26 along with the bitcoin core elliptic curve C library https://github.com/bitcoin-core/secp256k1 for ecdsa signature verification and https://github.com/nayuki/Bitcoin-Cryptography-Library/blob/master/cpp/Keccak256.cpp for the keccack256 hash used on the typed data prior to verification.
This way, the game dev does not have to deploy a smart contract and we have no external dependencies/infrastructure to maintain. These libraries are optimized and well maintained too. It'll be very fast.
This also prevents us from dealing with MITM attacks on external http calls so security is better too.
from hyperplay-desktop-client.
Outstanding:
Add signature method using SignTypedData v3
from hyperplay-desktop-client.
Still investigating options as to where to verify the signature
from hyperplay-desktop-client.
Work in progress here: G7DAO/web3.unreal#1.
from hyperplay-desktop-client.
Investigating smart contract wallet signing compatibility (e.g. https://eips.ethereum.org/EIPS/eip-1271) as well
from hyperplay-desktop-client.
This is finished and merged with an example in the FPS_Demo uproject. We can't verify smart contract wallet signatures but I'm not sure if we can request them anyways. Something to revisit in the future.
from hyperplay-desktop-client.
Related Issues (20)
- Pull Heroic 2.11
- Investigate on how to easily have GPTK enabled HOT 1
- [Bug] Entering path for non-existent drive crashes HyperPlay
- [Bug] Showing Epic/Gog games when not logged in
- [Bug] Wrong transaction toast modal
- [UI] Black background behind refresh icon HOT 1
- [Bug] Installing to a restricted folder on Windows HOT 1
- [Refactor] Move App routes into separate component
- [Bug] Setting Experiemental Features
- [Tech] Build ESM instead of commonjs
- Browser games are missing MM in full overlay when the wallet is locked
- Extraction stuck when installing MCVERSE on MAC HOT 2
- Uninstalling a wrong imported game removes main folder
- Store a game metadata file on Install folder
- [Achievements]: use Unified Auth steam account instead of manual input HOT 1
- Calling contract not working on chains other than Ethereum Mainnet
- Upgrade Mantine from v6 to v7 on HyperPlay Desktop Client
- Cannot call upgradeable contracts
- Client bogs down PC during extraction process
- Unable to clone sub modules
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hyperplay-desktop-client.