Comments (6)
@Adamj1232 @aaronbarnardsound @leightkt can you please help with this issue?
from web3-onboard.
@Adamj1232 @aaronbarnardsound @leightkt @charlie-kim Wondering if theres been an update. We're seeing this exact error too.
from web3-onboard.
@charlie-kim I am unable to reproduce with our examples. Can you try removing a couple of the init options down to only the projectId
as seen here https://github.com/blocknative/react-demo/blob/66f1f388c0af2eafcb37d4e47e3b0c9bf3c297b2/src/services.js#L105 this is also deployed at https://reactdemo.blocknative.com/ if you would like to test there.
Is your Allow Domains on the cloud.walletconnect setting using a full path and no *
s?
from web3-onboard.
@Adamj1232 I am not sure how you were able to run with just projectId
option. I am getting typescript error below with projectId
only.
Argument of type '{ projectId: string; }' is not assignable to parameter of type 'LedgerOptions | undefined'.
Property 'walletConnectVersion' is missing in type '{ projectId: string; }' but required in type 'LedgerOptionsWCv2'.ts(2345)
Allowed Domains for walletconnect project is set using *
as below. I am not sure that's the problem though.
https://.raincards.xyz
https://.api.live.ledger.com
Also, I talked to ledger support. They have no idea what https://proxyseg.api.live.ledger.com//v1/projects
URL is and why web3-onboard
is making request to it. Do you know?
from web3-onboard.
Hey @charlie-kim @Adamj1232 @hnbt,
The call to 'https://proxyseg.api.live.ledger.com//v1/projects/XXX/settings' was made by the ledger-connect-kit and was used by the segment library in there to route analytics data.
It was documented here
In the latest version of this connect-kit (starting at 1.1.11), the whole analytics part of the package was removed to remove potential attack vectors. It thus removes the need to setup any CSP, and should fix those CORS issues.
Note that for security reasons, the connect-kit-loader is now deprecated and only loads the connect-kit version 1.1.8.
To that end, I've opened a PR that uses the latest (1.1.12) connect-kit directly from the package manager and removes the use of the connect-kit-loader
from web3-onboard.
Thanks @Wozacosta for your input. I should try when the PR is merged.
from web3-onboard.
Related Issues (20)
- Documentation mention wrong package `@web3-onboard/injected` HOT 4
- [Feature]: eip1271
- [BUG]: Event when user disconnects all wallets HOT 2
- [Feature]: Compatibility with Flutter
- thanks
- [Feature]: ALI Token Support
- connectWallet with autoSelect disables all wallets list
- [Feature]: Bloom Wallet Integration HOT 1
- curl -X GET "https://api.w3.org/ecosystems" -H "accept: application/json"
- WalletConnect not working with my custom evm chain
- Impossible to use transaction-preview package
- Bug: (SSR) Warning: Extra attributes from the server: style
- web3 onboard vue version can't get provider value HOT 9
- Message signing for fox wallet HOT 2
- a disconnect error by default value or other reason can not set local storage HOT 13
- Safe integration does not work on https://app.safe.global with @web3-onboard/gnosis HOT 5
- Add chain method if chain is not available HOT 1
- connect({}) throws runtime error, yet compiles according to type system HOT 2
- web3auth provider not changing chains when calling `switchChain`, but `connectedChain` does HOT 3
- accountSelect should throw if rpcUrl is missing in chainValidation (hw-common)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from web3-onboard.