This Or code is not vaild . Try again or with another OR code #3133
akashswamy-maticz
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
npm install @reown/appkit @reown/appkit-adapter-solana
import { createAppKit } from '@reown/appkit/react'
import { SolanaAdapter } from '@reown/appkit-adapter-solana/react'
import { solana, solanaTestnet, solanaDevnet } from '@reown/appkit/networks'
import { PhantomWalletAdapter, SolflareWalletAdapter } from '@solana/wallet-adapter-wallets'
// 0. Set up Solana Adapter
const solanaWeb3JsAdapter = new SolanaAdapter({
wallets: [new PhantomWalletAdapter(), new SolflareWalletAdapter()]
})
// 1. Get projectId from https://cloud.reown.com
const projectId = 'YOUR_PROJECT_ID'
// 2. Create a metadata object - optional
const metadata = {
name: 'Nova',
description: 'Nova',
url: 'https://novamarketplace.maticz.in/', // origin must match your domain & subdomain
icons: []
}
// 3. Create modal
createAppKit({
adapters: [solanaWeb3JsAdapter],
networks: [solana, solanaTestnet, solanaDevnet],
metadata: metadata,
projectId,
features: {
analytics: true // Optional - defaults to your Cloud configuration
}
})
this was my code i have folled the docs and created the project ID in reown dashboad and i have verify my urls also
but am facing this issue This Or code is not vaild . Try again or with another OR code
can anyone help me to solve this
Beta Was this translation helpful? Give feedback.
All reactions