1.0.10 • Published 11 months ago

chain-portal v1.0.10

Weekly downloads
-
License
MIT
Repository
-
Last release
11 months ago

Example usage

import React from 'react';
import { WalletConnectButton } from 'chain-portal';

function App() {
  const handleConnect = async (provider: string, account: string) => {
    console.log(`Connected to ${provider} with account ${account}`);
  };

  const handleError = (error: Error) => {
    console.error('Connection error:', error.message);
  };

  return (
    <WalletConnectButton
      onConnect={handleConnect}
      onError={handleError}
      theme="light"
    />
  );
}
1.0.10

11 months ago

1.0.8

11 months ago

1.0.7

11 months ago

1.0.6

11 months ago

1.0.5

11 months ago

1.0.4

11 months ago

1.0.3

11 months ago

1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago