npm.io
0.5.101 • Published 3 months ago

@remix-project/remix-lib

Licence
MIT
Version
0.5.101
Deps
21
Size
441 kB
Vulns
0
Weekly
0
Stars
3.1K

Remix Lib

npm version npm npm GitHub contributions welcome

@remix-project/remix-lib is a common library to various remix tools. It is used in remix-astwalker, remix-analyzer, remix-debug, remix-simulator, remix-solidity, remix-tests libraries and in Remix IDE codebase.

Installation

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

yarn add @remix-project/remix-lib

How to use

@remix-project/remix-lib exports:

{
    EventManager: EventManager,
    helpers: {
      ui: uiHelper,
      compiler: compilerHelper
    },
    Storage: Storage,
    util: util,
    execution: {
      EventsDecoder: EventsDecoder,
      txExecution: txExecution,
      txHelper: txHelper,
      executionContext: new ExecutionContext(),
      txFormat: txFormat,
      txListener: TxListener,
      txRunner: TxRunner,
      typeConversion: typeConversion
    },
    UniversalDApp: UniversalDApp
}
Contribute

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

If you'd like to add some code, please take a look at our contribution guidelines here. You can reach us on Discord with any questions.

License

MIT 2018-21 Remix Team