Configurable Methods
All editing methods
walletudrox.onConnect
With the following method we define what to do after the user successfully connects his udrox wallet
walletudrox.onConnect = function(){
};
Functions for handling transactions
walletudrox.onSendError
When a client performs a transaction but it fails, it is canceled or it was not processed
walletudrox.onSendError = function(){
// code to execute
}
walletudrox.onBeforeSend
Before the client starts any transaction
walletudrox.onBeforeSend = function(){
// code to execute
}
walletudrox.onSend
When the transaction was successful, we sends the hash to show the client that their transaction was processed correctly or any useful functionality
walletudrox.onSend = function(hash){
// code to execute
}
Last updated