GithubHelp home page GithubHelp logo

wphan / injective-core Goto Github PK

View Code? Open in Web Editor NEW

This project forked from injectivefoundation/injective-core

0.0 0.0 0.0 11.69 MB

License: Other

Shell 0.67% JavaScript 47.79% Go 51.30% Makefile 0.13% HTML 0.08% Dockerfile 0.03%

injective-core's Introduction

Injective-Core codecov

Banner!

Home of the following services:

Architecture

architecture.png

Installation

Building from sources

In order to build from source you’ll need at least Go 1.16+.

# need to clone if you plan to run tests, and use Makefile
$ git clone [email protected]:InjectiveLabs/injective-core.git
$ cd injective-core
$ make install

# or simply do this to fetch modules and build executables
$ go install github.com/InjectiveLabs/injective-core/cmd/...

Quick Setup

The most convenient way to launch services is by running the setup script:

$ ./setup.sh

Then run an instance of the injectived node.

$ ./injectived.sh

Voila! You have now successfully setup a full node on the Injective Chain.

Generating the module specification docs

$ cd docs && yarn && yarn run serve

Generating REST and gRPC Gateway docs

First, ensure that the Enable and Swagger values are true in APIConfig set in cmd/injectived/config/config.go.

Then simply run the following command to auto-generate the Swagger UI docs.

$ make proto-swagger-gen

Then when you start the Injective Daemon, simply navigate to http://localhost:10337/swagger/.

Generating Injective Chain API gRPC Typescript bindings

$ make gen

Then when you start the Injective Daemon, simply navigate to http://localhost:10337/swagger/.

Maintenance

To run all unit tests:

$ go test ./injective-chain/...

injective-core's People

Contributors

jennamp 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.