Quick Start

Welcome to the powerful udrox wallet API! Our API is designed to be secure, providing a safe environment for both customers and merchants, you can use functions of any network or cryptocurrency

Brief note: This guide assumes intermediate knowledge of HTML, CSS, and JavaScript.

Install the library Javascript

The best way to interact with our API is to use one of our official libraries:

Include library inside head:

<script src="https://wallet.udrox.com/api/wallet_v1.js" type="application/javascript"></script>

Configuring your api for the udrox wallet is very easy in intermediate mode

Integrating a wallet with JavaScript for your app or website involves setting up basic attributes and functions to enable core wallet functionalities. Here are the steps you can follow after integrating the wallet with JavaScript:

# code javascript
walletudrox.onConnect = function(){
   // is executed after the client user connects his wallet
};
// methods for transactions
walletudrox.onSendError = function(){
  // the client user cancels or there is an error with the transaction
}
walletudrox.onBeforeSend = function(){
  // before the client user submits a transaction
}
walletudrox.onSend = function(hash){
  // the user completes the transaction
}
walletudrox.acceptNets = ["UDROX"];
walletudrox.preferNet = "UDROX";
walletudrox.needConfirmations = 0;
walletudrox.notifyServer = "";

With this basic example, our API can now be launched, the documentation is a guide for developers and users who wish to use your API, but for it to be operational and work properly, it is necessary to carry out the following additional actions

Last updated