ctycode

Results 13 comments of ctycode

> 示例中的optionKeywords.html无法显示该怎么办呢? 报什么错误?报错发出来

建议Google搜索 ‘[通过宝塔溯源](https://hostloc.com/thread-1029023-1-1.html)‘,’取保候审’ 你就知道你的信息有没有被上传了

> Please try following this example here for now: > > https://github.com/michaelhly/solana-py/blob/815802fbfa6fa5f7c5c1ab1c481b7a7ce3666b2e/tests/integration/test_token_client.py#L110 > > I will try to create some new documentation on this.. Okay,so Where is the token written?...

> solana-py/spl/token/client.py Hi,I read docs but I don't understand, if I transfer USDC to another address ``` class TransferParams(NamedTuple): """Transfer token transaction params.""" program_id: PublicKey """SPL Token program account.""" source:...

> ```python > from solana.publickey import PublicKey > from solana.account import Account > from solana.rpc.api import Client > from spl.token.client import Token > from spl.token.contstants import TOKEN_PROGRAM_ID > > payer...

> ```python > from solana.publickey import PublicKey > from solana.account import Account > from solana.rpc.api import Client > from spl.token.client import Token > from spl.token.contstants import TOKEN_PROGRAM_ID > > payer...

> Can you post your code? This is my code ``` sender = Account(bytes(sender[:32])) usdc_mint = PublicKey(base58.b58decode("2wmVCSfPxGPjrnMMn7rchp4uaeoTqN39mXFC2zhPdri9")) # Public key of the usdc mint conn = Client("https://solana-api.projectserum.com") usdc_token_client = Token(conn,...

> Use this method to create an account first: > https://michaelhly.github.io/solana-py/spl.html#spl.token.client.Token.create_account Okay, I change my code: ``` sender = Account(bytes(sender[:32])) usdc_mint = PublicKey(base58.b58decode("2wmVCSfPxGPjrnMMn7rchp4uaeoTqN39mXFC2zhPdri9")) # Public key of the usdc mint...