Skip to content

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 1 commit into from
Mar 14, 2025
Merged

Add SolDecimals constants #293

merged 1 commit into from
Mar 14, 2025

Conversation

taobig
Copy link
Contributor

@taobig taobig commented Feb 28, 2025

No description provided.

@gagliardetto gagliardetto merged commit ca3f5f6 into gagliardetto:main Mar 14, 2025
12 checks passed
@taobig taobig deleted the patch-2 branch March 15, 2025 15:22
@taobig taobig restored the patch-2 branch March 15, 2025 15:22
@taobig taobig deleted the patch-2 branch March 15, 2025 15:22
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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants