Testing

Validate your integration in a safe, risk-free environment.

Using Test Mode

When using your `_test` keys, TriBridge operates on testnets (Sui Devnet, Solana Devnet). No real funds are required.

Simulated Confirmations

In test mode, you can trigger a "Mock Approval" in the gateway demo to simulate a successful on-chain transaction. This will fire a real webhook to your endpoint.

Sandbox Best Practices

  • Always test your webhook signature verification in test mode.
  • Use separate environment variables for test and live keys.
  • Verify that your system handles payment timeouts correctly (e.g., set a short timeout locally).