Local assumptions:
docker-compose
ganache
brownie
vyper
- tests for API
- tests for contracts
- Frontend
- Flask as API layer
/create
- submits new opinion for phone number/verify
- retrieves opinion for phone number/whitelist
- add address to whiteliste/list
- retrieves all participants, requires whitelist
- Keys, ABI and Web3 communication layer
- assumption:
testnet
servers - keys on backend layer
- transaction fees on backend keys
- integrates Web3 as API
- Vyper layer (
VerifiedOpinion
contract)
whitelist
-> premium users/integratorsopinionList
-> read for whitelisted addressesopinionMapping
(phone_number -> []opinions) -> free access