Skip to content

Conversation

@royvardhan
Copy link

Track Hyperbridge evm volume by dapps.

@royvardhan
Copy link
Author

Hi. Quick question! (Wasn't answered in discord).

Our protocol enables cross-chain messages for things like cross-chain swaps (Intent Gateway), token teleports, and other dApp interactions.

To fit in the deposit/withdrawal terminology this pr tracks individual dapps, and stores volume data.

Is it possible to track token transfer volumes from cross-chain message events even if they don't follow the traditional bridge deposit/withdrawal model? Or does the bridges dashboard strictly require that semantic?

@vrtnd
Copy link
Member

vrtnd commented Nov 14, 2025

Is it possible to track token transfer volumes from cross-chain message events even if they don't follow the traditional bridge deposit/withdrawal model? Or does the bridges dashboard strictly require that semantic?

hi, yes u can track these messages. isDeposit field is simply a boolean directional indicator with zero semantic constrain

pr looks good, please resolve conflicts

@royvardhan
Copy link
Author

Is it possible to track token transfer volumes from cross-chain message events even if they don't follow the traditional bridge deposit/withdrawal model? Or does the bridges dashboard strictly require that semantic?

hi, yes u can track these messages. isDeposit field is simply a boolean directional indicator with zero semantic constrain

pr looks good, please resolve conflicts

So it is possible to track those events without the isDeposit field?

@royvardhan
Copy link
Author

It needs the field.
image

@royvardhan
Copy link
Author

@vrtnd I have fixed the conflicts

@Wizdave97
Copy link

@royvardhan since isDeposit is not a hard requirement, let's track transfer logs emitted from ismp events instead.

@royvardhan
Copy link
Author

@royvardhan since isDeposit is not a hard requirement, let's track transfer logs emitted from ismp events instead.

I have now removed the individual product tracking and added ISMP tracking instead, but without the isDeposit bool. @vrtnd Let me know what needs to be done to make the linter happy.

@Wizdave97
Copy link

Hi @vrtnd, can you please give this another review?

"event PostResponseEvent(string source, string dest, address indexed from, bytes to, uint256 nonce, uint256 timeoutTimestamp, bytes body, bytes response, uint256 responseTimeoutTimestamp, uint256 fee)",
],
logKeys: {
blockNumber: "blockNumber",
Copy link
Member

@vrtnd vrtnd Dec 3, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing from and to in all events
please check by running tests npm run test hyperbridge 1000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants