walletudrox.oauth and walletudrox.connect (methods)
These two methods must be used to connect the client's udrox wallet with their app
// best way to use onclick button, see the examples
walletudrox.oauth();
walletudrox.connect();
walletudrox.transaction (method)
("wallet address 0x...","amounth","token")
Parameters:
(String) Address where the funds will arrive
(String) Transaction value, examples "5" "5.4444534" or "81767.6776666"
(String) Token, You can use the DEFAULT CONTRACTS TOKENS or you can also customize your own token adapting it to the walletudrox.useContract method, It is also possible to use the contract address for custom contracts.
With this function we can carry out a transaction authorized by the client user to any wallet address
// best way to use onclick
walletudrox.changeNet();
// best way to use onclick
walletudrox.changeAccount();
// best way to use onclick
walletudrox.useContract("USDC");
// best way to use onclick
walletudrox.useContract("0xdC33B264de35cF207c661FE37Cb16447F09b74B4","https://wallet.udrox.com/wallet/img/criptos/copc-ico.png");
// best way to use onclick
walletudrox.useNet("MINTME");