New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@axelar-network/axelar-gmp-sdk-solidity

Package Overview
Dependencies
Maintainers
0
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@axelar-network/axelar-gmp-sdk-solidity

Solidity GMP SDK and utilities provided by Axelar for cross-chain development

  • 0.0.0-snapshot.caa4bac
  • npm
  • Socket score

Version published
Weekly downloads
444K
increased by0.23%
Maintainers
0
Weekly downloads
 
Created

What is @axelar-network/axelar-gmp-sdk-solidity?

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.

What are @axelar-network/axelar-gmp-sdk-solidity's main functionalities?

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();

Other packages similar to @axelar-network/axelar-gmp-sdk-solidity

FAQs

Package last updated on 25 Oct 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc