
Security News
PEP 810 Proposes Explicit Lazy Imports for Python 3.15
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
@axelar-network/axelar-gmp-sdk-solidity
Advanced tools
Solidity GMP SDK and utilities provided by Axelar for cross-chain development
This repository contains all the necessary ingredients for successful cross-chain development utilizing the Axelar General Message Passing protocol.
We recommend using the latest Node.js LTS version.
npm ci
npm run build
npm run test
Pre-compiled bytecodes can be found under Releases. Furthermore, pre-compiled bytecodes and ABI are shipped in the npm package and can be imported via:
npm install @axelar-network/axelar-gmp-sdk-solidity
const IAxelarExecutable = require('@axelar-network/axelar-gmp-sdk-solidity/interfaces/IAxelarExecutable.json');
const Upgradable = require('@axelar-network/axelar-cgp-solidity/artifacts/contracts/upgradable/Upgradable.sol/Upgradable.json');
Unit tests can also be run against live networks for integration testing, see here.
Check gas usage
REPORT_GAS=true npm run test
Check storage layout of contracts.
STORAGE_LAYOUT=true npm run check
Check contract bytecode size
CHECK_CONTRACT_SIZE=true npm run build
Base interface for validating and executing GMP contract calls.
Interface that allows expediting GMP calls by lending assets and performing execution before it fully propagates through the Axelar network.
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.
Base implementation of upgradable contracts designed to be deployed with Create3Deployer
and to have the same Proxy address on different EVM chains.
Allows conversion between string
and address
data types
Allows conversion between bytes
and address
data types
Allows conversion between string
and bytes32
data types
for storing strings under 31 bytes into a single storage slot
FAQs
Solidity GMP SDK and utilities provided by Axelar for cross-chain development
The npm package @axelar-network/axelar-gmp-sdk-solidity receives a total of 8,817 weekly downloads. As such, @axelar-network/axelar-gmp-sdk-solidity popularity was classified as popular.
We found that @axelar-network/axelar-gmp-sdk-solidity demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.