Steve
@stevedylandev.eth
Are Merkle trees still the best way to handle onchain allowlist? Anything simpler or a service to manage them?
3 replies
6 recasts
6 reactions
kompreni ๐
@kompreni
That's what I used for /warpcash. Found it pretty straightforward
2 replies
0 recast
2 reactions
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 ๐
@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
@stevedylandev.eth
Ooo thatโs an interesting approach, might look into that
0 reply
0 recast
1 reaction