-
Notifications
You must be signed in to change notification settings - Fork 359
Add SolDecimals constants #293
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mhughdo
added a commit
to mhughdo/solana-go
that referenced
this pull request
Apr 19, 2025
* Is the message resolved? * Update README.md * fix panic (gagliardetto#218) * Cleanup * Fix order of signatures in PartialSign function (gagliardetto#225) Co-authored-by: Vincent <VincentDebug@users.noreply.github.com> * tag v1.11.0 * fix: Add `ShortID` option for some WebSocket RPC which not support int63/uint64 ID (gagliardetto#179) * Update README.md (gagliardetto#195) fix processTransactionWithAddressLookups usage * fix: check if the channel is closed before returning ws.result (gagliardetto#198) * fix pointer dereference partially (gagliardetto#201) * Subscribe block (gagliardetto#203) * update * udpate * update * updat * update * update * update * add stack height to inner instruction (gagliardetto#227) * memory leak in ws client (gagliardetto#228) * add stake program (gagliardetto#235) * Added memo program support (gagliardetto#240) * Fix PublicKey's UnmarshalBSONValue method (gagliardetto#242) * bump mongo-driver to v1.12.2 * fix PublicKey's UnmarshalBSONValue method * RPC: Add MinContextSlot to GetMultipleAccountsWithOpts (gagliardetto#245) * Fix missing key checks * Cleanup * add version and add program id in TokenBalance type (gagliardetto#253) Co-authored-by: Dodi Pluto <dodi.triwibowo@pluto.so> * add ctx to Recv (gagliardetto#259) * Method to get the marketAuthority(PDA) from the Market Initialization (gagliardetto#247) Reference: https://github.com/raydium-io/raydium-sdk/blob/f4b7f47e744c12a8b0119b85e16d0d8274aa5ba9/src/serum/serum.ts#L41 * Update examples to use `GetLatestBlockhash` instead of `GetRecentBlockhash` * Go 1.19 or later * Cleanup * v1.12.0 * Fix nil pointer dereference in GetBinary (Fixes gagliardetto#264) (gagliardetto#265) * Fix nil pointer dereference in GetBinary (Fixes gagliardetto#264) * fixed DataBytesOrJson nil check --------- Co-authored-by: sina haseli <s.haseli@wallex.net> * Add address lookup table program id (gagliardetto#266) * Add `tx.IsVote() bool` method * Add `rpc.CompiledInstruction{}` type so that we can add to it the `StackHeight` field without touching the `solana.CompiledInstruction` type. * Added version information in MarshalWithEncoder, UnmarshalWithDecoder methods of GetTransactionResult (gagliardetto#275) * Fix: UnmarshalWithDecoder method reciever type in GetParsedTransactionResult * Added version information in MarshalWithEncoder, UnmarshalWithDecoder methods of GetTransactionResult * Add number of reward partitions field to getBlock response (gagliardetto#263) * Add field to the accountInfo struct and correct the WebSocket accountInfo definition (gagliardetto#261) Co-authored-by: Hunter <hunter.wu@herewebit.com> * Add SolDecimals constants (gagliardetto#293) * feat: add transaction signature subscribe (#1) * fix: correct TransactionSignatureResult struct * feat: allow apps to create solana client with custom http client (#2) * feat: change the return type of transactionSubscribe (#3) * feat: add Associated Token Account Program: CreateIdempotent instruction (#4) * fix: nil pointer err in decodeResponseFromMessage * feat: reduce stream and err buffers * feat: increase s.stream channel size * Expose WSClient's RPCUrl (#5) * Is the message resolved? * Update README.md * fix panic (gagliardetto#218) * Cleanup * Fix order of signatures in PartialSign function (gagliardetto#225) Co-authored-by: Vincent <VincentDebug@users.noreply.github.com> * tag v1.11.0 * feat: add transaction signature subscribe (#1) * fix: correct TransactionSignatureResult struct * feat: allow apps to create solana client with custom http client (#2) * feat: change the return type of transactionSubscribe (#3) * feat: add Associated Token Account Program: CreateIdempotent instruction (#4) * fix: nil pointer err in decodeResponseFromMessage * feat: reduce stream and err buffers * feat: increase s.stream channel size * feat: expose wsclient RPCUrl --------- Co-authored-by: gagliardetto <gagliardetto@users.noreply.github.com> Co-authored-by: 时小光 <abcdsxg@gmail.com> Co-authored-by: Vincent <5889406+VincentDebug@users.noreply.github.com> Co-authored-by: Vincent <VincentDebug@users.noreply.github.com> * feat: handle HeliusWS error (#6) * feat: add slot field to TransactionSignatureResult (#7) * fix: correct the order of Slot field in TransactionSignatureResult * Add provider parameter to TransactionSignatureSubscribe --------- Co-authored-by: gagliardetto <gagliardetto@users.noreply.github.com> Co-authored-by: 时小光 <abcdsxg@gmail.com> Co-authored-by: Vincent <5889406+VincentDebug@users.noreply.github.com> Co-authored-by: Vincent <VincentDebug@users.noreply.github.com> Co-authored-by: 吴狗蛋 <155265132+GoudanWoo@users.noreply.github.com> Co-authored-by: taobig <studentht@hotmail.com> Co-authored-by: 0xcary <0xcary.web3@gmail.com> Co-authored-by: blockchain-develop <43429291+blockchain-develop@users.noreply.github.com> Co-authored-by: Sebastian Kałużny <skaluzny12@gmail.com> Co-authored-by: Kurtis Streutker <kurtisstreutker@gmail.com> Co-authored-by: Conor Patrick <conor@cordialsystems.com> Co-authored-by: Plamen Hristov <phristov@blocksoft.ltd> Co-authored-by: Gaurav Dhiman <newmanifold000@gmail.com> Co-authored-by: bruce-riley <96066700+bruce-riley@users.noreply.github.com> Co-authored-by: Dodi Triwibowo <silveriuz16@gmail.com> Co-authored-by: Dodi Pluto <dodi.triwibowo@pluto.so> Co-authored-by: boolangery <eliott.dumeix@gmail.com> Co-authored-by: André Martins <andmart@gmail.com> Co-authored-by: sina haseli <sina.haseli@gmail.com> Co-authored-by: sina haseli <s.haseli@wallex.net> Co-authored-by: Patryk Lewandowski <patryk.jan.lewandowski@gmail.com> Co-authored-by: Owen Jacob <owenjj@gmail.com> Co-authored-by: Hunter Wu <wmh@users.noreply.github.com> Co-authored-by: Hunter <hunter.wu@herewebit.com>
mhughdo
added a commit
to mhughdo/solana-go
that referenced
this pull request
Apr 19, 2025
* Is the message resolved? * Update README.md * fix panic (gagliardetto#218) * Cleanup * Fix order of signatures in PartialSign function (gagliardetto#225) Co-authored-by: Vincent <VincentDebug@users.noreply.github.com> * tag v1.11.0 * fix: Add `ShortID` option for some WebSocket RPC which not support int63/uint64 ID (gagliardetto#179) * Update README.md (gagliardetto#195) fix processTransactionWithAddressLookups usage * fix: check if the channel is closed before returning ws.result (gagliardetto#198) * fix pointer dereference partially (gagliardetto#201) * Subscribe block (gagliardetto#203) * update * udpate * update * updat * update * update * update * add stack height to inner instruction (gagliardetto#227) * memory leak in ws client (gagliardetto#228) * add stake program (gagliardetto#235) * Added memo program support (gagliardetto#240) * Fix PublicKey's UnmarshalBSONValue method (gagliardetto#242) * bump mongo-driver to v1.12.2 * fix PublicKey's UnmarshalBSONValue method * RPC: Add MinContextSlot to GetMultipleAccountsWithOpts (gagliardetto#245) * Fix missing key checks * Cleanup * add version and add program id in TokenBalance type (gagliardetto#253) Co-authored-by: Dodi Pluto <dodi.triwibowo@pluto.so> * add ctx to Recv (gagliardetto#259) * Method to get the marketAuthority(PDA) from the Market Initialization (gagliardetto#247) Reference: https://github.com/raydium-io/raydium-sdk/blob/f4b7f47e744c12a8b0119b85e16d0d8274aa5ba9/src/serum/serum.ts#L41 * Update examples to use `GetLatestBlockhash` instead of `GetRecentBlockhash` * Go 1.19 or later * Cleanup * v1.12.0 * Fix nil pointer dereference in GetBinary (Fixes gagliardetto#264) (gagliardetto#265) * Fix nil pointer dereference in GetBinary (Fixes gagliardetto#264) * fixed DataBytesOrJson nil check --------- Co-authored-by: sina haseli <s.haseli@wallex.net> * Add address lookup table program id (gagliardetto#266) * Add `tx.IsVote() bool` method * Add `rpc.CompiledInstruction{}` type so that we can add to it the `StackHeight` field without touching the `solana.CompiledInstruction` type. * Added version information in MarshalWithEncoder, UnmarshalWithDecoder methods of GetTransactionResult (gagliardetto#275) * Fix: UnmarshalWithDecoder method reciever type in GetParsedTransactionResult * Added version information in MarshalWithEncoder, UnmarshalWithDecoder methods of GetTransactionResult * Add number of reward partitions field to getBlock response (gagliardetto#263) * Add field to the accountInfo struct and correct the WebSocket accountInfo definition (gagliardetto#261) Co-authored-by: Hunter <hunter.wu@herewebit.com> * Add SolDecimals constants (gagliardetto#293) * feat: add transaction signature subscribe (#1) * fix: correct TransactionSignatureResult struct * feat: allow apps to create solana client with custom http client (#2) * feat: change the return type of transactionSubscribe (#3) * feat: add Associated Token Account Program: CreateIdempotent instruction (#4) * fix: nil pointer err in decodeResponseFromMessage * feat: reduce stream and err buffers * feat: increase s.stream channel size * Expose WSClient's RPCUrl (#5) * Is the message resolved? * Update README.md * fix panic (gagliardetto#218) * Cleanup * Fix order of signatures in PartialSign function (gagliardetto#225) Co-authored-by: Vincent <VincentDebug@users.noreply.github.com> * tag v1.11.0 * feat: add transaction signature subscribe (#1) * fix: correct TransactionSignatureResult struct * feat: allow apps to create solana client with custom http client (#2) * feat: change the return type of transactionSubscribe (#3) * feat: add Associated Token Account Program: CreateIdempotent instruction (#4) * fix: nil pointer err in decodeResponseFromMessage * feat: reduce stream and err buffers * feat: increase s.stream channel size * feat: expose wsclient RPCUrl --------- Co-authored-by: gagliardetto <gagliardetto@users.noreply.github.com> Co-authored-by: 时小光 <abcdsxg@gmail.com> Co-authored-by: Vincent <5889406+VincentDebug@users.noreply.github.com> Co-authored-by: Vincent <VincentDebug@users.noreply.github.com> * feat: handle HeliusWS error (#6) * feat: add slot field to TransactionSignatureResult (#7) * fix: correct the order of Slot field in TransactionSignatureResult * Add provider parameter to TransactionSignatureSubscribe --------- Co-authored-by: gagliardetto <gagliardetto@users.noreply.github.com> Co-authored-by: 时小光 <abcdsxg@gmail.com> Co-authored-by: Vincent <5889406+VincentDebug@users.noreply.github.com> Co-authored-by: Vincent <VincentDebug@users.noreply.github.com> Co-authored-by: 吴狗蛋 <155265132+GoudanWoo@users.noreply.github.com> Co-authored-by: taobig <studentht@hotmail.com> Co-authored-by: 0xcary <0xcary.web3@gmail.com> Co-authored-by: blockchain-develop <43429291+blockchain-develop@users.noreply.github.com> Co-authored-by: Sebastian Kałużny <skaluzny12@gmail.com> Co-authored-by: Kurtis Streutker <kurtisstreutker@gmail.com> Co-authored-by: Conor Patrick <conor@cordialsystems.com> Co-authored-by: Plamen Hristov <phristov@blocksoft.ltd> Co-authored-by: Gaurav Dhiman <newmanifold000@gmail.com> Co-authored-by: bruce-riley <96066700+bruce-riley@users.noreply.github.com> Co-authored-by: Dodi Triwibowo <silveriuz16@gmail.com> Co-authored-by: Dodi Pluto <dodi.triwibowo@pluto.so> Co-authored-by: boolangery <eliott.dumeix@gmail.com> Co-authored-by: André Martins <andmart@gmail.com> Co-authored-by: sina haseli <sina.haseli@gmail.com> Co-authored-by: sina haseli <s.haseli@wallex.net> Co-authored-by: Patryk Lewandowski <patryk.jan.lewandowski@gmail.com> Co-authored-by: Owen Jacob <owenjj@gmail.com> Co-authored-by: Hunter Wu <wmh@users.noreply.github.com> Co-authored-by: Hunter <hunter.wu@herewebit.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.