
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@axelar-network/axelar-gmp-sdk-solidity
Advanced tools
Solidity GMP SDK and utilities provided by Axelar for cross-chain development
The @axelar-network/axelar-gmp-sdk-solidity package is a software development kit designed to facilitate cross-chain communication and interoperability using the Axelar Network. It provides tools and functionalities for developers to build decentralized applications that can interact across different blockchain networks seamlessly.
Cross-Chain Message Passing
This feature allows developers to send messages between different blockchain networks. The code sample demonstrates how to use the AxelarGMPClient to send a message from Ethereum to Binance Smart Chain.
const { AxelarGMPClient } = require('@axelar-network/axelar-gmp-sdk-solidity');
async function sendMessage() {
const client = new AxelarGMPClient();
const tx = await client.sendMessage({
fromChain: 'Ethereum',
toChain: 'BinanceSmartChain',
payload: 'Hello, cross-chain world!'
});
console.log('Transaction:', tx);
}
sendMessage();
Token Transfer
This feature enables the transfer of tokens across different blockchain networks. The code sample shows how to transfer USDC tokens from Ethereum to Polygon using the AxelarGMPClient.
const { AxelarGMPClient } = require('@axelar-network/axelar-gmp-sdk-solidity');
async function transferToken() {
const client = new AxelarGMPClient();
const tx = await client.transferToken({
fromChain: 'Ethereum',
toChain: 'Polygon',
token: 'USDC',
amount: '100'
});
console.log('Token Transfer Transaction:', tx);
}
transferToken();
The wormhole-sdk is a cross-chain interoperability protocol that allows for the transfer of assets and data across different blockchain networks. It is similar to @axelar-network/axelar-gmp-sdk-solidity in that it facilitates cross-chain communication, but it focuses more on providing a decentralized bridge for token transfers and data messaging.
Connext is a protocol for fast, low-cost, and trust-minimized cross-chain communication. It provides similar functionalities to @axelar-network/axelar-gmp-sdk-solidity by enabling developers to build applications that can interact across multiple blockchains. Connext emphasizes speed and cost-efficiency in its cross-chain transactions.
This repository contains all the necessary ingredients for successful cross-chain development utilizing the Axelar General Message Passing protocol.
$ npm install @axelar-network/axelar-gmp-sdk-solidity
Base interface for validating and executing GMP contract calls.
Interface that allows to expedite 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 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.
Allows conversion between string
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 387,868 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 0 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.