evm

From wikieduonline
Jump to navigation Jump to search

brew install ethereum
brew install erigon


evm --code 60ff60ff --debug run
NAME:
   evm - the evm command line interface

USAGE:
   evm [global options] command [command options] [arguments...]

VERSION:
   1.11.6-stable

COMMANDS:
   compile              compiles easm source to evm binary
   disasm               disassembles evm binary
   run                  run arbitrary evm binary
   blocktest            executes the given blockchain tests
   statetest            executes the given state tests
   transition, t8n      executes a full state transition
   transaction, t9n     performs transaction validation
   block-builder, b11r  builds a block
   help, h              Shows a list of commands or help for one command

GLOBAL OPTIONS:
   
    --bench                        (default: false)
          benchmark the execution
   
    --code value                  
          EVM code
   
    --codefile value              
          File containing EVM code. If '-' is specified, code is read from stdin
   
    --cpuprofile value            
          creates a CPU profile at the given path
   
    --create                       (default: false)
          indicates the action should be create rather than call
   
    --debug                        (default: false)
          output full trace logs
   
    --dump                         (default: false)
          dumps the state after the run
   
    --gas value                    (default: 10000000000)
          gas limit for the evm
   
    --input value                 
          input for the EVM
   
    --inputfile value             
          file containing input for the EVM
   
    --json                         (default: false)
          output trace logs in machine readable format (json)
   
    --memprofile value            
          creates a memory profile at the given path
   
    --nomemory                     (default: true)
          disable memory output
   
    --noreturndata                 (default: true)
          enable return data output
   
    --nostack                      (default: false)
          disable stack output
   
    --nostorage                    (default: false)
          disable storage output
   
    --prestate value              
          JSON file with prestate (genesis) config
   
    --price value                  (default: 0)
          price set for the evm
   
    --receiver value              
          The transaction receiver (execution context)
   
    --sender value                
          The transaction origin
   
    --statdump                     (default: false)
          displays stack and heap memory information
   
    --value value                  (default: 0)
          value set for the evm
   
    --verbosity value              (default: 0)
          sets the verbosity level
   
   MISC
   
    --help, -h                     (default: false)
          show help
   
    --version, -v                  (default: false)
          print the version
   

COPYRIGHT:
   Copyright 2013-2023 The go-ethereum Authors



See also[edit]

Advertising: