kevinheavey / solders

A high-performance Python toolkit for Solana, written in Rust
https://kevinheavey.github.io/solders/
Apache License 2.0
205 stars 23 forks source link

from solders.pubkey import Pubkey #78

Closed MarianoAkaMery closed 7 months ago

MarianoAkaMery commented 8 months ago

i'm not able to use from solders.pubkey import Pubkey

any reason why'

I installed it using pip install solders

kevinheavey commented 8 months ago

What error message do you get?

MarianoAkaMery commented 8 months ago

image

I just don't get any library when installing it

MarianoAkaMery commented 8 months ago

pip install solders Requirement already satisfied: solders in c:\users\mariano\appdata\local\packages\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\localcache\local-packages\python311\site-packages (0.19.0) Requirement already satisfied: typing-extensions>=4.2.0 in c:\users\mariano\appdata\local\packages\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\localcache\local-packages\python311\site-packages (from solders) (4.8.0) Requirement already satisfied: jsonalias==0.1.1 in c:\users\mariano\appdata\local\packages\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\localcache\local-packages\python311\site-packages (from solders) (0.1.1)

kevinheavey commented 8 months ago

Is the error just in vscode? When you run the code does it run fine? There's a problem with Pylance where it complains about not being able to find Python source files (because there are none), but otherwise works properly

MarianoAkaMery commented 8 months ago

WebSocket error: String is the wrong size

ok yes is working, idkn why when copy and paste a public key or something it gets decoded by something, literally need to type manual adress and don't know why ahaha

but yeah it works