DEV Community

Discussion on: Understand Blockchain and Smart Contracts (2/2)

Collapse
 
klammer_andreas profile image
Andreas Klammer

Thanks for the content. I got one question.
I'm pretty new to this stuff and don't know much. But if I want to build a platform on which you can put orders for buying and selleing erc-20 tokens, and you place a buying order which is active for 30 days and includes the token A you want to buy for an amount off token B. Is their a smart contract that can block the amount of token B in my wallet until the order has been fullfilled or cancelled. Same with selling only viceversa.