Javascript – Solana swap has a very low success rate
I am trying to do a simple swap on Solana block chain and I have tried both Alchemy and Quicknode but the success rate of my swap is very low.. 2 out of three times it fails and I cant…
I am trying to do a simple swap on Solana block chain and I have tried both Alchemy and Quicknode but the success rate of my swap is very low.. 2 out of three times it fails and I cant…
At the execution stage of function createInitializeInstruction I receive an error: Error creating token for Token2022Form: TypeError: Cannot read properties of undefined (reading 'call') at Hash.CipherBase (index.js:7:1) at new Hash (browser.js:9:1) at createHash (browser.js:29:1) at splDiscriminate (splDiscriminate.ts:4:1) at createInitializeInstruction (instruction.ts:51:1)…
I tried to build my project anchor build but I got $ Error: IDL doesn't exist target/idl/ and target/types/ were generated but they were empty. Then I tried anchor clean , anchor build. The same. Then I tried anchor idl…
I'm developing a tracking script using Python and the Solana.py, installed via pip. The script uses websocket subscriptions to notify me when something happens on the Solana blockchain. My first approach was to watch a specific account: await websocket.account_subscribe(PublicKey('somekeyhere')) But…
I try to get Solana Nfts for owner with Metaplex Javascript SDK but the request gives me the following response: Error: 410 Gone: {"jsonrpc":"2.0","error":{"code": 410, "message":"The RPC call or parameters have been disabled."} I use React-js framework with hooks. I…
I created my Solana token on Ubuntu. I now want to send my newly created token and some remaining SOL to my Phantom wallet Devnet. How do I do that?
I'd like to add WebSocket URL as: http://0.0.0.0:8900 So I typed solana config get to get the location of config.yaml file. Then changed the WebSocket URL as followed above, however, after restarting the node and the server http://0.0.0.0:8900 is not…