Comments (5)
btw, even if i connect to a diff solana wallet I still get the same error.
from wallet-adapter.
Looks like this is not being satisfied
const handleMainButtonClick = async () => {
if (isConnected && publicKey) {
leading to this
} else {
setIsModalOpen(true);
}
which then in turns opens your Modal here
const WalletConnectModal = ({ isOpen, onRequestClose }) => {
return (
<button onClick={onRequestClose}style={{textAlign:'right'}}>❌
<h2 style={{textAlign:'center'}}>Connect Your Wallet
<WalletMultiButton style = {{marginLeft:'55px'}} />
</Modal>
);
};
I didn't have a look through the logic of the transactions but at the moment when you press the transaction button you're just opening the modal because isConnected and publicKey are not satisfied so we never reach the transaction code. Log both just inside the handleMainButtonClick before the if statement and see what they are logging should be a simple fix to move forward.
from wallet-adapter.
from wallet-adapter.
Hi @keolamation,
Thanks for your question!
We want to make sure to keep signal strong in the GitHub issue tracker – to make sure that it remains the best place to track issues that affect the development of Wallet Adapter itself.
Questions like yours deserve a purpose-built Q & A forum. Unless there exists evidence that this is a bug with Wallet Adapter itself, please post your question to the Solana Stack Exchange using this link:
https://solana.stackexchange.com/questions/ask
This automated message is a result of having added the ‘question’ tag.
from wallet-adapter.
I'll be honest, this is why and I sware to god on this: If I ever become anyone influential I will do everything I can to make the general public aware of how AWEFUL Solana and Solana development is. This doesn't deserve the market cap it has. I haven't had any of my questions answered on Solana stack exchange and the actual devs just ban people and "move the issue" to be someone else's problem. The WORST blockchain, I've ever had the misfortune trying to develop on.
from wallet-adapter.
Related Issues (20)
- Module not found errors when trying to run packages/starter/create-react-app-starter HOT 2
- Sending transaction with devnet connection does not work with Solflare wallet HOT 3
- Firebase auth HOT 1
- Where to import useWalletMultiButton in CustomConnectButton HOT 1
- signMessage for Safepal HOT 1
- signMessage for Ledger HOT 1
- How do I remove the drop down menu from the walletmultibutton and get it to open a popup like on the demo link? HOT 1
- Phantom on mainnet mode successfully signAndSend transactions while app is using a testnet HOT 1
- signAndSendTransaction method not available HOT 1
- Pass the krypair of backend wallet as a Signer for the transaction
- Can the wallet plugin support ok and backpack? HOT 2
- localstorage sometimes behaves strangely HOT 1
- sendTransaction doesn't work with String data HOT 1
- Sending SPL token using getOrCreateAssociatedTokenAccount wallets without the token doesn't work HOT 2
- Request blocked Warning from phantom wallet HOT 1
- Error: Hydration failed because the initial UI does not match what was rendered on the server. HOT 2
- WalletSignTransactionError: Reached end of buffer unexpectedly HOT 1
- Detailed error messages on transaction sending
- TrustWallet - Cannot read properties of undefined (reading "serialize") 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 wallet-adapter.