remix-project mirror
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
remix-project/libs/remix-simulator
Aniket-Engg b9b5e0c5c7 bump libs 2 years ago
..
bin moved libs into libs dir 4 years ago
src remove extra console logs 3 years ago
test added dumpStorage back 3 years ago
.eslintrc Use old eslint config 3 years ago
.npmignore moved libs into libs dir 4 years ago
README.md use yarn 3 years ago
package.json bump libs 2 years ago
tsconfig.json Setup tsconfig.base.json 3 years ago
tsconfig.lib.json provider export improved 4 years ago

README.md

Remix Simulator

npm version npm npm GitHub contributions welcome

@remix-project/remix-simulator is a web3 wrapper for different kind of providers. It is used in remix-tests library and in Remix IDE codebase.

Installation

@remix-project/remix-simulator is an NPM package and can be installed using NPM as:

yarn add @remix-project/remix-simulator

How to use

@remix-project/remix-simulator implements:

  • web3_clientVersion
  • web3_sha3
  • net_version
  • net_listening
  • net_peerCount
  • eth_protocolVersion
  • eth_syncing
  • eth_coinbase
  • eth_mining
  • eth_hashrate
  • [~] eth_gasPrice
  • [~] eth_accounts
  • eth_blockNumber
  • eth_getBalance
  • [~] eth_getStorageAt
  • eth_getTransactionCount
  • eth_getBlockTransactionCountByHash
  • eth_getBlockTransactionCountByNumber
  • [~] eth_getUncleCountByBlockHash
  • [~] eth_getUncleCountByBlockNumber
  • eth_getCode
  • [~] eth_sign
  • eth_sendTransaction
  • [_] eth_sendRawTransaction
  • eth_call
  • [~] eth_estimateGas
  • eth_getBlockByHash
  • eth_getBlockByNumber
  • eth_getTransactionByHash
  • eth_getTransactionByBlockHashAndIndex
  • eth_getTransactionByBlockNumberAndIndex
  • eth_getTransactionReceipt
  • [_] eth_getUncleByBlockHashAndIndex
  • [_] eth_getUncleByBlockNumberAndIndex
  • eth_getCompilers (DEPRECATED)
  • eth_compileSolidity (DEPRECATED)
  • eth_compileLLL (DEPRECATED)
  • eth_compileSerpent (DEPRECATED)
  • eth_newFilter
  • eth_newBlockFilter
  • eth_newPendingTransactionFilter
  • eth_uninstallFilter
  • [~] eth_getFilterChanges
  • [~] eth_getFilterLogs
  • eth_getLogs
  • [_] eth_getWork
  • [_] eth_submitWork
  • [_] eth_submitHashrate
  • [_] eth_getProof
  • [_] db_putString
  • [_] db_getString
  • [_] db_putHex
  • [_] db_getHex
  • [_] debug_traceTransaction
  • eth_subscribe
  • eth_unsubscribe
  • [_] miner_start
  • [_] miner_stop
  • [_] personal_listAccounts
  • [_] personal_lockAccount
  • [_] personal_newAccount
  • [_] personal_importRawKey
  • [_] personal_unlockAccount
  • [_] personal_sendTransaction
  • [_] rpc_modules

Contribute

Please feel free to open an issue or a pull request.

In case you want to add some code, do have a look to our contribution guidelnes here. Reach us on Gitter in case of any queries.

License

MIT © 2018-21 Remix Team