Code Monkey home page Code Monkey logo

Comments (10)

dmytro-samoylenko avatar dmytro-samoylenko commented on June 6, 2024 1

Hello,

in theory, you can cheat the system by sending 100 TRX instead of 100 USDT

This only possible if you are using balanceCrypto amount from notification. All *Fiat fields will show you the right amount.

I can add currency field to each transaction received in notification, e.g.:

"transactions": [
    {"date": "2023-08-07 16:49:13", "txid": "72***22", "trigger": false, "amountFiat": "9.00", "amountCrypto": "9.00000000", "crypto": "USDT"},
    {"date": "2023-08-07 18:11:41", "txid": "93***06", "trigger": true, "amountFiat": "0.00", "amountCrypto": "0.00000100", "crypto": "TRX"}
]

But not sure what to do with balanceCrypto. My guess is to keep it, but only keep track of invoice currency, e.g.:

invoice currency = USDT
transactions: [10 USDT, 100 USDT, 1000 TRX]
balanceCrypto: 110USDT

from shkeeper.io.

dmytro-samoylenko avatar dmytro-samoylenko commented on June 6, 2024

Hello,

I think the second USDT transaction for 0.00000100 is hidden by tronscan as protection from scam, but you may unhide it using filter as you may see on my screenshot.

2023-08-17 13_10_32

from shkeeper.io.

bulhiCzar avatar bulhiCzar commented on June 6, 2024

no. its function default disabled (i ckeked)

pls. test this case

its all my transaction on wallet(one time)

изображение

from shkeeper.io.

dmytro-samoylenko avatar dmytro-samoylenko commented on June 6, 2024

Hello,
Could you please share wallet address for me to check?

from shkeeper.io.

bulhiCzar avatar bulhiCzar commented on June 6, 2024

i send on [email protected]

from shkeeper.io.

bulhiCzar avatar bulhiCzar commented on June 6, 2024

it's a good idea. I think everyone expected such logic from him

My guess is to keep it, but only keep track of invoice currency, e.g.:

or add balanceClear, which will not take into account TRX and ETH for USDT and USDC

from shkeeper.io.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.