But inside the contract, there must be its own universal currency equal to 1 usdt or busd. And the contract itself must distribute replenishment funds between some participants in the contract, that is it's not a just token, but it's an independent contract with its own logic.
By the way, deposits and withdrawals must be fixed amounts.
I understand correctly?...
I should create a smart contract that implements an erc20 token standard with my own currency. Then create four methods: depositUSDT(), withdrawUSDT(), depositBUSD(), withdrawBUSD().
With that method, I should make exchange USDT or BUSD to my own token with fixed-rate 1:1.
I need your help to understand technology to realize it. Maybe you can give me some similar examples.
Thanks for the answer! I don't need an example, I need confirmation that I understood the logic scheme correctly, if not, please correct me. And please give links that I need to read to figure it out.
allow to sell an erc20 token previously deposited 1:1 with the busd and usdt and allow people to withdraw busd and usdt when they deposit the token, that work I would estimate at $200, only the contract without dapp
Thank you very much!
Can you personally complete this task?
If yes - what is the contact method you preferred?
Do you know any examples that are similar to this task or tutorials?
I understood correctly - Before I can sell my own tokens for USDT/BUSD, do I need to deposit the equivalent amount to someplace?
If so, please suggest reading something on this topic too.