\r\n\r\nFinally, we have an endpoint we can start to integrate multi-chain components.\r\n\r\nAt some point would be nice to have some component which would wrap and abstract the current endpoint in case we find Supabase is not sufficient for our case. \r\n\r\n\r\n## Endpoint\r\nFollow up what can be done with new endpoint\r\nIf anyone wants to play with that here is the URL\r\n\r\n```\r\nhttps://xtnvtbdyvpbbnonbbcif.supabase.co/graphql/v1\r\n```\r\n\r\nYou need to add `apiKey` header into your request. You can find the key in the discord group.\r\n\r\n\r\nSample Query\r\n```graphql\r\nquery findCollections {\r\n\tcollectionsCollection(first: 10) {\r\n\t\tedges {\r\n\t\t\tnode {\r\n\t\t\t\tname\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n}\r\n```\r\n\r\n\r\n## Tasks \r\n- https://github.com/kodadot/nft-gallery/issues/4865\r\n- https://github.com/kodadot/nft-gallery/issues/4617\r\n- https://github.com/kodadot/nft-gallery/issues/4380\r\n- https://github.com/kodadot/nft-gallery/issues/4618\r\n- https://github.com/kodadot/nft-gallery/issues/4073\r\n- https://github.com/kodadot/nft-gallery/issues/4275\r\n- https://github.com/kodadot/nft-gallery/issues/4753\r\n\r\nOnce all the above done \r\n- https://github.com/kodadot/nft-gallery/issues/4379\r\n\r\n## Ref\r\n- https://developers.cloudflare.com/d1/platform/client-api/\r\n- https://github.com/kodadot/nft-gallery/issues/1824",[3145,3148,3151,3154,3157],{"name":3146,"color":3147},"$$","0E8A16",{"name":3149,"color":3150},"p2","D4C5F9",{"name":3152,"color":3153},"A-search","FBCA04",{"name":3155,"color":3156},"chief","67EA1F",{"name":3158,"color":3153},"A-multi-chain",4257,"kodadot","nft-gallery","open","Enable Multi-chain capabilities in KodaDot","2023-03-15T14:49:24Z","https://github.com/kodadot/nft-gallery/issues/4257",0.7439674,{"description":3168,"labels":3169,"number":3170,"owner":3160,"repository":3171,"state":3162,"title":3172,"updated_at":3173,"url":3174,"score":3175},"Currently we show Kusama NFTs on Polkadot, \r\nWhich is not correct, the dummy hack would be that we make `/graphql` endpoint that would alwas return \r\n\r\n```json\r\n{\r\n \"data\": {}\r\n}\r\n```",[],131,"workers","Empty Squid worker","2023-07-31T12:49:36Z","https://github.com/kodadot/workers/issues/131",0.7526249,{"description":3177,"labels":3178,"number":3181,"owner":3160,"repository":3161,"state":3182,"title":3183,"updated_at":3184,"url":3185,"score":3186},"The following list of features should be available: \r\n- [ ] Create Class\r\n- [ ] Create NFT\r\n- [ ] View Collection\r\n- [ ] View NFT\r\n- [ ] View Collection List\r\n- [ ] View Profile\r\n- [ ] Can Transfer\r\n- [ ] Can Burn\r\n- [ ] Can Transfer Collection\r\n- [ ] Teleport ",[3179],{"name":3180,"color":3153},"A-statemine-ahk",1536,"closed","Tracking: Wen Statemine ","2021-12-24T11:38:50Z","https://github.com/kodadot/nft-gallery/issues/1536",0.68715316,{"description":3188,"labels":3189,"number":3194,"owner":3160,"repository":3161,"state":3182,"title":3195,"updated_at":3196,"url":3197,"score":3198},"## 🐛 Issue: NFTAA Minting Fails via Kodadot on Local Substrate Chain\n\n💰 The initial bounty for the first person to help us solve the problem is _130 USDC_ on any network.\n\n### Description\n\nWe’re currently integrating support for **[NFTAA-type NFTs](https://nftaa.xyz/)** into **Kodadot**, running on a local Substrate chain (Polkadot SDK).\n\nWhile **collection creation works correctly**, **minting individual NFTs fails** when triggered via Kodadot. After signing a `batchAll` transaction, the call fails with the following error:\n\n> **1002: Verification Error: Runtime Error: wasm trap: unreachable**\n\nThis prevents successful minting of NFTAA NFTs.\n\n----------\n\n### ✅ Implementation Summary\n\nTo support NFTAA minting in Kodadot, we have made the following changes:\n\n- 🔄 **Updated Substrate version** (based on the latest `dev` branch of `polkadot-sdk`).\n \n- 🔄 **Regenerated Substrate types** in the Kodadot project using `@polkadot/typegen`.\n \n- 📦 **Upgraded Polkadot.js libraries** (`@polkadot/api`, `@polkadot/types`, etc.) to match the new chain metadata and runtime version.\n \n- 🔧 **Extended the `static` package** to add support for our custom local Substrate chain.\n \n- 💰 **Updated account handling** to support Substrate-style accounts and the `UNIT` token denomination.\n \n- 🧩 **Integrated a minting mode switch** in Kodadot that dynamically selects between:\n \n - `nfts.mint` for standard NFTs\n \n - `nftaa.mint` for NFTAA-type NFTs\n \n----------\n\n### 🧪 Debugging Summary\n\n- ✅ The **exact same `nftaa.mint` call** succeeds when executed manually through **[Polkadot.js Apps](https://polkadot.js.org/apps)**.\n \n- ❌ The same call **fails in Kodadot**, returning:\n \n```javascript\n1002: Verification Error: Runtime Error: wasm trap: unreachable\n```\n➡️ This confirms that the **issue is on the Kodadot side**, likely in how the transaction is constructed or submitted.\n\n\u003Cimg width=\"660\" height=\"434\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/908c3d98-f787-4cef-aec5-b5c3a510f547\" />\n\n----------\n\n### Reproduction Steps\n\n1. **Clone the required repositories:**\n \n```bash\ngit clone https://github.com/decenzio/polkadot-sdk.git --branch dev --recurse-submodules\ngit clone https://github.com/decenzio/stick.git\ngit clone https://github.com/decenzio/nft-gallery.git --branch feat/nftaa-support\n```\n \n2. **Install [`just`](https://github.com/casey/just)** for task management.\n \n3. **Start the local Substrate node:**\n \n```bash\ncd polkadot-sdk\njust full\n```\n \n4. **Start backend services:**\n \n```bash\ncd stick\ndocker-compose up\n```\n \n5. **Start the frontend:**\n \n```bash\ncd nft-gallery\npnpm install\npnpm dev\n```\n \n6. **Connect to the chain in Polkadot.js Apps:**\n \n - Go to [https://polkadot.js.org/apps/#/accounts](https://polkadot.js.org/apps/#/accounts)\n \n - In the left menu:\n \n - `Development` > `Custom` > `ws://127.0.0.1:9920`\n \n - Click **Switch**\n \n7. **Fund the test account:**\n \n - Send **1000 UNIT** from `Alice` to your dev wallet.\n \n8. **Create colection and mint NFTAA**\n\n - The collection is created in the standard way as we know in Kodadot and it is similar with the minting of NFTAA into a collection, but when minting the token it is necessary to check the field that it is NFTAA \n----------\n\n### Expected Behavior\n\n- ✅ NFT collections are created correctly.\n \n- ✅ Account system supports UNIT balances.\n \n- ✅ `nftaa.mint` is called properly based on NFT type.\n \n- ✅ Transaction should succeed — as it does via Polkadot.js Apps.\n \n\n----------\n\n### Actual Behavior\n\n- Kodadot's execution of the `batchAll` transaction fails with:\n \n```javascript\n1002: Verification Error: Runtime Error: wasm trap: unreachable\n```\n \n- No NFT is minted.\n\n### Request for Assistance\n\nWe would appreciate any help in identifying what might be going wrong with Kodadot’s handling of the `nftaa.mint` call. Given that the same transaction succeeds in Polkadot.js Apps, we believe the issue lies in Kodadot’s transaction batching or encoding logic.\n\nIf there are known caveats when using `batchAll` or calling custom pallets, or if additional debugging details are needed (e.g. transaction hex, logs, type definitions), we’re happy to provide them.\n\nThanks so much for your help!",[3190,3193],{"name":3191,"color":3192},"external","cfd3d7",{"name":3146,"color":3147},11599,"(Help request) Minting Fails via Kodadot on Local Substrate Chain","2025-08-11T01:37:38Z","https://github.com/kodadot/nft-gallery/issues/11599",0.7239653,{"description":3200,"labels":3201,"number":3211,"owner":3160,"repository":3161,"state":3182,"title":3212,"updated_at":3213,"url":3214,"score":3215},"- Take recent article made by Viki and make more human introduction to Statemine\r\n\r\n- https://medium.com/kodadot/wen-statemine-by-kodadot-b35ae13b70ff",[3202,3204,3207,3209],{"name":3203,"color":3150},"p3",{"name":3205,"color":3206},"onboarding","715318",{"name":3208,"color":3153},"A-writing-✍️",{"name":3210,"color":3153},"A-docs",2266,"Add Statemine to docs ","2022-03-11T06:56:06Z","https://github.com/kodadot/nft-gallery/issues/2266",0.72955376,{"description":3217,"labels":3218,"number":3219,"owner":3160,"repository":3161,"state":3182,"title":3220,"updated_at":3221,"url":3222,"score":3223},"https://wagmi.sh/ is a project that makes open source standardized components for Ethereum + React\r\nKodadot could be the equivalent for NFTs in the multichain world...",[],3303,"Discuss making a component library","2022-07-04T10:46:52Z","https://github.com/kodadot/nft-gallery/issues/3303",0.730439,{"description":3225,"labels":3226,"number":3234,"owner":3160,"repository":3161,"state":3182,"title":3235,"updated_at":3236,"url":3237,"score":3238},"- I guess would be nice to show history data on Statemine\r\n- Would be nice to extend https://github.com/kodadot/unique for events",[3227,3228,3230,3232],{"name":3180,"color":3153},{"name":3229,"color":3147},"$",{"name":3231,"color":3150},"p5",{"name":3233,"color":3153},"A-collection",2167,"Add history component data to Statemine ","2023-10-16T11:48:56Z","https://github.com/kodadot/nft-gallery/issues/2167",0.73239154,{"description":3240,"labels":3241,"number":3246,"owner":3160,"repository":3161,"state":3182,"title":3247,"updated_at":3248,"url":3249,"score":3250},"#### Step to reproduce\r\n- go to beta\r\n- click on statemine chain\r\n- click on explorer (https://beta.kodadot.xyz/statemine/explore)\r\n- infinite loading (#3351 related)\r\n- profit\r\n\r\nShould we keep maintain this chain?\r\n\r\nSome logs:\r\n```\r\nObject { message: \"Unknown type \\\"CollectionEntityWhereInput\\\". Did you mean \\\"CollectionEntitiesEdge\\\", \\\"CollectionEntityFilter\\\", \\\"CollectionEntitiesOrderBy\\\", or \\\"CollectionEntity\\\"?\", extensions: {…} }\r\n--\r\n1 | Object { message: \"Unknown type \\\"CollectionEntityOrderByInput\\\". Did you mean \\\"CollectionEntitiesOrderBy\\\", \\\"CollectionEntityFilter\\\", \\\"CollectionEntitiesEdge\\\", or \\\"CollectionEntity\\\"?\", extensions: {…} }\r\n2 | Object { message: \"Value \\\"blockNumber_DESC\\\" does not exist in \\\"CollectionEntitiesOrderBy\\\" enum. Did you mean the enum value \\\"BLOCK_NUMBER_DESC\\\" or \\\"BLOCK_NUMBER_ASC\\\"?\", extensions: {…} }\r\n3 | \r\n```\r\nI sense it still use old magick endpoint (not subsquid)",[3242,3245],{"name":3243,"color":3244},"bug","d73a4a",{"name":3180,"color":3153},3796,"Statemine explorer not working","2023-01-05T12:56:01Z","https://github.com/kodadot/nft-gallery/issues/3796",0.738449,{"description":3252,"labels":3253,"number":3264,"owner":3160,"repository":3161,"state":3182,"title":3265,"updated_at":3266,"url":3267,"score":3268},"Time has come\r\n\r\n\u003Cimg src=\"https://media4.giphy.com/media/f4D5MDTpwbNRgBnmOf/giphy.gif\"/>\r\n\r\n\r\n# What\r\nremoving create as in: \r\n- https://github.com/kodadot/nft-gallery/issues/10390\r\n\r\n-> not our product, our scope is gen art, not single nfts - we will introduce minter for generative drops\r\n\r\nfor now, there will be a placeholder page that will redirect traffic if anyone accidentally enters the page\r\n\r\n# Task\r\n- remove nft minter\r\n- remove ai minter\r\n- remove collection minter\r\n- remove navbar link\r\n- move navbar link to footer \r\n- add placeholder page\r\n- save the code somewhere if we need it (really small probability) \r\n\r\n\r\n# Placeholder page\r\ndesign updated here: https://www.figma.com/design/JXNtryaNYhY0XJNArzvPQx/Handoff?node-id=1287-18959&t=Dt9j4HyS2vIGJGpV-11\r\n\r\n\r\n\r\n\r\n\r\n- super simple, just text and links\r\n- form redirects here: https://form.kodadot.xyz/drop-interest\r\n- documentation here: https://hello.kodadot.xyz/generative/generative-art\r\n\r\n\r\n\r\n",[3254,3255,3257,3260,3262],{"name":3149,"color":3150},{"name":3256,"color":3153},"A-mass-mint",{"name":3258,"color":3259},"🧹 - clean-up","FEC502",{"name":3261,"color":3153},"A-minting",{"name":3263,"color":3153},"A-ai-minter",10427,"Deprecate and remove create ","2024-06-28T11:37:40Z","https://github.com/kodadot/nft-gallery/issues/10427",0.73951423,{"description":3270,"labels":3271,"number":3273,"owner":3160,"repository":3161,"state":3182,"title":3274,"updated_at":3275,"url":3276,"score":3277},"- [x] after the collection is created, it doesn't show me that in a notification \r\n- [x] when I go to mint and NFT and I got to choose I collection, I don't see the name of the collection instead, I see numbers (b42849f0d58fda79c5fc16ca4288ef4c9ccdc5f2)\r\n- [x] broken route from profile -> collections to collection detail (b9c9a715e5833b828bd36b5d95bbd63cdecb4038)\r\n\r\nht/ @onerawartist",[3272],{"name":3155,"color":3156},1453,"Tracking issue for the KodaDot Statemine","2021-12-25T11:39:25Z","https://github.com/kodadot/nft-gallery/issues/1453",0.7398575,["Reactive",3279],{},["Set"],["ShallowReactive",3282],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fcXC15hJSVvIa9KUt-9POj-SuDsSh1zSpQ13eAvknyGU":-1},"/kodadot/nft-gallery/757"]