Launch Week Day 1: Socket for Jira Is Now Available.Learn More
Socket
Book a DemoSign in
Socket

@gala-chain/connect

Package Overview
Dependencies
Maintainers
4
Versions
98
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gala-chain/connect

GalaChain Connect is a library that provides developers with capabilities comparable to [ethers.js](https://docs.ethers.io/), allowing users to connect to and interact with GalaChain using wallets such as MetaMask.

latest
Source
npmnpm
Version
3.1.1
Version published
Weekly downloads
363
15.97%
Maintainers
4
Weekly downloads
 
Created
Source

GalaChain Connect

GalaChain Connect is a library that provides developers with capabilities comparable to ethers.js, allowing users to connect to and interact with GalaChain using wallets such as MetaMask.

Table of Contents

Features

  • Client-Side Signing and Calls: Enables applications to interact with GalaChain using client-side signing via web3 wallets like MetaMask and Trust Wallet.
  • Server-Side Signing and Calls: Supports server-side interactions with GalaChain using private keys for automated processes or backend services.
  • Unified API Interface: Provides a consistent API for both client-side and server-side interactions with GalaChain.

Installation

To install Gala Connect, run:

npm install @gala-chain/connect

Building

Run the following command to build the library:

nx build chain-connect

Running Unit Tests

To execute the unit tests via Jest, run:

nx test chain-connect

Examples

The Examples Documentation provides detailed examples on how to use GalaChain Connect, including:

  • Connecting to a Web3 wallet and interacting with GalaChain on the client side.
  • Performing server-side signing and interactions using a private key.

Local Library Testing

To test the library locally in another project:

  • Build the library:

    nx build chain-connect
    
  • Link the library:

    npm link
    
  • In your project where you want to test the library, link it:

    npm link @gala-chain/connect
    

FAQs

Package last updated on 13 Apr 2026

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