A powerful and easy-to-use React Native SDK for building mobile applications on Starknet. This SDK provides a seamless integration between React Native applications and the Starknet blockchain.
- 🚀 Built with TypeScript for type safety
- 📱 React Native & Expo compatible
- 🔒 Secure transaction signing
- 🌐 Multiple network support (Mainnet, Testnet, Local)
- 🎯 Simple and intuitive API
- 🛠 Comprehensive hooks for React Native
- 📦 Zero-config installation with Expo
- 📝 Extensive documentation and examples
npm install @make-starknet-mainstream/starknet-react-native-sdk
# or
yarn add @make-starknet-mainstream/starknet-react-native-sdk
import { useStarknet, useContract, useAccount } from '@make-starknet-mainstream/starknet-react-native-sdk';
function App() {
const { connect, disconnect, isConnected } = useStarknet();
const { account } = useAccount();
return (
<View>
{!isConnected ? (
<Button onPress={connect} title="Connect to Starknet" />
) : (
<Text>Connected: {account.address}</Text>
)}
</View>
);
}
For detailed documentation, visit our documentation site.
Check out our example applications in the examples directory:
- Basic Wallet App
- NFT Gallery
- DeFi Dashboard
We welcome contributions! Please see our Contributing Guide for details.
If you discover a security vulnerability, please follow our Security Policy.
This project is licensed under the MIT License - see the LICENSE file for details.