-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
token-js: Add TokenGroup support #6175
Comments
As mentioned in #6175, the `GroupPointer` extension is live on Token-2022 mainnet-beta, but it's not currently supported in the `@solana/spl-token`. This change adds that support!
As mentioned in #6175, and building on the previous PR, the `GroupMemberPointer` extension is live on Token-2022 mainnet-beta. This change adds support for `GroupMemberPointer` in `@solana/spl-token`!
The pointers have been added! Now we just need support for the Token Group interface, similarly to Token Metadata, by making use of the existing |
I can add that! |
Hello there, i'm having an issue and after googling my error i landed here.
`✔ Vite server hmr 9 files in 19.54ms WARN [Vue Router warn]: uncaught error during route navigation: ERROR The requested module '@solana/spl-token-group' does not provide an export named 'TOKEN_GROUP_MEMBER_SIZE' TOKEN_GROUP_MEMBER_SIZE, SyntaxError: The requested module '@solana/spl-token-group' does not provide an export named 'TOKEN_GROUP_MEMBER_SIZE' WARN [Vue Router warn]: uncaught error during route navigation: ERROR The requested module '@solana/spl-token-group' does not provide an export named 'TOKEN_GROUP_MEMBER_SIZE' TOKEN_GROUP_MEMBER_SIZE, SyntaxError: The requested module '@solana/spl-token-group' does not provide an export named 'TOKEN_GROUP_MEMBER_SIZE' WARN Cannot stringify arbitrary non-POJOs SyntaxError ✘ [ERROR] No matching export in "node_modules/@solana/spl-token-group/lib/esm/index.js" for import "TOKEN_GROUP_SIZE"
✘ [ERROR] No matching export in "node_modules/@solana/spl-token-group/lib/esm/index.js" for import "TOKEN_GROUP_MEMBER_SIZE"
✘ [ERROR] No matching export in "node_modules/@solana/spl-token-group/lib/esm/index.js" for import "TOKEN_GROUP_SIZE"
✘ [ERROR] No matching export in "node_modules/@solana/spl-token-group/lib/esm/index.js" for import "TOKEN_GROUP_MEMBER_SIZE"
✘ [ERROR] No matching export in "node_modules/@solana/spl-token-group/lib/esm/index.js" for import "TOKEN_GROUP_SIZE"
✘ [ERROR] No matching export in "node_modules/@solana/spl-token-group/lib/esm/index.js" for import "TOKEN_GROUP_MEMBER_SIZE"
ERROR error while updating dependencies: 3:50:40 PM |
@ErwanTouba Thanks for reporting. Solution was published. |
Problem
The TokenGroup, TokenGroupMember, GroupPointer, and GroupMemberPointer extensions are all in the token-2022 program, and the two pointer extensions are live on all networks, but they aren't supported in
@solana/spl-token
.The
TokenGroup
andTokenGroupMember
have a JS library at https://github.com/solana-labs/solana-program-library/tree/master/token-group/jsProposed Solution
Similar to #5667, add support for these extensions by incorporating
@solana/spl-token-group
into@solana/spl-token
The text was updated successfully, but these errors were encountered: