Electrum
Electrum allows for the cancellation and substitution of transactions, which can lead to the loss of funds for the exchange if the settings mentioned below are not configured in your exchange and a fraudster attempts to exploit this feature of Electrum. If you are using a module to work with Electrum, make sure to perform the following configuration.
When using merchants to receive funds, it is necessary to recalculate the payment amount at least for the status "Paid Request" in the exchange direction settings.
You must also configure the automatic transition of requests to the status "Under Review" if the actual payment amount is less than the original (this option is found in the merchant module settings for receiving funds under the "Merchants" section).
For receiving funds and for auto payouts, it is recommended to use different Electrum wallets — this will create independent channels for receiving and withdrawing BTC.
This measure is necessary to prevent the withdrawal of "dirty" BTC. If you receive and pay everything to one wallet, there is a risk that "dirty" BTC will be withdrawn along with clean funds.
Installation and Configuration of the Module
Install Electrum on the server following the instructions.
Make sure to save the port number for connection, server address (optional), username, and password for wallet access in a text file.

Module Settings
In the admin panel, create a new merchant in the "Merchants" -> "Add Merchant" section.
Select Electrum from the dropdown list in the "Module" field, provide a name for the module, and click "Save."

Fill in the specified authorization fields.

Number of confirmations for a payment to be considered completed — leave this field empty to use the default value that Electrum employs.
Login — enter the information from the "User for Connection" line.
Password — enter the information from the "User Password for Connection" line.
Api server — fill this field only if the Electrum module is installed on a server different from the one where the Premium Exchanger script is installed. Enter the IP address in the format
111.111.111.111
(without specifying thehttp/https
protocol).
If the Electrum module is installed on the same server as the Premium Exchanger script, leave this field empty.
Api port — enter the information from the "Port for Connection" line.
Continuing the Configuration
Next, proceed to configure the merchant by following the general setup instructions.
Last updated