This section provides guidance on integrating different library connectors to facilitate wallet connectivity in your application. We support connectors for , , and . Each connector has its own set of configurations/features and is designed to simplify the process of connecting to the Stargazer Wallet.
Web3React
is a framework that allows you to interact with Ethereum blockchain and smart contracts. It provides a simple and flexible way to connect to different wallets.
Installation
To install the connector, run the following command:
We are committed to expanding our support for library connectors to meet the evolving needs of our users. If you require a connector that is not currently supported, or have suggestions for new connectors, we are open to exploring these possibilities and integrating them into the wallet.
To request the addition of new library connectors or suggest improvements, please reach out to us through the following channels:
Wagmi
is a set of React Hooks for Ethereum, which simplifies the process of connecting to Ethereum networks and smart contracts.
Installation
To install the connector, run the following command:
Example Usage
React Hooks
The connector is a generic react hook that will enable your app to connect to the stargazer wallet on the constellation network, it will return a EIP-1193 compatible provider (among other properties), that will only connect to the constellation network (DAG) via RPC requests, the constellation RPC API reference can be found .
Installation
To install the connector, run the following command: