parent
9b749992a0
commit
3150a5110b
@ -1,24 +1,54 @@ |
|||||||
# `remix-lib` |
## Remix Lib |
||||||
|
[![npm version](https://badge.fury.io/js/%40remix-project%2Fremix-lib.svg)](https://www.npmjs.com/package/@remix-project/remix-lib) |
||||||
Provides: |
[![npm](https://img.shields.io/npm/dt/@remix-project/remix-lib.svg?label=Total%20Downloads)](https://www.npmjs.com/package/@remix-project/remix-lib) |
||||||
|
[![npm](https://img.shields.io/npm/dw/@remix-project/remix-lib.svg)](https://www.npmjs.com/package/@remix-project/remix-lib) |
||||||
{ |
[![GitHub](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/ethereum/remix-project/tree/master/libs/remix-lib) |
||||||
EventManager: EventManager, |
[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/ethereum/remix-project/issues) |
||||||
helpers: { |
|
||||||
trace: traceHelper, |
`@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. |
||||||
ui: uiHelper |
|
||||||
}, |
### Installation |
||||||
vm: { |
`@remix-project/remix-lib` is an NPM package and can be installed using NPM as: |
||||||
Web3Providers: Web3Providers, |
|
||||||
DummyProvider: DummyProvider, |
`npm install @remix-project/remix-lib` |
||||||
Web3VMProvider: Web3VMProvider |
|
||||||
}, |
### How to use |
||||||
SourceMappingDecoder: SourceMappingDecoder, |
|
||||||
SourceLocationTracker: SourceLocationTracker, |
`@remix-project/remix-lib` exports: |
||||||
init: init, |
|
||||||
util: util, |
``` |
||||||
AstWalker: AstWalker, |
{ |
||||||
ui: { |
EventManager: EventManager, |
||||||
styleGuide: styleGuide |
helpers: { |
||||||
} |
ui: uiHelper, |
||||||
} |
compiler: compilerHelper |
||||||
|
}, |
||||||
|
vm: { |
||||||
|
Web3Providers: Web3Providers, |
||||||
|
DummyProvider: DummyProvider, |
||||||
|
Web3VMProvider: Web3VmProvider |
||||||
|
}, |
||||||
|
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. |
||||||
|
|
||||||
|
In case you want to add some code, do have a look to our contribution guidelnes [here](https://github.com/ethereum/remix-project/blob/master/CONTRIBUTING.md). Reach us on [Gitter](https://gitter.im/ethereum/remix) in case of any queries. |
||||||
|
|
||||||
|
### License |
||||||
|
MIT © 2018-21 Remix Team |
Loading…
Reference in new issue