0.0.7 • Published 4 months ago

easya-react v0.0.7

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

EasyA SDK Integration Guide

Quick guide to get started with EasyA SDK in your React application.

Installation

Install the EasyA SDK package in your React project:

npm install @easya/react

Basic Implementation

Here's a minimal example showing how to integrate the EasyA SDK with a connect button:

const App = () => {
    return (
        <EasyaSDK.BlockchainProvider config={blockchainConfig}>
            <div style={{ 
                minHeight: '100vh',
                display: 'flex',
                flexDirection: 'column',
                alignItems: 'center',
                justifyContent: 'center',
                textAlign: 'center'
            }}>
                <h1>My Web3 App</h1>
                <EasyaSDK.ConnectButton />
            </div>
        </EasyaSDK.BlockchainProvider>
    );
};
0.0.7

4 months ago

0.0.6

4 months ago

0.0.2

4 months ago

0.0.1

4 months ago