Michael Huang

Results 84 comments of Michael Huang

Modify the following two methods to allow for `token_program_id` as an argument: - https://github.com/michaelhly/solana-py/blob/7f2f3cb8e4028cddc5d550e39f66e031942a9884/src/spl/token/instructions.py#L1227 - https://github.com/michaelhly/solana-py/blob/7f2f3cb8e4028cddc5d550e39f66e031942a9884/src/spl/token/instructions.py#L1214

No. We want the following account metadata to be either `TOKEN_PROGRAM_ID` or `TOKEN_2022_PROGRAM_ID`: https://github.com/michaelhly/solana-py/blob/7f2f3cb8e4028cddc5d550e39f66e031942a9884/src/spl/token/instructions.py#L1241 Also here: https://github.com/michaelhly/solana-py/blob/7f2f3cb8e4028cddc5d550e39f66e031942a9884/src/spl/token/instructions.py#L1221

Do you have docker running? The integration tests first send health checks to your local solana node: https://github.com/michaelhly/solana-py/blob/27a3468c04ed7a1ebd64be7f6d7fcd69d9dde2cc/tests/conftest.py#L139-L140 If it can't reach it, it'll hang for 15 seconds and then...

You can use the core provider module: https://michaelhly.com/solana-py/rpc/providers/