michaelhly / solana-py

Solana Python SDK

Home Page:https://michaelhly.github.io/solana-py

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how to export privatekey?

viponedream opened this issue · comments

it look not good.

kp = Keypair()
sec = kp.secret()
b = base58.b58encode(sec)
print(b)