Giter Site home page Giter Site logo

bartosian / axelar-core Goto Github PK

View Code? Open in Web Editor NEW

This project forked from axelarnetwork/axelar-core

0.0 0.0 0.0 214.51 MB

Axelar : A Decentralized Blockchain Interoperability Network

License: Apache License 2.0

Shell 0.48% Go 98.91% Makefile 0.51% Dockerfile 0.09%

axelar-core's Introduction

axelar-core

The axelar-core app based on the Cosmos SDK is the main application of the axelar network. This repository is used to build the necessary binaries and docker image to run a core node.

How To Build

Note: For a release build, checkout the release tag via git checkout vX.Y.Z first.

Execute make build to create the axelard binary in the ./bin folder.

Creating docker images

To create a regular docker image for the node, execute make docker-image. This creates the image axelar/core: latest.

To create a docker image for debugging (with delve), execute make docker-image-debug. This creates the image axelar/core-debug:latest.

Smart contracts bytecode dependency

In order to run/build the project locally we need to import the bytecode from gateway smart contracts.

  1. Find the specific version of the bytecode here contract-version.json
  2. Download the right version from the gateway workflow. Example: Bytecode-v4.3.0
  3. Unzip the json files under contract-artifacts/gateway/
  4. Run make generate to generate x/evm/types/contracts.go

Interacting with a local node

With a local (dockerized) node running, the axelard binary can be used to interact with the node. Run ./bin/axelard or ./bin/axelard <command> --help after building the binaries to get information about the available commands.

Show API documentation

Execute GO111MODULE=off go install -u golang.org/x/tools/cmd/godoc to ensure that godoc is installed on the host.

After the installation, execute godoc -http ":{port}" -index to host a local godoc server. For example, with port 8080 and godoc -http ":8080" -index, the documentation is hosted at http://localhost:8080/pkg/github.com/axelarnetwork/axelar-core. The index flag makes the documentation searchable.

Comments at the beginning of packages, before types and before functions are automatically taken from the source files to populate the documentation. See https://blog.golang.org/godoc for more information.

CLI command documentation

For the full list of available CLI commands for axelard see here

Test tools

Dev tool dependencies, such as moq and goimports, can be installed via make prereqs. Make sure they're on available on your PATH.

Bug bounty and disclosure of vulnerabilities

See the Axelar documentation website.

axelar-core's People

Contributors

cgorenflo avatar fish-sammy avatar jcs47 avatar milapsheth avatar haiyizxx avatar jack0son avatar axelar-cicd-bot avatar talalashraf avatar ggutoski avatar sdaveas avatar kalidax avatar sergeynog avatar windforcer avatar erain9 avatar re1ro avatar jlbit avatar canhtrinh avatar ever0de avatar reecepbcups avatar qubelabsio avatar yrong avatar stephenfluin avatar wilcollins avatar larry0x avatar nghuyenthevinh2000 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.