Giter Club home page Giter Club logo

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

Stargazers

Vladyslav Deryhin avatar Daoyuan Wu avatar Tatsuki avatar Charlie avatar  avatar Oren avatar  avatar Lahn avatar Sean Lee avatar gambol avatar taeguk | thai avatar Hins avatar  avatar MSK avatar Minh Đăng avatar crazybits avatar Mike Purvis avatar Alex Johnson avatar Javed Khan avatar Larry avatar Shahroz Khan avatar Runchao Han avatar Sandalots avatar Jacob Gadikian avatar Julien Robert avatar Joan De Arcayne avatar Achilleas Kalantzis avatar Markus Waas avatar Hilari Moragrega avatar

Watchers

Markus Waas avatar Albert Chon avatar Achilleas Kalantzis avatar MSK avatar

injective-core's Issues

Running injectived with --with-tendermint=false does not work

For the latest injectived version v1.12.1 running injectived in normal mode (./injectived start) does work, however trying to start injectived without tendermint (in order to run tendermint in a separate process) starts injectived in the normal mode, therefore ignoring the flag --with-tendermint=false. Checking the injective fork of the cosmos-sdk v0.47.3-inj-9 which is used in v1.12.1 it apparently also provides the --with-comet flag, which unfortunately errors with Error: unknown flag: --with-comet

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.