solana-go-sdk
solana-go-sdk copied to clipboard
Solana Golang SDK
When creating a client to query the solana blockchain as below, can I create a new client for each request coming into my server or should I create just the...
Most of those who use the solana client in their projects need to cover the code with unit tests. To do this, there is a good solution to have a...
I hope that I only need the desktop sender's private key, the receiver's invoice, the sending amount, and the corresponding minting address to send the corresponding SPL, because I don't...
I have some questions about the following code: ```go // Serialize pack tx into byte array func (tx *Transaction) Serialize() ([]byte, error) { if len(tx.Signatures) == 0 || len(tx.Signatures) !=...
Hey guys. How i can add priority fee to transaction?
Is it possible to use this program to deploy a smart contract/program? Thanks.
The docs at https://yihau.gitbook.io/solana-go/tour/transfer-1 currently demonstrates token transfers using `system.transfer`, which is incorrect for token transfers. This method is appropriate for SOL transfers but not for other tokens. ## Current...
I keep encountering this error whenever I try to send transactions for creating associated token account ``` Error sending transaction: { "code":-32002, "message":"Transaction simulation failed: Error processing Instruction 0: incorrect...