This guide explains how to query merkle proofs from the API for the invest flow.
The investor wave system generates merkle proofs for whitelisted investors. Frontend needs to:
- Check if a user is whitelisted
- Get their proof and allocation amount
- Pass these to the contract's
invest()function