GithubHelp home page GithubHelp logo

isabella232 / filecoin-explorer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from filecoin-project/filecoin-explorer

0.0 0.0 0.0 2.16 MB

Filecoin block explorer

License: Other

JavaScript 91.89% HTML 4.27% CSS 2.60% Dockerfile 1.24%

filecoin-explorer's Introduction

Filecoin Explorer (filecoin-explorer)

CircleCI

Filecoin block explorer

An open source Filecoin block explorer written in JavaScript.

Table of Contents

Development

Check the docs for create-react-app

Install Node

The build process for filecoin-explorer requires at least Node version 8.0.0, which you can download here.

Clone

> git clone [email protected]:filecoin-project/filecoin-explorer.git

Install Dependencies

filecoin-explorer's dependencies are managed by Yarn, which you can download here. To install filecoin-explorer's build and development dependencies, run:

> cd filecoin-explorer
> yarn install

Launch the Development Server

During development, the filecoin-explorer is served from a locally running webpack-dev-server. The development server is configured to automatically reload source files as they are changed. To launch the server, run:

> yarn start

Important: Access-Control-Allow-Origin Headers

By default, HTTP responses from the go-filecoin node will have their Access-Control-Allow-Origin header set to http://localhost:8080. If want to serve the filecoin-explorer from a different host or port, you'll need to reconfigure the go-filecoin daemon accordingly.

Linting

This project uses StandardJS for linting and code-formatting. To use StandardJS, run:

> yarn lint

If you want starndard to fix your issues for you, run:

> yarn lint-fix

Usage

Start a Filecoin Node

The Filecoin Explorer JavaScript application communicates via HTTP requests with a locally-running Filecoin node. For instructions on building a Filecoin node, review the go-filecoin README. Then, run:

> ./go-filecoin daemon

Launch the JavaScript Client

With the development server running (see Launch the Development Server, above), open your web browser and navigate to http://localhost:8080. From here, you can explore the Filecoin blockchain.

Contribute

See the contribute file.

If editing the readme, please conform to the standard-readme specification.

License

The Filecoin Project is dual-licensed under Apache 2.0 and MIT terms:

filecoin-explorer's People

Contributors

gmas avatar mishmosh avatar olizilla avatar pooja avatar travisperson avatar zenground0 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.