Comments (7)
If you're using Next.js 13 and the app router, you'll need to dynamically import the library. E.g.
const init = async () => {
const { initVenomConnect } = await import("@/lib/venom"); // where your initVenomConnect code is, in this case lib/venom.ts
const venomConnect = await initVenomConnect();
setVenomConnect(venomConnect);
};
I didn't need to do this for pages router.
from venom-connect.
Hello, yes we know about problems with nekoton and next, but nekoton is not a part of that repository and project at all. You may address issue to standalone-client repo. If you will receive an answer from authors, kindly please put a link for the answer here π
from venom-connect.
Hello, @lisabeyy
I am also working with this library, I found a workaround, please check this issue on everscale-standalone-client repo
from venom-connect.
Hello, @lisabeyy I am also working with this library, I found a workaround, please check this issue on everscale-standalone-client repo
Might be a solution
from venom-connect.
Hello, @lisabeyy I am also working with this library, I found a workaround, please check this issue on everscale-standalone-client repo
Might be a solution
I don't think it's a solution, it is instead just a workaround, but ir works, howwever everscale-stand-alone package's mantainers should look for a solution, tho it is more related to nextJS and how it handles wasm files, but it should at least be mentioned on the documentation, so that other devs, don't waste time trying to find a solution.
from venom-connect.
Hello, @lisabeyy I am also working with this library, I found a workaround, please check this issue on everscale-standalone-client repo
Might be a solution
I don't think it's a solution, it is instead just a workaround, but ir works, howwever everscale-stand-alone package's mantainers should look for a solution, tho it is more related to nextJS and how it handles wasm files, but it should at least be mentioned on the documentation, so that other devs, don't waste time trying to find a solution.
Anyway, the problem is not about venom-connect, but about provider. Maintainer of provider has answered about including all wasm files in build...I think it will be better and more effective to work with this problem in the issues of provider repo...same for docs - it would be better to have such information there and here just to have a links
from venom-connect.
@Loque18 actually you could create a PR for README with your workaround....it would be good for community...at least developers could use it for now.
from venom-connect.
Related Issues (17)
- Not supported chrome-based browsers HOT 1
- I receive an error 'Venom wallet not found' when calling venomConnect?.checkAuth(). HOT 3
- Wallet balance HOT 1
- Chrome Extension Venom Wallet Not Connecting...[Bug] HOT 3
- [Bug] HOT 1
- [Bug] HOT 2
- How to verify a sinature on the backend (nodejs, typescript) ? Help requested HOT 2
- [Bug] HOT 1
- [Bug] Pop up won't show up HOT 2
- [Bug] HOT 1
- [Bug] HOT 1
- extension-window-closed event not fired[Bug]
- Wallet signature issue HOT 3
- [Bug] ? I canβt connect to mainnet HOT 3
- Vomen ardriop HOT 1
- [Bug] HOT 1
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 venom-connect.