issues
search
privacy-scaling-explorations
/
maci-rpgf
EasyRetroPGF with MACI
https://maci-rpgf.vercel.app
MIT License
5
stars
4
forks
source link
Get arguments from user input
#112
Open
kittybest
opened
1 month ago
kittybest
commented
1 month ago
Remove these arguments from
.env
file, get input from user:
NEXT_PUBLIC_ROUND_ID
NEXT_PUBLIC_CHAIN_NAME (could be a dropdown menu)
NEXT_PUBLIC_EASSCAN_URL (could be a mapping, the key is the CHAIN_NAME, and the url is the value)
NEXT_PUBLIC_ROUND_ID (actually this refer to "voting round name", we should store this value mapped with the pollId)
NEXT_PUBLIC_APPROVAL_SCHEMA
NEXT_PUBLIC_EAS_CONTRACT_ADDRESS & NEXT_PUBLIC_EAS_SCHEMA_REGISTRY_ADDRESS (also a mapping regarding to the CHAIN_NAME)
POSEIDON_T3/4/5/6_ADDRESS (also a mapping regarding to the CHAIN_NAME? or could be customized by getting input from the user)
STATE_TREEE_DEPTH
POLL_DURATION (could be choosing the end date, just like what maci-starter-kit does)
Remove these arguments from
.env
file, get input from user: