# @indigocore/tmpop-explorer

> Block Explorer for Indigo Tendermint Store

Latest version **0.3.0** (published 2018-04-13) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @indigocore/tmpop-explorer
pnpm add @indigocore/tmpop-explorer
yarn add @indigocore/tmpop-explorer
bun add @indigocore/tmpop-explorer
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.3.0 |
| Published | 2018-04-13 |
| First published | 2018-03-30 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 8 |
| Unpacked size | 2.1 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Stratumn |
| Maintainers | adrien-stratumn, alexppxela, bejito, conord33, jeremie-stratumn, piedup, sf-stratumn, simonvadee, t-bast |
| Keywords | react, react-component |

## Links

- npm: https://www.npmjs.com/package/@indigocore/tmpop-explorer
- Repository: https://github.com/stratumn/js-indigocore
- Issues: https://github.com/stratumn/js-indigocore/issues
- npm.io page: https://npm.io/package/@indigocore/tmpop-explorer

## Dependencies (8)

- [radium](https://npm.io/package/radium.md) ^0.19.6
- [classnames](https://npm.io/package/classnames.md) ^2.1.2
- [fifo-array](https://npm.io/package/fifo-array.md) ^0.1.2
- [httpplease](https://npm.io/package/httpplease.md) ^0.16.4
- [material-ui](https://npm.io/package/material-ui.md) ^1.0.0-beta.24
- [react-router](https://npm.io/package/react-router.md) ^3.0.2
- [httpplease-promises](https://npm.io/package/httpplease-promises.md) ^0.3.0
- [react-tap-event-plugin](https://npm.io/package/react-tap-event-plugin.md) ^2.0.1

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 0.3.0 (latest) — 2018-04-13
- 0.3.0-rc2 — 2018-04-06
- 0.3.0-rc1 — 2018-03-30

## README

# TMPop Explorer

A block explorer for Indigo's Tendermint Store.

[![npm](https://img.shields.io/npm/v/@indigocore/tmpop-explorer.svg)](https://www.npmjs.com/package/@indigocore/tmpop-explorer)

## Installation

```
npm install --save @indigocore/tmpop-explorer
```


## Local Development

You should first run a local version of rollup that will watch your `src/` component and automatically recompile it into `lib/` whenever you make changes.

We'll also be running our `app/` create-react-app that's linked to the local version of your `tmpop-explorer` module.

```bash
yarn link # the link commands are important for local development
yarn start # runs rollup with watch flag

# (in another tab, run the app)
cd app
yarn link @indigocore/tmpop-explorer
yarn
yarn start # runs create-react-app hot-reload dev server
```

Now, anytime you make a change to your component in `src/` or to the application's `app/src`, `create-react-app` will live-reload your local dev server so you can iterate on your component in real-time.


## Installation

The easiest way to use tmpop-explorer is to install it from NPM and include it in your own React build process (using [Browserify](http://browserify.org), [Webpack](http://webpack.github.io/), etc).

```
yarn install @indigocore/tmpop-explorer
```


## Usage

Include the react component in your application:

```
var TMPopExplorer = require('@indigocore/tmpop-explorer');

// OR with ES6 import
import TMPopExplorer from '@indigocore/tmpop-mapexplorer';

<TMPopExplorer remote="localhost:46657"/>
```

If your application already uses a router, the tmpop explorer can also be "mounted":

```
<Router history={browserHistory}>
	<Route path='/blockexplorer*' mount='/blockexplorer' component={TMPopExplorer} remote="localhost:46657"/>
</Router>
```

Note: the path should always end with * so that subroutes work. Make sure it doesn't conflict with your application.

### Properties

* `remote`: the address used to contact the Indigo Node (mandatory).
* `mount`: the mountpoint for the tmpop explorer in your routing scheme (mandatory if included as a route).

## Development (`src`, `lib` and the build process)

**NOTE:** The source code for the component is in `src`. A transpiled CommonJS version (generated with Babel) is available in `lib` for use with node.js, browserify and webpack. A UMD bundle is also built to `lib`, which can be included without the need for any build system.

## License

Copyright 2017 Stratumn SAS. All rights reserved.

Unless otherwise noted, the TMPop Explorer source files are distributed under the Apache License 2.0 found in the LICENSE file.

---
_Source: https://npm.io/package/@indigocore/tmpop-explorer · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
