Skip to main content
0 votes
0 answers
77 views

I've been trying to transfer SPL Tokens (Solana Mainnet) but I've not been able to do it yet... def send_tokens(payer_keypair, mint_str: str, recipient_address: str, percentage: int = 100) -> bool: ...
Jorge Borges's user avatar
0 votes
0 answers
289 views

I’m working with a public GitHub repo (you can find it here: https://github.com/AL-THE-BOT-FATHER/raydium_py) that interacts with the Raydium decentralized exchange using Python. I’m trying to fetch ...
Christopherus's user avatar
5 votes
1 answer
1k views

I’m working with the Solana blockchain in Python and trying to decode the binary data returned from an account request (Raydium pool). When I request account information with: from solana.rpc.api ...
SerhiK's user avatar
  • 51
1 vote
0 answers
439 views

I generated this code with Gemini but it doesnt work. I want get list of tokens in wallet on Solana with their amount, what should i do? I want python code. import requests from solana.rpc.api import ...
First voyager's user avatar
1 vote
0 answers
802 views

I'm working on a project where I need to retrieve the oldest transaction signature for a given Solana address. However, I'm facing a challenge when dealing with addresses that have billions of ...
Syntax Surge's user avatar
5 votes
3 answers
21k views

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 ...
Kurt's user avatar
  • 63
1 vote
2 answers
3k views

I'm trying to authenticate users via the phantom wallet but I cannot verify the signature on the backend. Here's my frontend code: const response = await solana.connect(); console.log("wallet ...
Nika110's user avatar
  • 39
0 votes
2 answers
5k views

So I am working on a script that transfers tokens (custom-made tokens not owned by me) from my wallet to another in python using solana.py. How do I go about doing that? (By tokens I mean, tokens like ...
Rudra Lakhani's user avatar
4 votes
1 answer
2k views

I need to listen for new transactions(solana transfers) on a certain wallet, from python code from these transactions I need to take the sender's wallet and how many solans were transferred also i ...
RomanGodMode's user avatar
1 vote
1 answer
900 views

I'm building a program to co-sign transaction on solana. The sign mechanism works, but now I'm trying to extract the account data length from a transaction that I'm receiving, because I want to ...
alessandro buffoli's user avatar
-1 votes
1 answer
551 views

i'm trying to send an spl-token transaction but it's not working, it's a transacion on the devnet with a token that i newly created, my code is from spl.token.instructions import transfer, ...
AD DAB's user avatar
  • 60
1 vote
1 answer
2k views

I am using Python v3.7 + solana v0.21.0 and trying to create a websocket manager handling several different subscriptions, but the code seems to block whenever websocket.recv() or asyncstdlib....
Ander's user avatar
  • 5,754