Front-End Integration
OmniSocial’s frontend stack is designed to be developer-friendly, modular, and easy to integrate into external applications or extend with new features.
🛠️ Tech Stack Overview
🔗 Connecting Wallets
import { useAccount, useConnect, useDisconnect } from 'wagmi';
const WalletStatus = () => {
const { address, isConnected } = useAccount();
const { connect, connectors } = useConnect();
const { disconnect } = useDisconnect();
return (
<div>
{isConnected ? (
<>
<p>Connected: {address}</p>
<button onClick={() => disconnect()}>Disconnect</button>
</>
) : (
connectors.map((connector) => (
<button key={connector.id} onClick={() => connect({ connector })}>
Connect {connector.name}
</button>
))
)}
</div>
);
};🧩 Provided Components & Hooks
🌐 Examples
🎨 Styling & Design System
🌍 Multi-language Support
Add a new language:
🚀 Quick Start: Run Frontend Locally
Make sure your .env.local contains the RPC endpoint and contract addresses:
.env.local contains the RPC endpoint and contract addresses:📁 Key Directories
Path
Description
Last updated
Was this helpful?
