Skip to main content

GIWA React Native SDK

React Native SDK for GIWA Chain. Works with both Expo and React Native CLI projects.

Key Features​

✅ Available Now​

FeatureHookDescription
Wallet ManagementuseGiwaWalletCreate, recover, import, export wallets
Balance QueryuseBalanceCheck ETH and token balances
TransactionsuseTransactionSend ETH transactions
Token OperationsuseTokensERC-20 token transfers and queries
BridgeuseBridgeL1↔L2 ETH/ERC-20 deposits and withdrawals (initiate, status, prove, finalize); deposits/prove/finalize require endpoints.l1RpcUrl
FlashblocksuseFlashblocks~200ms fast preconfirmation
GIWA ID (up.id)useGiwaIdup.id name resolution via on-chain UpnameRegistry
Dojang (EAS)useDojangOn-chain attestation service
FaucetuseFaucetTestnet ETH faucet
Network InfouseNetworkInfoNetwork status and feature availability
Biometric AuthuseBiometricAuthFace ID / Touch ID / Fingerprint
Secure Storage-iOS Keychain / Android Keystore

Bridge operations work on GIWA Sepolia (testnet) only — GIWA mainnet has not launched, so every L1 bridge contract address is ZERO_ADDRESS there and every bridge call throws. See the Bridge guide.

Network Information​

NetworkChain IDRPC URLStatus
Testnet91342https://sepolia-rpc.giwa.io/✅ Available
Mainnet--🚧 Under Development
Mainnet Under Development

Mainnet is currently under development. Please use Testnet for development and testing.

Quick Start​

# Expo
npx expo install giwa-react-native-wallet expo-secure-store expo-local-authentication react-native-get-random-values

# React Native CLI
npm install giwa-react-native-wallet react-native-keychain react-native-get-random-values
cd ios && pod install
import { GiwaProvider, useGiwaWallet } from "giwa-react-native-wallet";

export default function App() {
return (
<GiwaProvider network="testnet">
<WalletScreen />
</GiwaProvider>
);
}

function WalletScreen() {
const { wallet, createWallet } = useGiwaWallet();

return wallet ? (
<Text>Address: {wallet.address}</Text>
) : (
<Button title="Create Wallet" onPress={createWallet} />
);
}

Requirements​

  • React >= 19.0.0
  • React Native >= 0.77.0
  • Expo SDK >= 53 (Expo projects)
  • expo-secure-store >= 15.0.0 (Expo)
  • expo-local-authentication >= 14.0.0 (Expo, for biometrics)
  • react-native-keychain >= 9.2.0 (React Native CLI)
  • react-native-get-random-values >= 1.11.0

GIWA Official Resources​

ResourceURL
GIWA Documentationdocs.giwa.io
Sample App (GitHub)giwa-react-native-samples
Bridge (Superbridge)superbridge.app
Faucetfaucet.giwa.io
Block Explorersepolia-explorer.giwa.io

Next Steps​