Hello guys,
Currently, Iâm using your NFT market Place boilerplate but as per my requirement I want to add a feature for the multi-wallet support so I tried to use Wallet Connect with react-Moralis but getting some issues could you help me with the same?
1. getting the CORS error while connected to the Wallet Connect.
https://speedy-nodes-nyc.moralis.io/WalletConnect/eth/goerli
curl 'https://speedy-nodes-nyc.moralis.io/WalletConnect/eth/goerli' \
-H 'sec-ch-ua: "Not_A Brand";v="99", "Google Chrome";v="109", "Chromium";v="109"' \
-H 'sec-ch-ua-platform: "Linux"' \
-H 'Referer: http://localhost:5000/' \
-H 'sec-ch-ua-mobile: ?0' \
-H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36' \
-H 'Content-Type: application/json' \
--data-raw '{"jsonrpc":"2.0","id":1,"method":"eth_blockNumber","params":[],"skipCache":true}' \
--compressed```
**2. For wallet Connect I'm using provider 'walletconnect' in Moralise.**
const walletConnect = async()=>{
let web3;
const user = await Moralis.authenticate({ provider: âwalletconnectâ});
web3 = await Moralis.enable({ provider: âwalletconnectâ });
console.log("==================================",user, " web=",web3)
// authenticate({provider:âwalletconnectâ})
}
**After using the Moralis.authenticate({ provider: "walletconnect"}); I'm able to connect the wallet connect but after it, I'm not getting any popup for sign the transaction via my mobile app**