env: string, // can be test, staging or production. Default: "staging"
showWidget: boolean, // should the widget be shown by default or not. Default: false
showCloseButton: boolean, // should the widget have a close button to close it. Default: false
showChangeAddress: boolean, // should the widget allow ability to change receiver address. Default: true
// API keys for using Gasless.
// Custom RPC URLs for the supported networks.
// NOTE: following 2 callback emit when tx is *sent*, you should check the status by yourself
onDeposit: (e) => console.log("Deposit " + e), // emit when depost tx is sent
onExit: (e) => console.log("Exit " + e), // emit when exit tx (receiver will receive tokens) is sent
destinationChain?: string;
onChange: (input) => console.log("Input " + JSON.stringify(input)),