web3sp / venom-connect Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Hy cam Describe the bug
Venom Connect config
To Reproduce
Expected behavior
Screenshots
If applicable, add screenshots to help explain your problem.
Device (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
Hello venom team, this is not an issue, I need your help,
I was wondering how I can verify a signature in the backend that comes from the client,
in the inpage provider playground I found that there's a way to do it, but venom needs to be initalized, how can we handle this on the backend? I would appreciate your help, thanks in advance
Describe the bug
When connecting my venom wallet to the site, it comes up with 'Waiting for an action in the extension window but nothing ever shows up.
To Reproduce
Open up https://venom.network/tasks
Have venom wallet open
Click on 'Connect wallet'
Click on 'Venom Chrome Extension'
Pop up shows up with 'Waiting for an action in the extension window'
Nothing happens
Expected behavior
I would expect a pop-up to show up allowing me to confirm the transaction
Screenshots
If applicable, add screenshots to help explain your problem.
Device (please complete the following information):
Additional context
Add any other context about the problem here.
Describe the bug
the event "extension-window-closed" is not fired, when I close the extension before completing the authorization
Venom Connect config
this.venomConnect = new VenomConnect({
theme: "dark",
checkNetworkId: 1000,
providersOptions: {
venomwallet: {
walletWaysToConnect: [
{
package: ProviderRpcClient,
packageOptions: {
fallback:
VenomConnect.getPromise("venomwallet", "extension") ||
// eslint-disable-next-line prefer-promise-reject-errors
(() => Promise.reject()),
forceUseFallback: true,
},
// packageOptionsStandalone: {
// fallback: standaloneFallback,
// forceUseFallback: true,
// },
// Setup
id: "extension",
type: "extension",
},
],
defaultWalletWaysToConnect: ["mobile", "ios", "android"],
},
},
});
To Reproduce
this.venomConnect.on("extension-window-closed", async () => {
console.log("extension closed");
});
Expected behavior
to fire the event when a user closes the wallet
Device (please complete the following information):
Describe the bug
Venom Connect config
To Reproduce
Expected behavior
Screenshots
If applicable, add screenshots to help explain your problem.
Device (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
I am working on verifying wallet signatures in our backend. Signatures signed using Android Venom wallet are not getting verified with everscale-inpage-provider on backend. The same code base works when using Chrome extension for venom wallet. Any help. Is this a known issue with Venom wallet?
here's is my code for frontend:
const submitWallet = async () => {
console.log(new Address(address));
const providerState = await venomProvider?.getProviderState?.();
console.log(providerState?.permissions);
const publicKey = providerState?.permissions.accountInteraction?.publicKey;
console.log(publicKey);
try {
const base64 = btoa(
JSON.stringify({
walletAddress: address,
}),
);
const sign = await venomProvider.signDataRaw({ data: base64, publicKey });
dispatch(SubmitWallet({ publicKey, base64, signature: sign.signature }));
} catch (errr) {
console.log(errr);
}
};
and my backend code:
const { publicKey, base64, signature } = req.body;
const verificaiton = await ever.verifySignature({
publicKey,
dataHash: base64,
signature: signature,
});
if (!verificaiton.isValid) {
return res.status(403).json({
error: "Signature is not valid",
});
}
Describe the bug
Venom Connect config
To Reproduce
Expected behavior
Screenshots
If applicable, add screenshots to help explain your problem.
Device (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
Hy cam Describe the bug
Venom Connect config
To Reproduce
Expected behavior
Screenshots
If applicable, add screenshots to help explain your problem.
Device (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
Describe the bug
Venom Connect config
To Reproduce
Expected behavior
Screenshots
If applicable, add screenshots to help explain your problem.
Device (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
Describe the bug
Venom Connect config
To Reproduce
Expected behavior
Screenshots
If applicable, add screenshots to help explain your problem.
Device (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
Successfully integrated venom connect on my next app
But could not get the balance of the wallet address
Describe the bug
Venom Connect config
To Reproduce
Expected behavior
Screenshots
If applicable, add screenshots to help explain your problem.
Device (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
Hey,
I am having issue using this library when i try to build my code with nextJS, it returns the following error: ".next/server/chunks/nekoton_wasm_bg.wasm'"
Any idea, how to work with Nekoton and NextJS ?
Describe the bug
A clear and concise description of what the bug is.
Venom Connect config
Share your venom-connect configuration in code block
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
In the file venom-connect/src/controllers/ProviderController.ts:39, set the value of the variable nTries > 0, such as 4. Alternatively, pass the value of nTries as a parameter when calling VenomConnect.getPromise() or another idea.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.