If you want to use Quirks on React Native, after completing the basic installation process defined here, you will need to follow these steps to get started.
The generateConfig utility simplifies integration with React Native by automatically creating a setup with all the basic configurations for RN. This setup is optional and can be customized if needed.
App.tsx
import { } from "@quirks/react-native";import { , } from "@quirks/wallets";import {as,as,} from 'chain-registry/mainnet/osmosis';import { } from "@quirks/react";const =({: [, ],: [],: [],: {: {: "info",: ..,: {: "Quirks Demo",: "Quirks universal dApp demo",: "https://www.quirks.nabla.studio/",: ["https://avatars.githubusercontent.com/u/37784886"], }, }, },});/** * Your app entry point */function() { return <={}></>;}export default;
There is currently a bug in the react-native-quick-crypto library (which has been recently fixed but not yet released in a new build). To address this issue, you need to import the following configuration into your build.gradle.