Developer workflow
Integrations should expose a clear outcome and leave route discovery to Hush.
Five steps
- Define the outcome. Specify the input asset, requested asset, amount, destination, and any execution constraints.
- Protect the request. Encode the requirements in the private format used for route evaluation.
- Compare routes. Let Hush evaluate available execution paths against the exact requirements.
- Sign once. Present the user with a single wallet action covering the complete operation.
- Settle atomically. Deliver the requested asset only when the full set of conditions is satisfied.
Integration principles
- Keep the received amount visible and unambiguous.
- Treat a failed condition as a clean no-op.
- Avoid displaying private route details to observers.
- Make wallet ownership and destination explicit.
- Keep a user-facing link to the Hush community for support and updates.
The protocol is designed to make the user’s intent precise while keeping the execution path quiet.