this project based on starter--near-sdk-as.
This is the app which allowe users to create account and participate existing meeting rooms. Meeting creation initially get deploy time and expires 10 days later. Meeting creation costs 2 Near coin. All meeting is stored in list where meeting datas can be retrieved. Participants can check their validation with passing id of meeting.
yarn build:release
near dev-deploy ./build/release/simple.wasm
near login
export CONTRACT=<accountId(dev)>
$ near view $CONTRACT getAllMeetings
$ near view $CONTRACT getMeeting '{"id":"<id>"}'
$ near call $CONTRACT createMeeting --accountId <account> --amount 2
$ near call $CONTRACT joinMeeting '{"id":"<id>"}' --accountId <account>
$ near view $CONTRACT getMeetingParticipants '{"id":"<id>"}'
$ near call $CONTRACT checkValidation '{"id":"<id>"}' --accountId <account>
$ near call $CONTRACT deleteCompletedMeetings --accountId <account>