openDeposit function.
The openDeposit function is meant to be called inside of a button click event handler. When the user is ready to make a deposit, they will click or tap a button in the app user interface, which will trigger the deposit modal.
For complete example implementations of opening the Halliday SDK deposit widget, see the Payments SDK Example Apps page.
Configuring the Deposit options
Deposit configuration options are part of the Halliday config which is documented on the widget documentation page.React
With the React SDK, the constant deposit options can be defined in the properties of aHallidayPaymentsProvider.
updateWallets function after a user connects their wallet to the app.
JavaScript
Constant deposit options can be passed to the constructor of aHallidayPayments object or passed later using the updateConfig function. Partial configurations are valid for either function.
Opening the Deposit widget
To display the deposit widget, use theopenDeposit function.
- React
- JavaScript
copy

