0.0.7 • Published 10 months ago

easya-react v0.0.7

Weekly downloads
-
License
-
Repository
-
Last release
10 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

10 months ago

0.0.6

10 months ago

0.0.2

10 months ago

0.0.1

10 months ago