Solidity smart contract that saves consent to the rinkeby testnet.
Check out the demo on YouTube.
- Alice and Bob create their accounts using their first and last name.
- Alice inputs a party name as a string and creates the party "ThisIsMyPartyName".
- Alice informs Bob to join the party.
- Bob joins the party provided.
When creating a party, the creator is given the option to include:
- The maximum number of guests permitted to join (excluding the creator).
- A time limit when the party will expire.
When the last guest joins the party, the party is set to a finalized state.
npm ito install all required packages to the project's directory.truffle compileto compile the Solidity contract.npm startto start the UI in browser.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits to any of the javascript files in ./src/.
Requirements: ganache-cli
npm i -g ganache-clito install globally.
- In a Terminal window, run
ganache-clito create 10 local pseudo-accounts. - In a separate terminal window, run
truffle migrateto deploy the contract to ganache. - Once migrated, run
truffle testto initiate the test cases.
