A decentralised application on the Ethereum blockchain allowing investors to stake poker players for a share of the winnings.
A trustless alternative to forum-based staking, SafeStake uses escrow smart contracts to eliminate the trust-based risk taken on by an investor when staking a poker player.
In its current state, SafeStake requires users wanting to make use of its staking features to have the Metamask browser extension available on their browser.
- Launch local Ganache blockchain
npm install
in top-level directorytruffle compile && truffle migrate
in top-level directory to compile and deploy the smart contracts to the local blockchaincd client && npm start
to start the local web server- Add a new network to Metamask - select "Custom RPC" from the networks dropdown, set the URL to
http://127.0.0.1:7545/
and the chain ID to1337
(the Ganache defaults) - Import an account listed in the Ganache workspace into metamask by copying over the private key.
- Connect to the site!