Display

show or hide wallet/button

showWallet

Pops up the Torus Wallet app for the user to view. This method is synchronous.

torus.showWallet(path);

Parameters

  • path - enum : The route of Torus wallet to open in the popup. Supported options are transfer topup home settings history

Examples

torus.showWallet(); // default: 'home'
torus.showWallet("transfer"); // default: 'home'

showTorusButton

Shows the Torus default button to the user. This method is synchronous.

Examples

torus.showTorusButton();

hideTorusButton

Hides the Torus default button from the user.

Examples

torus.hideTorusButton();