@georgeroman/evm-tx-simulator
TypeScript icon, indicating that this package has built-in type declarations

0.0.30 • Public • Published

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).

{
  "0x0cccd55a5ac261ea29136831eeaa93bfe07f5db6": {
    "tokenBalanceState": {
      "native:0x0000000000000000000000000000000000000000": "-990000000000000",
      "erc721:0x57f1887a8bf19b14fc0df6fd9b2acc9af147ea85:10530676464258429157976288980766951099646391566276924398001212535050412393470": "1"
    }
  },
  "0x845bd54015813fda33f11e1f261ebc360983e584": {
    "tokenBalanceState": {
      "native:0x0000000000000000000000000000000000000000": "965250000000000",
      "erc721:0x57f1887a8bf19b14fc0df6fd9b2acc9af147ea85:10530676464258429157976288980766951099646391566276924398001212535050412393470": "-1"
    }
  },
  "0x8de9c5a032463c561423387a9648c5c7bcc5bc90": {
    "tokenBalanceState": {
      "native:0x0000000000000000000000000000000000000000": "24750000000000"
    }
  }
}

/@georgeroman/evm-tx-simulator/

    Package Sidebar

    Install

    npm i @georgeroman/evm-tx-simulator

    Weekly Downloads

    306

    Version

    0.0.30

    License

    MIT

    Unpacked Size

    58.7 kB

    Total Files

    30

    Last publish

    Collaborators

    • georgeroman