1.5.2 • Published 8 months ago

@gala-chain/connect v1.5.2

Weekly downloads
-
License
-
Repository
-
Last release
8 months ago

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:

  1. Build the library:

    nx build chain-connect
  2. Link the library:

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

    npm link @gala-chain/connect
1.5.2

8 months ago

1.5.1

9 months ago

1.5.0

9 months ago

1.4.6

9 months ago

1.4.5

9 months ago

1.4.4

10 months ago

1.4.9

9 months ago

1.4.8

9 months ago

1.4.10

9 months ago

1.4.7

9 months ago

1.4.3

10 months ago

1.4.2

10 months ago

1.4.1

10 months ago

1.4.0

11 months ago

1.3.3

11 months ago

1.3.2

11 months ago

1.3.1

11 months ago

1.3.0

12 months ago

1.2.5

12 months ago

1.2.4

12 months ago

1.2.3

1 year ago

1.2.2

1 year ago

1.2.1

1 year ago

1.2.0

1 year ago

1.1.27

1 year ago

1.1.26

1 year ago

1.1.25

1 year ago

1.1.24

1 year ago

1.1.23

1 year ago

1.1.22

1 year ago