• Stars
    star
    162
  • Rank 232,284 (Top 5 %)
  • Language
    Go
  • License
    Apache License 2.0
  • Created over 4 years ago
  • Updated 4 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Axelar: A Decentralized Blockchain Interoperability Network

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 required version of the bytecode here contract-version.json
  2. Download that version from the axelar-cgp-solidity releases. Example: Bytecode-v4.3.0
  3. Unzip the json files under contract-artifacts/
  4. Run make generate to generate x/evm/types/contracts.go

Download and Verify Binary

Before interacting with the axelar network, ensure you have the correct axelard binary and that it's verified:

  1. Download the Binary and Signature File:

    • Go to the Axelar Core releases page.
    • Download the axelard binary for your operating system and architecture.
    • Also, download the corresponding .asc signature file.
  2. Import Axelar's Public Key:

    • Run the following command to import the public key:
      curl https://keybase.io/axelardev/pgp_keys.asc | gpg --import
  3. Trust the Imported Key:

    • Enter GPG interactive mode:
      gpg --edit-key 5D9FFADEED11FA5D
    • Type trust then select option 5 to trust ultimately.
  4. Verify the Binary:

    • For example, for version v0.34.3, use:
      gpg --verify axelard-darwin-amd64-v0.34.3.asc axelard-darwin-amd64-v0.34.3
    • A message indicating a good signature should appear, like:
      Good signature from "Axelar Network Devs <[email protected]>" [ultimate]
      

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.

More Repositories

1

axelar-examples

Sample cross-chain dapps & contracts using the Axelar protocol.
TypeScript
183
star
2

tofn

A threshold cryptography library in Rust
Rust
107
star
3

axelar-docs

Resources & Documentation for Axelar Network
MDX
57
star
4

axelar-local-dev

A local developer environment for building your cross-chain dapps.
TypeScript
46
star
5

axelarate-community

Tools to join the axelar network
Shell
44
star
6

axelar-cgp-solidity

No description
JavaScript
39
star
7

axelarjs-sdk

No description
TypeScript
27
star
8

axelar-gmp-sdk-solidity

Solidity libraries and utilities provided by Axelar.
JavaScript
26
star
9

tofnd

A gRPC server wrapper for the https://github.com/axelarnetwork/tofn library.
Rust
25
star
10

interchain-token-service

A protocol implementation for cross chain token transfers.
JavaScript
19
star
11

axelar-amplifier

Permissionless Connections Service run on the Axelar Network
Rust
18
star
12

evm-cosmos-gmp-sample

No description
Rust
13
star
13

devfest-lagos-interchain-dapp-workshop

An interchain decentralized application using React, Solidity, and Axelar General Message Passing that allows users to send messages between two chains.
JavaScript
13
star
14

foundry-axelar-gmp-example

An example repository showcasing the integration of Foundry with Axelar General Message Passing (GMP)
Solidity
11
star
15

axelar-contract-deployments

Contract deployment scripts and resources for Axelar
JavaScript
11
star
16

token-linker

A token linker to be used to permissionlessly link tokens on different EVM compatible chains.
Solidity
10
star
17

axelar-configs

No description
TypeScript
10
star
18

fullstack-interchain-dapp-example

An interchain decentralized application using React, Solidity, and Axelar General Message Passing that allows users to send messages between two chains.
JavaScript
10
star
19

axelarjs

Axelar Network foundations for Javascript/Typescript application development
TypeScript
9
star
20

axelar-cgp-sui

Axelar cross-chain contracts for Sui Move
Move
8
star
21

cgp-spec

Cross-Chain Gateway Protocol Specification
Solidity
7
star
22

axelar-satellite

No description
HTML
7
star
23

axelar-web-app

Axelar web app
TypeScript
6
star
24

cross-chain-airdrop-dapp

How to Build a Cross-chain Airdrop DApp with Solidity, Next.js & Axelar
JavaScript
6
star
25

audits

Axelar network audits
5
star
26

cosmwasm-gateway

Axelar Gateway smart contracts for CosmWasm blockchains.
Rust
3
star
27

interchain-governance-orchestrator

No description
Solidity
3
star
28

axelar-cgp-soroban

Axelar Cross-chain Gateway Protocol for Soroban platform
Rust
3
star
29

support

Your source for support with the Axelar Network
3
star
30

evm-cosmos-relayer

No description
TypeScript
2
star
31

ampd

Rust
2
star
32

axelar-xc20-wrapper

Wraps/Unwraps Moonbeam XC20s.
Solidity
2
star
33

axelarscan-crosschain-ui

Axelarscan Cross-Chain UI
JavaScript
1
star
34

AxelarJS-Tutorial

No description
Solidity
1
star
35

axelar-cgp-aptos

No description
Move
1
star
36

services-portal

Axelar services portal UI
TypeScript
1
star
37

tm-events

Tendermint event utilities
Go
1
star
38

cis

Cross-Chain Interoperability Standards
1
star
39

gmp-caching-docker

Caching DB and executor service for the General Message Passing
JavaScript
1
star
40

grpc-protobuf

Protobuf files used for gRPC calls between https://github.com/axelarnetwork/axelar-core and https://github.com/axelarnetwork/tofn
1
star
41

crosschain-usdc-demo

A demo for the cross-chain usdc without fragmentation issue (it is officially minted by Circle).
TypeScript
1
star
42

whitepaper

No description
1
star