repo stringlengths 7 64 | file_url stringlengths 81 338 | file_path stringlengths 5 257 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 15:25:31 2026-01-05 01:50:38 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
mints-components/ui | https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/skeleton/index.ts | src/skeleton/index.ts | export * from './skeleton';
| typescript | MIT | d4fe34f45d66639b8958b933eafa9949030b4f7e | 2026-01-05T05:01:02.350684Z | false |
mints-components/ui | https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/callout/callout.tsx | src/callout/callout.tsx | import clsx from 'clsx';
import { Button } from '../button';
import { Close } from '../icons';
export type CalloutVariant =
| 'primary'
| 'outline'
| 'danger'
| 'warning'
| 'success';
export type CalloutSize = 'sm' | 'default' | 'lg';
export interface CalloutProps extends React.HTMLAttributes<HTMLDivElemen... | typescript | MIT | d4fe34f45d66639b8958b933eafa9949030b4f7e | 2026-01-05T05:01:02.350684Z | false |
mints-components/ui | https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/callout/callout.stories.tsx | src/callout/callout.stories.tsx | import type { Meta, StoryObj } from '@storybook/react-vite';
import { useState } from 'react';
import { Button } from '../button';
import { Info } from '../icons';
import { Callout } from './callout';
const meta: Meta<typeof Callout> = {
title: 'Components/Callout',
component: Callout,
tags: ['autodocs'],
pa... | typescript | MIT | d4fe34f45d66639b8958b933eafa9949030b4f7e | 2026-01-05T05:01:02.350684Z | false |
mints-components/ui | https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/callout/index.ts | src/callout/index.ts | export * from './callout';
| typescript | MIT | d4fe34f45d66639b8958b933eafa9949030b4f7e | 2026-01-05T05:01:02.350684Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/services/deeplink.ts | src/services/deeplink.ts | /* eslint-disable no-undef */
import {DeviceEventEmitter, Linking} from 'react-native';
import {WalletStore} from 'stores/wallet';
import {getChainByCoin} from 'utils';
import CONFIG from '../config';
import appStates from './appStates';
import {CryptoService} from './crypto';
import {Logs} from './logs';
class DeepLi... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/services/loading.ts | src/services/loading.ts | export const LoadingModal: any = {
instance: null,
};
| typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/services/swap.ts | src/services/swap.ts | /* eslint-disable no-undef */
import axios from 'axios';
const APP_URI = {
ETH: 'https://api.0x.org/swap/v1',
BSC: 'https://bsc.api.0x.org/swap/v1',
POLYGON: 'https://polygon.api.0x.org/swap/v1',
};
class SwapService {
data: any;
constructor() {}
getQuote = async (chain, params) => {
const url = `${A... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/services/walletconnect.ts | src/services/walletconnect.ts | /* eslint-disable @typescript-eslint/no-unused-vars */
import RNWalletConnect from '@walletconnect/client';
import {WalletconnectStore} from '../stores/walletconnect';
const CLIENT_OPTIONS = {
clientMeta: {
description: 'Coingrig Wallet',
url: 'https://coingrig.com',
icons: ['https://coingrig.com/assets/... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/services/logs.ts | src/services/logs.ts | import {logger, consoleTransport} from 'react-native-logs';
const defaultConfig = {
enabled: __DEV__,
transport: consoleTransport,
transportOptions: {
colors: 'ansi',
},
};
export const Logs = logger.createLogger(defaultConfig);
| typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/services/crypto.ts | src/services/crypto.ts | import axios from 'axios';
import {COINS_MIN, STORED_CHAIN_KEYS} from 'utils/constants';
import {MarketStore} from 'stores/market';
import {IWallet, IWalletAddresses, WalletStore} from 'stores/wallet';
import BigNumber from 'bignumber.js';
import {Logs} from 'services/logs';
import {WalletFactory} from '@coingrig/core'... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/services/migrations.ts | src/services/migrations.ts | import {WalletStore} from 'stores/wallet';
import {Migration as M01} from './migrations/01_1.1.0';
import {Migration as M02} from './migrations/02_1.2.0';
import {StorageGetItem, StorageSetItem} from './storage';
import CONFIG from '../config';
import {Platform} from 'react-native';
const MIGRATION_KEY = CONFIG.MIGRAT... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/services/storage.ts | src/services/storage.ts | import AsyncStorage from '@react-native-async-storage/async-storage';
import EncryptedStorage from 'react-native-encrypted-storage';
export async function StorageSetItem(
key: string,
value: string,
encrypted: boolean = true,
) {
if (encrypted) {
try {
await EncryptedStorage.setItem(key, value);
... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/services/appStates.ts | src/services/appStates.ts | /* eslint-disable no-undef */
import {AppState, Platform} from 'react-native';
import {BankStore} from 'stores/bankStore';
import {CexStore} from 'stores/cexStore';
import {FiatStore} from 'stores/fiatStore';
import {StockStore} from 'stores/StockStore';
import {WalletStore} from 'stores/wallet';
import {mixBalance} fr... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/services/friends/index.ts | src/services/friends/index.ts | import {Logs} from 'services/logs';
export const importFriend = url => {
try {
Logs.info(url);
} catch (error) {
Logs.error(error);
}
};
export const exportMyContact = () => {
try {
Logs.info('export');
} catch (error) {
Logs.error(error);
}
};
| typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/services/ipfs/index.ts | src/services/ipfs/index.ts | import axios from 'axios';
export const saveToIPFS = async () => {
try {
// const file = new Blob([JSON.stringify(data)], {
// type: 'application/json',
// });
// const ipfs = create({url: 'https://ipfs.infura.io:5001/api/v0'});
// const ipfs = create();
// const {cid} = await ipfs.add(data... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/services/banks/index.ts | src/services/banks/index.ts | import CONFIG from 'config';
import {Logs} from 'services/logs';
import {BankStore, IBankAccount} from 'stores/bankStore';
import endpoints from 'utils/endpoints';
import axios from 'axios';
import {FxStore} from 'stores/fxStore';
import i18n from 'i18n';
import {showMessage} from 'react-native-flash-message';
class B... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/services/ramp/index.ts | src/services/ramp/index.ts | import CONFIG from 'config';
import axios from 'axios';
import endpoints from 'utils/endpoints';
import {Logs} from 'services/logs';
export const RampProviders = {
guardarian: {
name: 'Guardarian',
image: require('../../assets/hub/guardarian.png'),
methods: require('../../assets/guardarian-methods.png'),... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/services/cex/index.ts | src/services/cex/index.ts | import {Logs} from 'services/logs';
import {
StorageDeleteItem,
StorageGetItem,
StorageSetItem,
} from 'services/storage';
import {CexStore} from 'stores/cexStore';
import {MarketStore} from 'stores/market';
import {FxStore} from 'stores/fxStore';
import CONFIG from 'config';
import ccxt from 'ccxt';
import {show... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/services/stocks/index.ts | src/services/stocks/index.ts | import CONFIG from 'config';
import {Logs} from 'services/logs';
import {MarketStore} from 'stores/market';
import {IStocks, StockStore} from 'stores/StockStore';
import endpoints from 'utils/endpoints';
import axios from 'axios';
class StockService {
lastFetch: number = 0;
constructor() {}
getMarkets = async (... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/services/migrations/02_1.2.0.ts | src/services/migrations/02_1.2.0.ts | import {IWalletConfig} from '@coingrig/core';
import {WalletStore} from '../../stores/wallet';
const BSC_DESCRIPTOR: IWalletConfig = {
symbol: 'BNB',
name: 'Binance Coin',
chain: 'BSC',
type: 'coin',
decimals: 18,
contract: null,
walletAddress: null,
privKey: null,
};
const POLYGON_DESCRIPTOR: IWallet... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/services/migrations/01_1.1.0.ts | src/services/migrations/01_1.1.0.ts | import {WalletStore} from '../../stores/wallet';
const COIN_LIST: any[] = [
{
symbol: 'BTC',
cid: 'bitcoin',
image: 'https://assets.coingecko.com/coins/images/1/large/bitcoin.png',
},
{
symbol: 'ETH',
cid: 'ethereum',
image: 'https://assets.coingecko.com/coins/images/279/large/ethereum.pn... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/services/notifications/index.ts | src/services/notifications/index.ts | import CONFIG from 'config';
import OneSignal from 'react-native-onesignal';
import {Logs} from 'services/logs';
class NotificationService {
constructor() {
//OneSignal Init Code
OneSignal.setLogLevel(6, 0);
OneSignal.setAppId(CONFIG.ONESIGNAL_KEY);
//Method for handling notifications received while ... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/services/fx/index.ts | src/services/fx/index.ts | import {Logs} from 'services/logs';
import {FiatStore} from 'stores/fiatStore';
import endpoints from 'utils/endpoints';
import axios from 'axios';
import {FxStore} from 'stores/fxStore';
import BanksService from 'services/banks';
import {CexStore} from 'stores/cexStore';
import {BankStore} from 'stores/bankStore';
cl... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/routes/index.tsx | src/routes/index.tsx | /* eslint-disable react-native/no-inline-styles */
import React from 'react';
import 'react-native-gesture-handler';
import {Image, Platform, View, Text} from 'react-native';
import {
createStackNavigator,
CardStyleInterpolators,
} from '@react-navigation/stack';
import {createBottomTabNavigator} from '@react-navig... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/routes/styles.ts | src/routes/styles.ts | import {CardStyleInterpolators} from '@react-navigation/stack';
import {Colors} from 'utils/colors';
const styles: any = {};
styles.noAnim = {
headerShown: false,
cardStyleInterpolator: CardStyleInterpolators.forNoAnimation,
};
styles.importWallet = {
headerShown: false,
title: '',
headerStyle: {
shado... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/components/walletlistitem.tsx | src/components/walletlistitem.tsx | import React from 'react';
import {StyleSheet, Text, View, TouchableOpacity} from 'react-native';
import {CoinsAvatar} from 'components/coinsAvatar';
import {formatCoins, formatPrice} from '../utils';
import {Colors} from 'utils/colors';
import {IWallet} from 'stores/wallet';
import {CryptoService} from 'services/crypt... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/components/smallCard.tsx | src/components/smallCard.tsx | import React from 'react';
import {StyleSheet, Text, View, TouchableOpacity} from 'react-native';
import {observer} from 'mobx-react-lite';
import {CoinsAvatar} from 'components/coinsAvatar';
import {LineChart} from 'react-native-chart-kit';
import {formatPrice} from '../utils';
import {Colors} from 'utils/colors';
co... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/components/smallButton.tsx | src/components/smallButton.tsx | import React from 'react';
import {Text, StyleSheet, TouchableOpacity} from 'react-native';
export function SmallButton(props) {
return (
<TouchableOpacity
{...props}
style={[styles.smallBtn, props.style]}
onPress={() => props.onPress()}>
<Text
style={[
styles.smallBtnTe... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/components/loadingSheet.tsx | src/components/loadingSheet.tsx | /* eslint-disable react-native/no-inline-styles */
import React, {createRef} from 'react';
import {Text} from 'react-native';
import ActionSheet from 'react-native-actions-sheet';
import LottieView from 'lottie-react-native';
import {LoadingModal} from '../services/loading';
import {useTranslation} from 'react-i18next'... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/components/loader.tsx | src/components/loader.tsx | /* eslint-disable react-native/no-inline-styles */
import React from 'react';
import {View, ActivityIndicator} from 'react-native';
import {Colors} from 'utils/colors';
export const Loader = () => {
return (
<View style={{flex: 1, justifyContent: 'center'}}>
<ActivityIndicator size="large" color={Colors.fo... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/components/brick.tsx | src/components/brick.tsx | import React from 'react';
import {StyleSheet, Text, TouchableOpacity, View} from 'react-native';
import {useTranslation} from 'react-i18next';
import {observer} from 'mobx-react-lite';
import {CoinsAvatar} from 'components/coinsAvatar';
import Svg, {Path} from 'react-native-svg';
import {useNavigation} from '@react-na... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/components/pincode.tsx | src/components/pincode.tsx | /* eslint-disable react/react-in-jsx-scope */
import PINCode from '@haskkor/react-native-pincode';
import {Colors} from '../utils/colors';
import {useTranslation} from 'react-i18next';
import {StyleSheet} from 'react-native';
import React from 'react';
export function Pincode(props) {
const {t} = useTranslation();
... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/components/SwapCoin.tsx | src/components/SwapCoin.tsx | import React from 'react';
import {Text, TouchableOpacity, View} from 'react-native';
import FastImage from 'react-native-fast-image';
interface Props {
setShow: Function;
tokenSymbol: string;
tokenLogo: string;
styles: any;
}
export default React.memo(function SwapCoin({
setShow,
tokenSymbol,
tokenLogo... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/components/switch.tsx | src/components/switch.tsx | import React, {useState} from 'react';
import {Text, View, StyleSheet, TouchableOpacity} from 'react-native';
import {useTranslation} from 'react-i18next';
import {Colors} from 'utils/colors';
export function Switch(props) {
const [receive, setReceive] = useState(props.receive);
const {t} = useTranslation();
co... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/components/marketItem.tsx | src/components/marketItem.tsx | import React from 'react';
import {StyleSheet, Text, View, TouchableOpacity} from 'react-native';
import {CoinsAvatar} from 'components/coinsAvatar';
import {formatPrice} from '../utils';
import {Colors} from 'utils/colors';
const MarketItem = (props: {
coin: string;
key: string;
name: string;
price: number;
... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/components/bigButton.tsx | src/components/bigButton.tsx | import React from 'react';
import {Text, StyleSheet, TouchableOpacity} from 'react-native';
import {Colors} from 'utils/colors';
export function BigButton(props) {
return (
<TouchableOpacity
{...props}
style={[styles.bigBtn, {backgroundColor: props.backgroundColor}]}
onPress={() => props.onPres... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/components/notification.tsx | src/components/notification.tsx | import React from 'react';
import {TouchableOpacity, View, Text, StyleSheet} from 'react-native';
import {getStatusBarHeight, isIphoneX} from 'react-native-iphone-x-helper';
export const TopNotification = ({title, message}) => {
return (
<View style={styles.root}>
<View style={styles.container}>
<T... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/components/coinsAvatar.tsx | src/components/coinsAvatar.tsx | import React from 'react';
import Icon from 'react-native-vector-icons/FontAwesome5';
import FastImage from 'react-native-fast-image';
import {Colors} from 'utils/colors';
export function CoinsAvatar(props: any) {
if (props.coin !== '_END_') {
return (
<FastImage
style={props.style}
source=... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/components/NFT/Card.tsx | src/components/NFT/Card.tsx | import React from 'react';
import {View, Text, Image} from 'react-native';
import {Colors} from 'utils/colors';
import {TouchableOpacity} from 'react-native-gesture-handler';
import {useNavigation} from '@react-navigation/native';
const NFTCard = ({item}) => {
const navigation = useNavigation();
return (
<Touc... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/components/Account/index.tsx | src/components/Account/index.tsx | /* eslint-disable react-native/no-inline-styles */
import React from 'react';
import {StyleSheet, Text, View, TouchableOpacity} from 'react-native';
import {Colors} from 'utils/colors';
import FastImage from 'react-native-fast-image';
import UserAvatar from 'react-native-user-avatar';
import {capitalizeFirstLetter} fro... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/components/Modal/index.tsx | src/components/Modal/index.tsx | /* eslint-disable react-native/no-inline-styles */
import React from 'react';
import {View, Modal, TouchableOpacity} from 'react-native';
import Icon from 'react-native-vector-icons/Ionicons';
import {Colors} from 'utils/colors';
export default function CustomModal({show, setModalShow, children}) {
const [visible, s... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/components/Send/styles.tsx | src/components/Send/styles.tsx | import {StyleSheet} from 'react-native';
import {Colors} from 'utils/colors';
import {SIZE} from 'utils/constants';
export const styles = StyleSheet.create({
maincontainer: {
flexDirection: 'column',
justifyContent: 'space-around',
},
container: {
justifyContent: 'space-between',
borderRadius: 10... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/components/Send/index.tsx | src/components/Send/index.tsx | import React, {useState, createRef, useEffect} from 'react';
import {
Text,
View,
TouchableOpacity,
TextInput,
Alert,
Keyboard,
Linking,
} from 'react-native';
import {useNavigation} from '@react-navigation/native';
import Icon from 'react-native-vector-icons/MaterialIcons';
import QRCodeScanner from 'rea... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/components/Invite/index.tsx | src/components/Invite/index.tsx | /* eslint-disable react-native/no-inline-styles */
import {View, Text} from 'react-native';
import React, {useEffect} from 'react';
import {ScrollView} from 'react-native-gesture-handler';
import {Colors} from 'utils/colors';
import FastImage from 'react-native-fast-image';
import Share from 'react-native-share';
impor... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/components/Trade/Sell.tsx | src/components/Trade/Sell.tsx | import {
View,
Text,
TextInput,
TouchableOpacity,
Image,
ScrollView,
Keyboard,
Linking,
} from 'react-native';
import React, {createRef, useEffect, useState} from 'react';
import {styles} from './styles';
import {useTranslation} from 'react-i18next';
import {Colors} from 'utils/colors';
import {RampProv... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/components/Trade/styles.ts | src/components/Trade/styles.ts | import {StyleSheet} from 'react-native';
import {Colors} from 'utils/colors';
export const styles = StyleSheet.create({
input: {
flex: 1,
color: Colors.foreground,
fontSize: 50,
fontWeight: 'bold',
letterSpacing: -1,
},
inputView: {
flex: 1,
paddingHorizontal: 10,
paddingVertical:... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/components/Trade/Buy.tsx | src/components/Trade/Buy.tsx | import {
View,
Text,
TextInput,
TouchableOpacity,
Image,
ScrollView,
Keyboard,
} from 'react-native';
import React, {createRef, useEffect, useState} from 'react';
import {styles} from './styles';
import {useTranslation} from 'react-i18next';
import {Colors} from 'utils/colors';
import {buyFromGuardarian, ... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/components/widgets/listPrices.tsx | src/components/widgets/listPrices.tsx | /* eslint-disable react-native/no-inline-styles */
import React from 'react';
import {View} from 'react-native';
import {observer} from 'mobx-react-lite';
import SmallCard from '../smallCard';
import {MarketStore} from 'stores/market';
import {useNavigation} from '@react-navigation/native';
import {Colors} from 'utils/... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/components/widgets/TokenPreview.tsx | src/components/widgets/TokenPreview.tsx | import React from 'react';
import {StyleSheet, Text, View} from 'react-native';
import {CoinsAvatar} from 'components/coinsAvatar';
import {formatCoins} from '../../utils';
import {Colors} from 'utils/colors';
import {CryptoService} from 'services/crypto';
const TokenPreview = props => {
const chain = CryptoService.... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/components/Receive/styles.tsx | src/components/Receive/styles.tsx | import {StyleSheet} from 'react-native';
import {Colors} from 'utils/colors';
export const styles = StyleSheet.create({
container: {
flex: 1,
borderRadius: 10,
marginHorizontal: 10,
justifyContent: 'space-around',
alignItems: 'center',
marginBottom: 0,
},
networkTxt: {fontSize: 11, color:... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/components/Receive/index.tsx | src/components/Receive/index.tsx | import React, {useEffect, useState} from 'react';
import {Text, View, Image} from 'react-native';
import CodeGenerator from 'react-native-smart-code';
import {useTranslation} from 'react-i18next';
import {styles} from './styles';
import Share from 'react-native-share';
import {BigButton} from 'components/bigButton';
im... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/components/Bricks/index.tsx | src/components/Bricks/index.tsx | import React from 'react';
import {Text, TouchableOpacity, View} from 'react-native';
import {useTranslation} from 'react-i18next';
import Svg, {Path} from 'react-native-svg';
import {useNavigation} from '@react-navigation/native';
import {formatPrice} from 'utils';
import {Colors} from 'utils/colors';
import Icon from... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/components/Bricks/twoBricks.tsx | src/components/Bricks/twoBricks.tsx | /* eslint-disable react-native/no-inline-styles */
import {View, Text, TouchableOpacity} from 'react-native';
import React from 'react';
import {Colors} from 'utils/colors';
import endpoints from 'utils/endpoints';
import FastImage from 'react-native-fast-image';
import {formatPrice, openLink} from 'utils';
export def... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/components/Bricks/styles.ts | src/components/Bricks/styles.ts | import {Platform, StyleSheet} from 'react-native';
import {Colors} from 'utils/colors';
export const styles = StyleSheet.create({
container: {
flex: 1,
flexDirection: 'column',
},
icon: {
width: 30,
height: 30,
},
logoimg: {
width: 30,
height: 30,
opacity: 0.9,
},
dollar: {
... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/components/CardImage/index.tsx | src/components/CardImage/index.tsx | import {View, Text, TouchableOpacity} from 'react-native';
import React, {useState} from 'react';
import FastImage from 'react-native-fast-image';
import Icon from 'react-native-vector-icons/MaterialCommunityIcons';
import {Colors} from 'utils/colors';
import {styles} from './styles';
export default function CardImage... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/components/CardImage/styles.ts | src/components/CardImage/styles.ts | import {StyleSheet} from 'react-native';
import {Colors} from 'utils/colors';
export const styles = StyleSheet.create({
container: {
backgroundColor: Colors.darker,
borderRadius: 10,
minHeight: 20,
marginBottom: 20,
},
collapse: {
position: 'absolute',
zIndex: 10,
right: 5,
backgr... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/components/CardImage/CardImageSmall.tsx | src/components/CardImage/CardImageSmall.tsx | import {TouchableOpacity} from 'react-native';
import React from 'react';
import FastImage from 'react-native-fast-image';
import {styles} from './styles';
export default function CardImageSmall({imageURI, onClick}) {
return (
<TouchableOpacity onPress={onClick} style={styles.container}>
<FastImage
... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/components/Door/styles.tsx | src/components/Door/styles.tsx | import {StyleSheet} from 'react-native';
export const styles = StyleSheet.create({
container: {
flex: 1,
position: 'absolute',
height: '100%',
width: '100%',
},
waves: {
height: '100%',
width: '150%',
margin: 0,
bottom: 0,
position: 'absolute',
zIndex: -5,
},
waves2: {... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/components/Door/index.tsx | src/components/Door/index.tsx | import React from 'react';
import {
View,
Image,
DeviceEventEmitter,
Text,
ActivityIndicator,
} from 'react-native';
import Svg, {Path} from 'react-native-svg';
import * as Animatable from 'react-native-animatable';
import {Colors} from 'utils/colors';
import {styles} from './styles';
let DoorClose = false;
... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/components/CardList/CardListItem.tsx | src/components/CardList/CardListItem.tsx | /* eslint-disable react-native/no-inline-styles */
import {View, Text, TouchableOpacity, Image, Linking} from 'react-native';
import React from 'react';
import Icon from 'react-native-vector-icons/Ionicons';
import Icon2 from 'react-native-vector-icons/Feather';
import {styles} from './styles';
import {useTranslation} ... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/components/CardList/index.tsx | src/components/CardList/index.tsx | /* eslint-disable react-native/no-inline-styles */
import {View, Text} from 'react-native';
import React from 'react';
import {Colors} from 'utils/colors';
import CardListItem from './CardListItem';
import {styles} from './styles';
const CardList = ({data, category, title}) => {
return (
<View style={[styles.lis... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/components/CardList/Separator.tsx | src/components/CardList/Separator.tsx | /* eslint-disable react-native/no-inline-styles */
import {Text} from 'react-native';
import React from 'react';
import {Colors} from 'utils/colors';
export default function Separator({title}) {
return (
<Text
style={{
color: Colors.lighter,
margin: 10,
marginLeft: 16,
fontS... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/components/CardList/styles.ts | src/components/CardList/styles.ts | import {StyleSheet} from 'react-native';
import {Colors} from 'utils/colors';
export const styles = StyleSheet.create({
container: {
flex: 1,
overflow: 'hidden',
},
listTitle: {
fontWeight: 'bold',
},
list: {
borderRadius: 10,
paddingHorizontal: 15,
marginBottom: 16,
},
brick: {
... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/stores/config.ts | src/stores/config.ts | import axios from 'axios';
import {action, makeAutoObservable} from 'mobx';
import {makePersistable} from 'mobx-persist-store';
import AsyncStorage from '@react-native-async-storage/async-storage';
import endpoints from 'utils/endpoints';
import {StorageGetItem} from 'services/storage';
import CONFIG from 'config';
imp... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/stores/fxStore.ts | src/stores/fxStore.ts | import {action, makeAutoObservable} from 'mobx';
import {hydrateStore, isHydrated, makePersistable} from 'mobx-persist-store';
import AsyncStorage from '@react-native-async-storage/async-storage';
import {Logs} from 'services/logs';
class fxStore {
rates: any = {};
constructor() {
makeAutoObservable(this);
... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/stores/walletconnect.ts | src/stores/walletconnect.ts | import {action, makeAutoObservable} from 'mobx';
import {WALLETCONNECT_STATUS} from 'services/walletconnect';
class walletconnectStore {
peerMeta: any;
chainId: any;
status: string;
transactionData: any;
constructor() {
this.peerMeta = null;
this.chainId = null;
this.status = WALLETCONNECT_STATU... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/stores/cexStore.ts | src/stores/cexStore.ts | import {action, makeAutoObservable} from 'mobx';
import {hydrateStore, isHydrated, makePersistable} from 'mobx-persist-store';
import AsyncStorage from '@react-native-async-storage/async-storage';
import BigNumber from 'bignumber.js';
import {FxStore} from './fxStore';
export type CexStoreType = {
id: string;
titl... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/stores/bankStore.ts | src/stores/bankStore.ts | import {action, makeAutoObservable} from 'mobx';
import {hydrateStore, isHydrated, makePersistable} from 'mobx-persist-store';
import AsyncStorage from '@react-native-async-storage/async-storage';
export type IBankAccount = {
id: string;
iban: string | null;
currency: string | null;
name: string | null;
prod... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/stores/settings.ts | src/stores/settings.ts | import {action, makeAutoObservable} from 'mobx';
import {makePersistable} from 'mobx-persist-store';
import AsyncStorage from '@react-native-async-storage/async-storage';
class settingsStore {
confirmationEnabled: boolean;
mnemonicBackupDone: boolean;
constructor() {
this.confirmationEnabled = true;
thi... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/stores/wallet.ts | src/stores/wallet.ts | import {makeAutoObservable, action} from 'mobx';
import {makePersistable, isHydrated, hydrateStore} from 'mobx-persist-store';
import AsyncStorage from '@react-native-async-storage/async-storage';
import {STORED_MNEMONIC} from '../utils/constants';
import {CryptoService} from '../services/crypto';
import {StorageSetIte... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/stores/market.ts | src/stores/market.ts | import {action, makeAutoObservable, runInAction} from 'mobx';
import {makePersistable} from 'mobx-persist-store';
import AsyncStorage from '@react-native-async-storage/async-storage';
import {getAllCoins, getCoins} from '@coingrig/core';
export type MarketCapCoinType = {
id: string;
symbol: string;
name: string;... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/stores/fiatStore.ts | src/stores/fiatStore.ts | import {action, runInAction, makeAutoObservable} from 'mobx';
import {hydrateStore, isHydrated, makePersistable} from 'mobx-persist-store';
import AsyncStorage from '@react-native-async-storage/async-storage';
import {FxStore} from './fxStore';
export type IFiatAccounts = {
id: string;
name: string;
balance: num... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/stores/StockStore.ts | src/stores/StockStore.ts | import {action, makeAutoObservable} from 'mobx';
import {hydrateStore, isHydrated, makePersistable} from 'mobx-persist-store';
import AsyncStorage from '@react-native-async-storage/async-storage';
export type IStocks = {
id: string;
symbol: string;
name: string;
price: number;
qty: number;
change: number;
... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/utils/analytics.ts | src/utils/analytics.ts | /* eslint-disable no-shadow */
import Analytics from 'appcenter-analytics';
import {Logs} from 'services/logs';
import {Mixpanel} from 'mixpanel-react-native';
import DeviceInfo from 'react-native-device-info';
import CONFIG from 'config';
export enum ILogEvents {
APP_START = 'AppStart',
SCREEN = 'Screen',
CLICK... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/utils/colors.ts | src/utils/colors.ts | import {Appearance} from 'react-native';
const colorScheme = Appearance.getColorScheme();
let theme = {
black: '#353333',
foreground: '#353333', //4d3e36
background: '#faf9f7',
yellow: '#353333',
inverse: 'white',
darker: '#f7f6f2',
lighter: '#756156',
chart: 'rgba(53, 51, 51, 1)',
card: 'white',
b... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/utils/constants.ts | src/utils/constants.ts | import CONFIG from 'config';
import {Dimensions, ScaledSize} from 'react-native';
import {IWallet} from 'stores/wallet';
export const STORED_MNEMONIC: string = '@USER_MNEMONIC';
export const STORED_ACCOUNTS: string = '@USER_ACCOUNTS';
export const STORED_CHAIN_KEYS: string = '@CHAIN_KEYS';
export const ASSET_TYPE_COI... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/utils/index.ts | src/utils/index.ts | import {deleteUserPinCode} from '@haskkor/react-native-pincode';
import {StorageClearAll} from 'services/storage';
import {clearPersistedStore} from 'mobx-persist-store';
import RNRestart from 'react-native-restart';
import i18next from 'i18next';
import BigNumber from 'bignumber.js';
import InAppBrowser from 'react-na... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/utils/endpoints.ts | src/utils/endpoints.ts | import CONFIG from '../config';
let endpoints: any = {
btc: 'https://www.blockchain.com/btc/',
eth: 'https://etherscan.io/',
bsc: 'https://bscscan.com/',
polygon: 'https://polygonscan.com/',
};
if (CONFIG.TESTNET) {
endpoints = {
btc: 'https://www.blockchain.com/btc-testnet/',
eth: 'https://ropsten.... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/utils/style.ts | src/utils/style.ts | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false | |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/utils/hooks/useTransitionEnd.ts | src/utils/hooks/useTransitionEnd.ts | import {useEffect, useState} from 'react';
export function useTransitionEnd(navigation) {
const [end, setEnd] = useState(false);
useEffect(() => {
const unsubscribe = navigation.addListener('transitionEnd', d => {
if (!d.data.closing) {
setEnd(true);
}
});
return unsubscribe;
},... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/utils/hooks/useScreenEvents.ts | src/utils/hooks/useScreenEvents.ts | import {useEffect} from 'react';
export function ScreenEvents(navigation) {
useEffect(() => {
const unsubscribeFocus = navigation.addListener('focus', () => {
return true;
});
const unsubscribeBlur = navigation.addListener('blur', () => {
return false;
});
() => {
unsubscribeFo... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/utils/hooks/useKeyboardEvents.ts | src/utils/hooks/useKeyboardEvents.ts | import {Keyboard} from 'react-native';
import {useEffect} from 'react';
export default function useKeyboardEvents(onKeyboardShow, onKeyboardHide) {
useEffect(() => {
const keyboardShow = Keyboard.addListener(
'keyboardDidShow',
onKeyboardShow,
);
const keyboardHide = Keyboard.addListener(
... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/Feedback/styles.tsx | src/screens/Feedback/styles.tsx | import {StyleSheet} from 'react-native';
import {Colors} from 'utils/colors';
export const styles = StyleSheet.create({
container: {
flex: 1,
},
row: {
flexDirection: 'row',
},
bcontainer: {
flex: 1,
justifyContent: 'center',
flexDirection: 'row',
alignItems: 'center',
paddingBott... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/Feedback/index.tsx | src/screens/Feedback/index.tsx | import React, {useState} from 'react';
import {
Text,
View,
ScrollView,
TouchableOpacity,
TextInput,
Platform,
KeyboardAvoidingView,
Linking,
} from 'react-native';
import {useTranslation} from 'react-i18next';
import {useNavigation} from '@react-navigation/native';
import {styles} from './styles';
impo... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/Dashboard/styles.tsx | src/screens/Dashboard/styles.tsx | import {StyleSheet} from 'react-native';
import {Colors} from 'utils/colors';
export const styles = StyleSheet.create({
container: {
flex: 1,
flexDirection: 'column',
alignItems: 'center',
justifyContent: 'flex-start',
},
button: {
alignItems: 'center',
backgroundColor: '#1A1919',
bor... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/Dashboard/index.tsx | src/screens/Dashboard/index.tsx | /* eslint-disable react-hooks/exhaustive-deps */
/* eslint-disable react-native/no-inline-styles */
import React, {useCallback, useEffect, useState} from 'react';
import {
DeviceEventEmitter,
RefreshControl,
ScrollView,
Text,
TouchableOpacity,
View,
} from 'react-native';
import {WalletStore} from 'stores/w... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/Dashboard/markets.tsx | src/screens/Dashboard/markets.tsx | /* eslint-disable react-native/no-inline-styles */
import TwoBricks from 'components/Bricks/twoBricks';
import {observer} from 'mobx-react-lite';
import React from 'react';
import {useTranslation} from 'react-i18next';
import {Text, View} from 'react-native';
import Icon from 'react-native-vector-icons/FontAwesome5';
i... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/TokenConnect/styles.tsx | src/screens/TokenConnect/styles.tsx | import {StyleSheet} from 'react-native';
import {Colors} from 'utils/colors';
export const styles = StyleSheet.create({
flexcontainer: {
flexGrow: 1,
},
activityIndicator: {
marginTop: 30,
},
footerButton: {
position: 'absolute',
alignSelf: 'center',
bottom: 40,
},
previewText: {
... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/TokenConnect/index.tsx | src/screens/TokenConnect/index.tsx | import React, {useEffect} from 'react';
import {View, Text, ScrollView, ActivityIndicator, Alert} from 'react-native';
import {showMessage} from 'react-native-flash-message';
import {styles} from './styles';
import TokenPreview from 'components/widgets/TokenPreview';
import {Colors} from 'utils/colors';
import {useTran... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/Onboarding/styles.tsx | src/screens/Onboarding/styles.tsx | import {StyleSheet} from 'react-native';
import {Colors} from 'utils/colors';
export const styles = StyleSheet.create({
container: {
flex: 1,
},
pager: {
flex: 5,
justifyContent: 'center',
alignContent: 'center',
alignItems: 'center',
},
pagerView: {
flex: 1,
justifyContent: 'cent... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/Onboarding/index.tsx | src/screens/Onboarding/index.tsx | import React, {useRef, useState} from 'react';
import {View, Text, Pressable} from 'react-native';
import PagerView from 'react-native-pager-view';
import {useTranslation} from 'react-i18next';
import {useNavigation, CommonActions} from '@react-navigation/native';
import Privacy from 'assets/svg/sec.svg';
import Rocket... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/Synthetic/index.tsx | src/screens/Synthetic/index.tsx | /* eslint-disable react-hooks/exhaustive-deps */
import React, {useEffect} from 'react';
import {useNavigation} from '@react-navigation/native';
import {CoinsAvatar} from 'components/coinsAvatar';
import {View, Text, FlatList, TouchableOpacity, Linking} from 'react-native';
import FastImage from 'react-native-fast-imag... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/Synthetic/styles.ts | src/screens/Synthetic/styles.ts | import {Platform, StyleSheet} from 'react-native';
import {Colors} from 'utils/colors';
export const styles = StyleSheet.create({
item: {
flexDirection: 'row',
flex: 1,
borderRadius: 10,
padding: 10,
backgroundColor: Colors.card,
alignContent: 'center',
alignItems: 'center',
justifyCo... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/News/styles.tsx | src/screens/News/styles.tsx | import {Platform, StyleSheet} from 'react-native';
import {Colors} from 'utils/colors';
export const styles = StyleSheet.create({
item: {
flexDirection: 'column',
flex: 1,
borderRadius: 10,
padding: 10,
backgroundColor: Colors.card,
justifyContent: 'center',
marginHorizontal: 10,
marg... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/News/Crypto.tsx | src/screens/News/Crypto.tsx | /* eslint-disable react-native/no-inline-styles */
import {Loader} from 'components/loader';
import * as React from 'react';
import {View, Text, FlatList, TouchableOpacity} from 'react-native';
import axios from 'axios';
import {formatTime, openLink} from 'utils';
import {ILogEvents, LogEvents} from 'utils/analytics';
... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/News/Stock.tsx | src/screens/News/Stock.tsx | /* eslint-disable react-native/no-inline-styles */
import {Loader} from 'components/loader';
import * as React from 'react';
import {View, Text, FlatList, TouchableOpacity} from 'react-native';
import axios from 'axios';
import * as rssParser from 'react-native-rss-parser';
import {openLink} from 'utils';
import {ILogE... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/Hub/index.old.tsx | src/screens/Hub/index.old.tsx | /* eslint-disable react-native/no-inline-styles */
import React, {useState} from 'react';
import {
FlatList,
ImageBackground,
Linking,
Text,
TextInput,
TouchableOpacity,
View,
} from 'react-native';
import {useNavigation} from '@react-navigation/native';
import {useTranslation} from 'react-i18next';
impor... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/Hub/Games.tsx | src/screens/Hub/Games.tsx | /* eslint-disable react-native/no-inline-styles */
import React from 'react';
import {useTranslation} from 'react-i18next';
import {Text, View} from 'react-native';
import FastImage from 'react-native-fast-image';
import {ScrollView} from 'react-native-gesture-handler';
import {Colors} from 'utils/colors';
import {SIZE... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/Hub/DApps.tsx | src/screens/Hub/DApps.tsx | /* eslint-disable react-native/no-inline-styles */
import CardList from 'components/CardList';
import Separator from 'components/CardList/Separator';
import apps from 'data/apps';
import React from 'react';
import {useTranslation} from 'react-i18next';
import {ScrollView} from 'react-native-gesture-handler';
import {st... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
coingrig/coingrig-wallet | https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/Hub/Tools.tsx | src/screens/Hub/Tools.tsx | import apps from 'data/apps';
import React from 'react';
import {useTranslation} from 'react-i18next';
import {ScrollView} from 'react-native-gesture-handler';
import CardList from 'components/CardList';
import {styles} from './styles';
import Separator from 'components/CardList/Separator';
const data = apps.filter(ap... | typescript | MIT | 0589c28b60370520e57db690c2f59437460ad7e7 | 2026-01-05T05:01:02.591010Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.