https://github.com/georgeroman/evm-tx-simulator
Easily simulate any potential EVM transaction
https://github.com/georgeroman/evm-tx-simulator
evm simulation
Last synced: 6 days ago
JSON representation
Easily simulate any potential EVM transaction
- Host: GitHub
- URL: https://github.com/georgeroman/evm-tx-simulator
- Owner: georgeroman
- Created: 2022-07-30T13:36:24.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-09-04T13:08:20.000Z (5 months ago)
- Last Synced: 2025-09-04T15:11:09.560Z (5 months ago)
- Topics: evm, simulation
- Language: TypeScript
- Homepage:
- Size: 1.12 MB
- Stars: 10
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# `evm-tx-simulator`
Simulate balance changes (`ETH`, `ERC20`, `ERC721` and `ERC1155`) resulted from running any potential EVM transaction.
Run via `npx ts-node ./src/index.ts` (see below an example output).
```json
{
"0x0cccd55a5ac261ea29136831eeaa93bfe07f5db6": {
"tokenBalanceState": {
"native:0x0000000000000000000000000000000000000000": "-990000000000000",
"erc721:0x57f1887a8bf19b14fc0df6fd9b2acc9af147ea85:10530676464258429157976288980766951099646391566276924398001212535050412393470": "1"
}
},
"0x845bd54015813fda33f11e1f261ebc360983e584": {
"tokenBalanceState": {
"native:0x0000000000000000000000000000000000000000": "965250000000000",
"erc721:0x57f1887a8bf19b14fc0df6fd9b2acc9af147ea85:10530676464258429157976288980766951099646391566276924398001212535050412393470": "-1"
}
},
"0x8de9c5a032463c561423387a9648c5c7bcc5bc90": {
"tokenBalanceState": {
"native:0x0000000000000000000000000000000000000000": "24750000000000"
}
}
}
```