从地址字符串的获取公钥对象
from solders.pubkey import Pubkey demo_pubkey = Pubkey.from_string("EBziZDuZwJNSMx57fZFqgzXVLssWZSLMQzweVkGzRdVv") print(demo_pubkey) # EBziZDuZwJNSMx57fZFqgzXVLssWZSLMQzweVkGzRdVv type: Pubkey