Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options questions only not deleted user 806
2 votes
2 answers
1k views

Best way to "monitor" the Solana blockchain? [closed]

on what we are doing here: https://www.daoplays.org/blog/solana_streamer, with example code on our github repo (https://github.com/daoplays/solana_examples/tree/master/solana_streamer/) which has the python
daoplays's user avatar
  • 597
2 votes
2 answers
755 views

python find_program_address, how to covert a pubkey to a byte array as in rust?

In python, I am trying to use https://michaelhly.github.io/solana-py/ but PubKey doesn't have a to_bytes method, and i'm not really sure what to do to be able to get the same program address as I would …
daoplays's user avatar
  • 597
6 votes
1 answer
530 views

Solana JSON RPC error 32015: Transaction version (0) not supported

The request is: [{'jsonrpc': '2.0', 'id': 1, 'method': 'getBlock', 'params': [150059418, {'encoding': 'json', 'transactionDetails': 'full', 'rewards': False}]}] I'm using the python requests module to …
daoplays's user avatar
  • 597
0 votes
2 answers
104 views

accessing security.txt from python

I can see the solana python library includes the parsing functionality for this, but I have no idea how to get to the program data from within python. … ("{}", security_txt); but in python I really have no idea how to do all this stuff.. has anyone been able to do this? Thanks …
daoplays's user avatar
  • 597