Simple Blockchain Backend(C++)
Budget: $50 – $150 USD
Blockchain C++: receive cards/keys. check if cards/keys are valided and then decrypt cards by keys from users.
Building a Dapp on EOS/WAX blockchain using Mental Poker Protocol to make sure it's fair, security and safe for users.
A client does everything: generate private/public keys, generate, shuffle, encrypt, decrypt decks. blockchain only receive cards/keys, decrypt cards, check fraudulence.
Frontend: React.js function component (can work with Native React):
1. All players generate fragments of cards, send it to blockchain and then combine to a deck of cards for all players and then send the deck to blockchain by eosjs (https://github.com/EOSIO/eosjs)
2. All players do steps like mental-poker protocol: encrypt cards and shuffle it, give it to others to do the same things. then: decrypt cards and encrypt with other keys. each key for each card. all player together make the encrypt deck. and send encrypt deck to blockchain
3. A player decrypts cards with their private key and other private key from others who sent their private key to player.
Reference Documents:
Mental poker protocol: https://github.com/kripod/mental-poker/blob/master/specs/thesis.pdf
Example reactjs mental-poker use secpk256k: https://github.com/kripod/mental-poker
Choose the best crypto-algorithm you can code in here for me: http://safecurves.cr.yp.to
Example C++ decrypt cards: https://github.com/GrapheneLab/Poker_contract you don't need to do all logic game like them, just show me a demo receive cards, key, and decrypt card.
https://github.com/indutny/elliptic
-------------------------------------------------------
Read the project description above carefully and place a bid with reasonable price and time frame.
You are responsible for only backend(C++).
Correct bidder will be the winner of this project, and this will be extended to long-term relationship.
AUTO-BIDs will be declined on my side instantly.
Thanks in advance.
Building a Dapp on EOS/WAX blockchain using Mental Poker Protocol to make sure it's fair, security and safe for users.
A client does everything: generate private/public keys, generate, shuffle, encrypt, decrypt decks. blockchain only receive cards/keys, decrypt cards, check fraudulence.
Frontend: React.js function component (can work with Native React):
1. All players generate fragments of cards, send it to blockchain and then combine to a deck of cards for all players and then send the deck to blockchain by eosjs (https://github.com/EOSIO/eosjs)
2. All players do steps like mental-poker protocol: encrypt cards and shuffle it, give it to others to do the same things. then: decrypt cards and encrypt with other keys. each key for each card. all player together make the encrypt deck. and send encrypt deck to blockchain
3. A player decrypts cards with their private key and other private key from others who sent their private key to player.
Reference Documents:
Mental poker protocol: https://github.com/kripod/mental-poker/blob/master/specs/thesis.pdf
Example reactjs mental-poker use secpk256k: https://github.com/kripod/mental-poker
Choose the best crypto-algorithm you can code in here for me: http://safecurves.cr.yp.to
Example C++ decrypt cards: https://github.com/GrapheneLab/Poker_contract you don't need to do all logic game like them, just show me a demo receive cards, key, and decrypt card.
https://github.com/indutny/elliptic
-------------------------------------------------------
Read the project description above carefully and place a bid with reasonable price and time frame.
You are responsible for only backend(C++).
Correct bidder will be the winner of this project, and this will be extended to long-term relationship.
AUTO-BIDs will be declined on my side instantly.
Thanks in advance.