Skip to content

jokeru/lockedmex-exchange-lkmex-rates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lockedmex-exchange-lkmex-rates

GitHub Super-Linter

If you own LKMEX and you want to:

  • cash out 💸
  • or simply swap them 🔄 for EGLD or MEX

one way of doing it is by using the lockedmex.exchange site.

Setup

The main.py script is very simple, just an API Request that will Query the Smart Contract on the elrond blockchain.

You can play with the online version of the script here on replit.

For local development, any python3 would do:

python3 main.py

Or if you prefer docker, you can use this Dockerfile to build your image:

docker build --tag lockedmex-exchange-lkmex-rates:0.1.0 .
docker run --rm lockedmex-exchange-lkmex-rates:0.1.0
docker image rm lockedmex-exchange-lkmex-rates:0.1.0

Output

10 LKMEX = 3.433 MEX
1m LKMEX = 0.520 EGLD

Tip

💰 You can also check the telegram bot way of swapping LKMEX to EGLD or MEX.