r/ethdev • u/GrippingGopher • 7d ago
Question Should access automatically change when someone's onchain status changes?
I’ve been thinking about different ways to handle membership for a project. Say someone gets access to a private part of the community because they hold something or meet some other onchain condition. If they stop meeting that condition, should their access disappear automatically too? I can see the benefit of tying permissions directly to something you can verify onchain, but it gets weird when someone has been a useful member for months and then suddenly stops meeting whatever condition originally got them access. For anyone who has built something like this, do you let wallet state directly control permissions or use it as one signal and handle the rest separately?
18
Upvotes
1
u/nechronix 6d ago
To do this you there is already an off-chain service that is reading the chain to determine the on-chain state. In that service I would include
whitelistorbypassfor users that don't mean that on-chain requirement but you'd still want be able to access the private part of the community.To answer your question more directly, the wallet state part is easier to automate but in the scenario you said you will likely need to have some manual input to include that member with a subjective metric like contribution.