Display

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 website 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 Button to the user. This method is synchronous

Examples

torus.showTorusButton();

hideTorusButton

Hides the Torus default button from the user

Examples

torus.hideTorusButton();