1.0.0 • Published 5 months ago

leo_wallet v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
5 months ago

OAuth Wallet SDK

A lightweight SDK for integrating OAuth-based wallet functionality.

Installation

npm install oauth-wallet-sdk
import OAuthWallet from 'oauth-wallet-sdk';

const wallet = new OAuthWallet();

// Initialize wallet
await wallet.initialize();

// Login with Google
await wallet.login('google');

// Send a transaction
const txHash = await wallet.sendTransaction('0xRecipientAddress', 0.01);
console.log('Transaction Hash:', txHash);

// Logout
wallet.logout();

---

### Step 6: Build the SDK
```bash
npx webpack --mode production
1.0.0

5 months ago