Skip to content

This is simple python script who read json and send them to minotor

Notifications You must be signed in to change notification settings

CryptoLFDM/SendWalletDisplay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SendWalletDisplay

This is simple python script who read json and send them to minotor

How to use

to make things easy in life, please considerate on windows to active extension file.

install python

https://www.python.org/downloads/

Get the code

from git

from source

install dep

  • go in folder SendWalletDisplay
  • run command pip install -r req.txt

Fill Json file

there is a file wallet.json as example, please create a file wallet.json at the same place with your own value.

{
  "pseudo": "Daviv09", # Here put your username
  "wallet_overview": [
    {
      "token": "eth", # token name from coingecko
      "amount": 0.20 # Put your amount of the given token
    },
    {
      "token": "sol",
      "amount": 10
    },
    {
      "token": "atom",
      "amount": 80
    },
    {
      "token": "evmos",
      "amount": 550
    },
    {
      "token": "osmo",
      "amount": 260
    },
    {
      "token": "cake",
      "amount": 180
    },
    {
      "token": "dolz",
        "amount": 70000,
        "price": 0.01269 # If not on coigecko, please give the current price
    },
    {
      "token": "juno",
      "amount": 55
    },
    {
      "token": "stz",
        "amount": 2800,
        "price": 0.00094023 # If present and coingecko but rank is above 300, please give price too
    },
    {
      "token": "axl",
      "amount": 205
    }
  ]
}

run the program

python SendDisplay.py

result you will get

201 [
    "eyJ0b2tlbiI6ImV0aCIsImFtb3VudCI6MSwidmFsdWUiOjE2ODIuMzYsInByaWNlIjowLCJwc2V1ZG8iOiJUaGVMdWMiLCJAdGltZXN0YW1wIjoiMjAyMy0wMy0yMlQxNzo1MzowNSswMTowMCJ9",
    "eyJ0b2tlbiI6ImF0b20iLCJhbW91bnQiOjU1LCJ2YWx1ZSI6NjAyLjgwMDAwMDAwMDAwMDEsInByaWNlIjowLCJwc2V1ZG8iOiJUaGVMdWMiLCJAdGltZXN0YW1wIjoiMjAyMy0wMy0yMlQxNzo1MzowNSswMTowMCJ9",
    "eyJ0b2tlbiI6ImJ0YyIsImFtb3VudCI6MC4wMSwidmFsdWUiOjI2Ny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OjA1KzAxOjAwIn0="
]

Get the result on grafana

The result will be displayed here https://mythologic.fr/d/iUkNs7BVk/wallet-overview?orgId=7

You just need to select your pseudo here

img.png

it's a searchbox, you can type in

About

This is simple python script who read json and send them to minotor

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages