COST TO BE DETERMINE AFTER WE DISCUSS THE DETAILS......I need a swap feature at my web page (app) so as to swap BTC to BNB. I want to be able to charge a fee and the user will pay the txn costs. I sell a service and the users need to pay for it using BNB. So to make it easy on the user, I want them to be able to get BNB at my website.
After the responses that I got for this project I decided to provide much greater details so that you will understand the full scope of the project. I will add a menu item at the top called SWAP BTC. When a user clicks the menu item they will be taken to a page that looks like swapexample1.jpg.
Here is how this works, the user wants to get BNB and swap BTC to get it. If the user enters in a us dollar amount then the other two blanks will show how much BTC they will get and how much BNB they will get also. If the user enters in BTC or BNB then the other blanks will show the values.
I will have a wallet address that I keep BNB in. So when there is a swap the BNB is coming from my wallet.
I will charge a fee for the transaction and therefore, I need a method to raise or lower that fee. The user will pay the fee and pay the txn charges too.
When they send the BTC to the address provided then the BNB will be sent to the user.
Also, I will need to be able to pause this system if I run low on BNB.
The BNB is on the Binance chain so the user must use the correct wallet and make sure the are on the BSC mainnet.
I am not sure about how all of this is going to fit together so please feel free to ask me questions and offer suggestions.
The only thing I want to do is make it easy for the user to swap BTC for BNB so they can Boost at my site using BNB.