This is my first smart chain project, LunchVenue Voting. You can clone it and deploy it on Ropsten test Network. The spec can be found at here.
Solidity Version: ^0.8.0
├── README.md
├── contracts
│ ├── LunchVenue.sol
│ ├── LunchVenue_updated.sol
│ └── artifacts
│ ├── LunchVenue.json
│ └── LunchVenue_metadata.json
└── tests
├── LunchVenue_test.sol
└── LunchVenue_updated_test.sol
In contracts
folder, LunchVenue.sol
is to implement the basic function. LunchVenue_updated.sol
is to meet the improvement requirements in spec.
In tests
folder, LunchVenue_test.sol
is used to test LunchVenue.sol
,LunchVenue_updated_test.sol
is used to test LunchVenue_updated.sol
.
- Usage of Structure
- Add user / lunch venue
- When an accident occurs, the destruction contract
- Voting Timeout using block number
git clone [email protected]:PYF0311/LunchVenueVoting.git
-
Click
Connect to Localhost
-
Move to cloned folder, input
remixd -s <absolute_folder_path> --remix-ide "<remix-ide-instance-URL>"