Hi everyone
If you are a users of decentralized exchanges or dealt with before you will notice a field when you create a sell / buy order that name Expires field
What does Expires mean and what is used?This field is intended to determine a period of time after which the order is automatically canceled. The count here depends on the number of incoming ethereum blocks
The average mining of each block in ethereum is about ~ 14 seconds per block More or less than this
If you want to place a sell or buy order and it is automatically canceled after 5 minutes you will have to manually calculate Expires
or the required number of blocks within 5 minutes
Unfortunately, some of these exchanges did not provide a way for automatic calculate to be available to users
Why Know the correct Expires number important?in decentralized exchanges cancel orders requires
gas fee Knowing and putting the correct number will distract you from spending more gas fee
change the prices another reasons
develop a simple tool to save time!Initially I searched for a tool that could be used for this purpose I could not find a suitable tool or I did not search Enough
There is a method using the calculator but this is not quite practical I thought about doing a "simple tool" for this purpose is a simple experiment not tool simple! I will be happy if you try
and give feedback or correct mistakes .. Also code needs organization And re-correction
.. no problem
tool link for test: https://deltacal.surge.sh/Or by clicking on the image below
Usage:it's only one page you can save the page and use it whenever you want (html & jquery)
I thank My friend from forkdelta community Useful modifications to be modified in the current form all thanks to him ..