Skip to content

NEAR blockchain explorer

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

shelegdmitriy/near-explorer

 
 

NEAR Blockchain Explorer

In development.

Setup

Docker-based Setup

Prerequisite:

  • Docker
  • Docker-Compose

Build Docker images:

$ docker-compose build

Run them:

$ docker-compose up

NOTE: You may want to run them in background, so just add --detach flag.

Now you can reach the services:

  • http://localhost:3000/ -- frontend
  • ws://localhost:8080/ws -- WAMP router (you don't need it unless you are a developer)

Development Q&A

Q: How to run the local development version of the frontend/backend?

A: It is recommended to use docker-compose to run all the services and then stop the one that you want to develop locally (docker-compose stop frontend). (Follow the execution instructions written in the relevant README file of the subproject)

Q: How to query internal Explorer database from CLI?

A: Having the backend running, you can query it from CLI just like you can do from the frontend. To do that, you can use an auxulary tool in the ./cli folder. See the README there.

Q: How to auto-format the source code on commit?

A: Use npm install from the root of the project, so it sets up the git hooks which automatically run prettier on every commit. (We wish we don't need to have the root package.json, but husky does not support subpackages nicely)

Contributing

To contribute to NEAR Explorer, please see CONTRIBUTING.

Most real-time collaboration happens in a variety of channels on the NEAR Discord server, with channels dedicated for getting help, community, documentation, and all major contribution areas in the NEAR ecosystem. A good place to ask for help would be the #general channel.

License

NEAR Explorer is distributed under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE-MIT and LICENSE-APACHE for details.

About

NEAR blockchain explorer

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 56.1%
  • JavaScript 43.4%
  • Dockerfile 0.5%