1. Selects the network (erc, bep, btc) and coin
2. Enters the amount in $ > clicks "top up"
3. A new wallet is created and attached to this user
4. The payment page loads with:
(during this time, the checker calls the wallet to check for incoming funds)
Transaction ID,
Network,
Coin,
Amount in $,
Amount in coin (copy button),
Wallet (copy button)
QR code
15 min timer
Button "I have paid"
After clicking, the response is "Please wait for the funds to be credited," pause for 5 seconds, and redirect to the dashboard
5. Sweeper monitors the incoming funds
6. After confirming the transaction:
7. Sweeper signs the transfer to the main wallet
8. Takes into account the fee (gas fee)
9. Updates the status in the system (the user receives the amount in $)
The wallet is tied for the user for 15 minutes, it is stored with us for another 2 days and then deleted if empty, a new wallet for each top-up
All top-ups need to be recorded in the database
Payment conditions:
1. All 3 payment systems must be separate and able to work without the rest of the project
2. Clear, clean code, documentation
3. Prepare a landing page with network selection, coin selection, and amount input (as simple as possible for testing and presentation of completed work)
4. Prepare a landing page for payment (as in the screenshot I sent, also simple for testing and presentation of completed work)
5. And after clicking "I have paid," it returns to page 3. there above the network selection BALANCE: 0.00$ (the deposit should be credited here simply for testing and presentation of completed work)
6. An env file in which to specify the wallet to which the sweeper collects funds from wallets
7. For the presentation, create a simple registration (login password) and login (login password)