Skip to content

Conversation

@memtopia
Copy link

@memtopia memtopia commented Jul 23, 2025

Though there is a class Eip712TypedData for Evm, but when use it for tron typedata encode, the final hash is not equal tronweb version, here provided dart impl can general same hash result compare to tronweb.

tronweb typedData.ts

TRON typed structured data hashing and signing

Please hava a look

@mrtnetwork
Copy link
Owner

@memtopia

Hi, thanks for pr, i take a look at as son as possible.

@mrtnetwork
Copy link
Owner

@memtopia
Hi, I had a closer look, and it turns out we only needed two lines of code inside Eip712 to handle trcToken types. With that change, the package now supports TIP-712 through Eip712TypedData. Really appreciate your contribution!

@mrtnetwork mrtnetwork closed this Aug 20, 2025
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.

2 participants