Steve pfp
Steve
@stevedylandev.eth
Are Merkle trees still the best way to handle onchain allowlist? Anything simpler or a service to manage them?
4 replies
6 recasts
14 reactions

kompreni 🅱️ ⚡ pfp
kompreni 🅱️ ⚡
@kompreni
That's what I used for /warpcash. Found it pretty straightforward
2 replies
0 recast
2 reactions

Steve pfp
Steve
@stevedylandev.eth
I’ve used them once before and it was ok, but for something dynamic it can be tricky because your client/server and the contract state have to stay synced, which was a pain I don’t look forward to dealing with again 😅 lol
1 reply
0 recast
1 reaction

kompreni 🅱️ ⚡ pfp
kompreni 🅱️ ⚡
@kompreni
Yea, it doesn't seem optimal for dynamic trees. If you didn't want to update the contract state every time the merkle tree updates, you could have users supply a root each time they also supply a proof, and verify in the contract that the root is signed by (one of) a trusted set of addresses?
2 replies
0 recast
2 reactions

Steve pfp
Steve
@stevedylandev.eth
Ooo that’s an interesting approach, might look into that
0 reply
0 recast
1 reaction