@gala-chain/connect v1.5.2
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
8 months ago
9 months ago
9 months ago
9 months ago
9 months ago
10 months ago
9 months ago
9 months ago
9 months ago
9 months ago
10 months ago
10 months ago
10 months ago
11 months ago
11 months ago
11 months ago
11 months ago
12 months ago
12 months ago
12 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago