Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: param ORDER is invalid. Expected bigint, git 5.7....+76 #3891

Open
louloub opened this issue Feb 20, 2025 · 1 comment
Open

Error: param ORDER is invalid. Expected bigint, git 5.7....+76 #3891

louloub opened this issue Feb 20, 2025 · 1 comment

Comments

@louloub
Copy link

louloub commented Feb 20, 2025

Discussed in https://github.com/orgs/reown-com/discussions/3890

Originally posted by louloub February 20, 2025
Hi everyone

I'm working on react native application and after following the installation step from official documentation i'm facing the error :

'Error: param ORDER is invalid. Expected bigint, git 5.7....+76'

I have tried lot of think like polyfills, modify babel and metro configuration but nothing works.

Do you have an idea to fix this issue please ?

Thanks :)

React Native 0.68
Expo 45.0.0

Dependenciens :
{
"@expo-google-fonts/inter": "0.2.3",
"@expo-google-fonts/nunito": "^0.2.2",
"@expo-google-fonts/roboto": "^0.2.3",
"@react-native-async-storage/async-storage": "~1.17.3",
"@react-native-community/cli-platform-ios": "^12.3.4",
"@react-native-community/netinfo": "^9.4.1",
"@react-native-material/core": "^1.3.7",
"@react-navigation/elements": "^1.3.30",
"@react-navigation/native": "^6.0.6",
"@react-navigation/native-stack": "^6.2.5",
"@reown/walletkit": "^1.2.1",
"@sentry/react-native": "5.33.2",
"@types/react-native-dotenv": "^0.2.0",
"@walletconnect/react-native-compat": "^2.18.1",
"axios": "^1.6.7",
"crypto": "^1.0.1",
"expo": "^45.0.0",
"expo-app-auth": "~11.1.0",
"expo-app-loading": "~2.0.0",
"expo-application": "~4.1.0",
"expo-barcode-scanner": "~11.3.0",
"expo-camera": "~12.2.0",
"expo-clipboard": "~3.0.1",
"expo-constants": "~13.1.1",
"expo-device": "~4.2.0",
"expo-font": "~10.1.0",
"expo-image-picker": "~13.1.1",
"expo-linking": "~3.1.0",
"expo-local-authentication": "~12.2.0",
"expo-secure-store": "~11.2.0",
"expo-splash-screen": "~0.15.1",
"expo-status-bar": "~1.3.0",
"fast-text-encoding": "^1.0.6",
"formik": "^2.4.6",
"i18n-js": "^3.8.0",
"jwt-decode": "^3.1.2",
"lottie-react-native": "5.0.1",
"moment": "^2.29.1",
"mongodb": "^6.3.0",
"patch-package": "^8.0.0",
"postinstall-postinstall": "^2.1.0",
"react": "^17.0.2",
"react-dom": "17.0.2",
"react-native": "0.68.0",
"react-native-animated-loader": "^0.0.9",
"react-native-confirmation-code-field": "^7.3.1",
"react-native-device-info": "^10.12.0",
"react-native-dotenv": "^3.3.1",
"react-native-draggable": "^3.3.0",
"react-native-element-dropdown": "^1.5.5",
"react-native-elements": "^3.4.3",
"react-native-gesture-handler": "2.9.0",
"react-native-get-random-values": "^1.11.0",
"react-native-keyboard-aware-scroll-view": "^0.9.5",
"react-native-localize": "^2.2.4",
"react-native-modal": "^13.0.1",
"react-native-modalize": "^2.0.13",
"react-native-onesignal": "5.0.1",
"react-native-paper": "^4.11.2",
"react-native-qrcode-svg": "6.3.2",
"react-native-safe-area-context": "4.2.4",
"react-native-screens": "~3.11.1",
"react-native-svg": "14.1.0",
"react-native-timer": "^1.3.6",
"react-native-vector-icons": "^9.0.0",
"react-native-version-check": "^3.4.7",
"react-native-web": "0.17.7",
"react-redux": "^7.2.9",
"react-spinners": "^0.11.0",
"redux": "^4.1.2",
"redux-persist": "^6.0.0",
"redux-thunk": "^2.4.1",
"rn-placeholder": "^3.0.3",
"yup": "^1.4.0"
},
"devDependencies": {
"@babel/core": "^7.12.9",
"@expo/config": "^6.0.26",
"@types/i18n-js": "^3.8.9",
"@types/react": "^17.0.80",
"@types/react-native": "^0.68.0",
"@types/react-native-version-check": "^3.4.8",
"@types/speakeasy": "^2.0.7",
"@walletconnect/jsonrpc-types": "^1.0.4",
"typescript": "^4.4.4"
},
"resolutions": {
"@types/react": "17.0.80",
"@types/react-native": "0.68.0"
},
"private": true
}

Component walletScreen where i try to initialize WalletKit :

some import 
import "@walletconnect/react-native-compat";
import { Core } from "@walletconnect/core";
import { WalletKit } from "@reown/walletkit";

export const WalletScreen = () => {

const handleBarCodeScanned = async ({
    type,
    data,
  }: {
    type: string;
    data: string;
  }) => {

const core = new Core({
  projectId: process.env.PROJECT_ID
})

const walletKit = await WalletKit.init({
  core,
  metadata: {
    name: 'Demo React Native Wallet',
    description: 'Demo RN Wallet to interface with Dapps',
    url: 'www.walletconnect.com',
    icons: ['https://your_wallet_icon.png'],
    redirect: {
      native: 'yourwalletscheme://'
    }
  }
})
}
}
Copy link

linear bot commented Feb 20, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant