sebastiendan / axelar-gmp-sdk-solidity

Solidity libraries and utilities provided by Axelar.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Axelar GMP SDK Solidity

General Message Passing Development Kit

This repository contains all the necessary ingredients for successful cross-chain development utilizing the Axelar General Message Passing protocol.

Installation

$ npm install @axelar-network/axelar-gmp-sdk-solidity

Documentation

Available contracts

AxelarExecutable

Base interface for validating and executing GMP contract calls.

ExpressProxy and ExpressExecutable

Interface that allows to expedite GMP calls by lending assets and performing execution before it fully propagates through the Axelar network.

Create3Deployer and ConstAddressDeployer

These contracts are used to deploy your Executable to have the same address on different EVM chains. This simplifies message validation from peer Executables. You can learn more in the documentation.

Proxy and Upgradable

Base implementation of upgradable contracts designed to be deployed with Create3Deployer and to have the same Proxy address on different EVM chains.

TokenLinker and NTFLinker

Allows developers to create their own cross-chain gateways for ERC20 and ERC721 tokens utilizing the GMP protocol. Also it's a great example how to use AxelarExecutable with Upgradable.

StringAddressUtils

Allows conversion between string and address data types

StringBytesUtil

Allows conversion between string and bytes32 data types for storing strings under 31 bytes into a single storage slot

About

Solidity libraries and utilities provided by Axelar.


Languages

Language:Solidity 59.0%Language:JavaScript 40.8%Language:Shell 0.2%