@intellax/ix-ethereum-connector
TypeScript icon, indicating that this package has built-in type declarations

2.1.2 • Public • Published

ix-ethereum-connector

wagmi configuration wrapper

INSTALL

npm install @web3modal/wagmi wagmi viem @tanstack/react-query @intellax/ix-ethereum-connector

CONFIG

/**
 * https://wagmi.sh/react/getting-started
 */
/**
 * https://wagmi.sh/react/getting-started
 */
type Options = {
  /**
   * Get projectId at https://cloud.walletconnect.com
   */
  projectId: string;
  createConfig?: CreateConfigParameters;
  walletConnectMetadata: {
    name: string;
    description: string;
    url: string;
    icons: string[];
  };
  /**
   * @description WalletConnectParameters
   * @link https://wagmi.sh/core/api/connectors/walletConnect#parameters
   */
  walletConnectConfig?: WalletConnectParameters;
  web3ModalOptions?: Web3ModalOptions<ReturnType<typeof defaultWagmiConfig>>;
  /**
   * set Default Chains
   * testnet: true [polygonMumbai, spolia]
   * testnet: false [polygon, mainnet]
   */
  testnet: boolean;
  /**
   * Override Chains
   * @link https://wagmi.sh/core/api/chains
   */
  chains?: [Chain, ...Chain[]];
  /**
   * @description Auto connect to wallet
   */
  autoConnect?: boolean;
  debug?: boolean;

  /**
   * try Connect to IX Wallet Provider
   * default: true
   */
  tryIxInjected?: boolean;
};

Readme

Keywords

none

Package Sidebar

Install

npm i @intellax/ix-ethereum-connector

Weekly Downloads

5

Version

2.1.2

License

none

Unpacked Size

532 kB

Total Files

67

Last publish

Collaborators

  • ix-ryube
  • ix-chaeyk
  • ix-ssole