\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",[3019,3022,3025,3028,3031],{"name":3020,"color":3021},"$$","0E8A16",{"name":3023,"color":3024},"p2","D4C5F9",{"name":3026,"color":3027},"A-search","FBCA04",{"name":3029,"color":3030},"chief","67EA1F",{"name":3032,"color":3027},"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.7375976,{"description":3042,"labels":3043,"number":3044,"owner":3034,"repository":3035,"state":3036,"title":3045,"updated_at":3046,"url":3047,"score":3048},"## 🐛 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!",[],11599,"(Help request) Minting Fails via Kodadot on Local Substrate Chain","2025-07-23T23:32:21Z","https://github.com/kodadot/nft-gallery/issues/11599",0.7804869,{"description":3050,"labels":3051,"number":3057,"owner":3034,"repository":3035,"state":3058,"title":3059,"updated_at":3060,"url":3061,"score":3062},"This will be place holder issue to bit coordinate the transition to the new rewrite and version of KodaDot 2.0.\r\n\r\n# Where you can test new beta version? \r\n**Go to the [beta.kodadot.xyz](https://beta.kodadot.xyz/)** [backup](https://koda-nuxt.netlify.app/) \r\n\r\n# Found a bug?\r\n\r\n[To ensure everything will land smoothly to production and mainstream, please report a bug here](https://github.com/kodadot/nft-gallery/issues/new?assignees=&labels=bug&template=bug.yml&title=Be+descriptive+and+short)\r\n\r\n# Want to chat? \r\n\r\n[Let us know on Discord channel #beta](https://discord.gg/G2JmdCjA6r) \r\n\r\n# [Project table](https://github.com/orgs/kodadot/projects/1/views/1)\r\n[Overview of outstanding issues for beta](https://github.com/orgs/kodadot/projects/1/views/1)\r\n\r\n# Progress - in a particular order, to be done.\r\n- https://github.com/kodadot/nft-gallery/issues/1251\r\n- https://github.com/kodadot/nft-gallery/issues/1113\r\n- https://github.com/kodadot/nft-gallery/issues/984\r\n- https://github.com/kodadot/nft-gallery/issues/1224\r\n- https://github.com/kodadot/nft-gallery/issues/1155\r\n- https://github.com/kodadot/nft-gallery/issues/1028\r\n- https://github.com/kodadot/nft-gallery/issues/992\r\n\r\n### Done \r\n- https://github.com/kodadot/nft-gallery/issues/1154\r\n- https://github.com/kodadot/nft-gallery/issues/1089\r\n- https://github.com/kodadot/nft-gallery/issues/912\r\n- https://github.com/kodadot/nft-gallery/issues/1077\r\n\r\n## Migration Strategy \r\n\r\n- [x] once https://github.com/kodadot/nft-gallery/issues/1089 is done, let's freeze `main` branch\r\n- [ ] rename `main` to `main-spa`\r\n- [ ] rename `main-nuxt` to `main` \r\n- [ ] check new deployment for `main`\r\n- [ ] deploy legacy.kodadot.xyz from `main-spa`\r\n- [x] move current spa into `/spa` folder\r\n- [ ] back merge `main-spa` into `main`\r\n- [ ] remove `spa/` folder from `main`\r\n- [ ] set deploy from `rmrk-fluffy` on Netlify\r\n\r\n# Backlog\r\nIt will be starting with merging #843 into `main-nuxt`, then syncing `main-nuxt` with `main`, then switching gears to deployment running from `nuxt/` folder.\r\n\r\n\r\n### Ref\r\n- https://github.com/kodadot/nft-gallery/pull/843#issuecomment-955709805 origin\r\n- https://discord.com/channels/840514076538830888/842717226758701056/904325916346421258\r\n\r\n[Probably all of the issues labelled with `nuxt` are related in time of writing this](https://github.com/kodadot/nft-gallery/issues?q=is%3Aissue+is%3Aopen+label%3Anuxt) \r\n",[3052,3054],{"name":3053,"color":3027},"A-nuxt",{"name":3055,"color":3056},"koda2","AB66CA",1060,"closed","KodaDot 2.0 - beta & migration","2022-01-15T13:48:36Z","https://github.com/kodadot/nft-gallery/issues/1060",0.7347678,{"description":3064,"labels":3065,"number":3068,"owner":3034,"repository":3035,"state":3058,"title":3069,"updated_at":3070,"url":3071,"score":3072},"It's related to the deploy environment\r\n\r\nnew one: https://deploy-preview-11317--polkadot.netlify.app/ahp/collection/244\r\n\r\noriginal: https://deploy-preview-11317--koda-canary.netlify.app/ahp/collection/244\r\n\r\n_Originally posted by @Jarsen136 in https://github.com/kodadot/nft-gallery/issues/11318#issuecomment-2566997713_\r\n \r\n\r\n\u003Cimg width=\"821\" alt=\"image\" src=\"https://github.com/user-attachments/assets/1dd14728-f326-4886-a4eb-dab719c9ed45\" />\r\n\u003Cimg width=\"857\" alt=\"image\" src=\"https://github.com/user-attachments/assets/e103dc3a-e5c8-4f76-82c9-180a483a3628\" />\r\n\r\nIt looks like every PR has these double deployment. We should only keep one netlify deployment env.\r\n\r\n@vikiival Do you have access to the netlify dashboard?\r\n",[3066],{"name":3067,"color":3027},"A-maintenance",11326,"Double deploy on netlify for all the branchs","2025-02-13T16:33:26Z","https://github.com/kodadot/nft-gallery/issues/11326",0.740735,{"description":3074,"labels":3075,"number":3083,"owner":3034,"repository":3035,"state":3058,"title":3084,"updated_at":3085,"url":3086,"score":3087},"Probably deploy serverless twitter bot which will tweet once we merge new stuff into production branch, current `rmrk-lite` in future we will have more of them, like per parachain, upcoming are basilisk and statemine\r\n\r\nCould be merged with https://github.com/kodadot/nft-gallery/issues/734 somehow\r\n\r\nIdea behind this is, I can write a changelog in something like tweets, i.e. if we have 3 features in the current upgrade, format for tweets would be tweet per line? Or actually standardize PR changelog so twitter bot can parse that.\r\n\r\ntweet thread \r\n- this brings new colours to the profile\r\n- this optimizes bundle so kodadot now loads faster on your device\r\n- enjoy new sharing buttons",[3076,3079,3081],{"name":3077,"color":3078},"good first issue","5319e7",{"name":3080,"color":3021},"$",{"name":3082,"color":3024},"p5",795,"Create Twitter bot to Tweet when there is production update","2022-04-08T09:43:53Z","https://github.com/kodadot/nft-gallery/issues/795",0.7604776,{"description":3089,"labels":3090,"number":3096,"owner":3034,"repository":3035,"state":3058,"title":3097,"updated_at":3098,"url":3099,"score":3100},"Hence to ease onboarding for new contributors, would be nice to have a lightweight article on how KodaDot actually works in the background. How KodaDot is actually middleware and leveraging existing web3 infrastructure to drive end-user experience and how can anyone use us as a template to make spinoffs with existing components.\r\n\r\nI would suggest mentioning\r\n- subquery (vikiival/magick, kodadot/unique)\r\n- subsquid (kodadot/rubick, kodadot/snek)\r\n- Cloudflare / workers\r\n- bao (pictures)\r\n- packages (subapi, minimark, vuex-options)\r\n- Nuxt \r\n- Infra providers (Netlify, CF)\r\n- Storage, [you can recycle from @kkukelka article about past, present and future of data storage](https://medium.com/kodadot/on-the-past-present-and-future-of-data-storage-at-kodadot-7634a0c32530?source=collection_home---------2-------------------------------)\r\n\r\nBonus stage (required for better awareness for new comers)\r\n- Make a dedicated page on docs.kodadot.xyz for tech-stack for better reachability\r\n\r\nAnything I'm missing? 📟 @vikiival \r\n\r\nh/t @thea-exe for amazing nudge and spotting blind spot",[3091,3092,3094],{"name":3020,"color":3021},{"name":3093,"color":3024},"p3",{"name":3095,"color":3027},"A-writing-✍️",2766,"Write article about tech stack of KodaDot ","2022-06-25T08:20:51Z","https://github.com/kodadot/nft-gallery/issues/2766",0.76855284,{"description":3102,"labels":3103,"number":3108,"owner":3034,"repository":3035,"state":3058,"title":3109,"updated_at":3110,"url":3111,"score":3112},"- `main` branch for stable release\r\n- `nuxt-mark` as for production j/k w vikiival\r\n- archive `rmrk-lite` and `old-spa` time to say good bye\r\n- keep `main-nuxt` as beta channel so it can be still default branch tho to track issue and issues closes automatically\r\n\r\nAny objections? \r\n\r\n### Ref \r\n- #1060 \r\n- #1612 ",[3104,3107],{"name":3105,"color":3106},"p1","D93F0B",{"name":3053,"color":3027},1726,"Deploy pre-production to Cloudflare pages","2022-01-15T13:15:06Z","https://github.com/kodadot/nft-gallery/issues/1726",0.7706873,{"description":3114,"labels":3115,"number":3123,"owner":3034,"repository":3035,"state":3058,"title":3124,"updated_at":3125,"url":3126,"score":3127},"Also I would extend middleware so `https://beta.kodadot.xyz/bsx` will go to `https://beta.kodadot.xyz`\r\n\r\n_Originally posted by @vikiival in https://github.com/kodadot/nft-gallery/pull/3227#issuecomment-1161664483_",[3116,3117,3118,3120],{"name":3080,"color":3021},{"name":3093,"color":3024},{"name":3119,"color":3027},"A-landing",{"name":3121,"color":3122},"entropy","F02D17",3237,"Landing page of parachain should have fallback ","2022-06-26T07:24:50Z","https://github.com/kodadot/nft-gallery/issues/3237",0.77269554,{"description":3129,"labels":3130,"number":3135,"owner":3034,"repository":3035,"state":3058,"title":3136,"updated_at":3137,"url":3138,"score":3139},"To me looks like a Netlify outage?\r\n\r\n`Deploy did not succeed: Deploy directory 'dist' does not exist`\r\n\r\nFirst failed build seems on `main` at 11:44am\r\n\r\nMy bet is at \r\n\r\nhttps://github.com/kodadot/nft-gallery/pull/2815/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519R27\r\n\r\n### Ref\r\n- https://github.com/kodadot/nft-gallery/pull/2812\r\n- https://github.com/kodadot/nft-gallery/pull/2825\r\n- #2718 \r\n\r\nhttps://app.netlify.com/teams/yangwao/builds/625549e849e59900089b0d26\r\n\r\n\r\n\r\nhttps://app.netlify.com/sites/koda-nuxt/deploys/62554a7806c0270008e7f412\r\n\r\n\r\n\r\n",[3131,3132],{"name":3105,"color":3106},{"name":3133,"color":3134},"🧙♀️ - bug-hunt","DC2653",2826,"Builds are broken ","2022-04-12T11:39:00Z","https://github.com/kodadot/nft-gallery/issues/2826",0.7728931,{"description":3141,"labels":3142,"number":3146,"owner":3034,"repository":3035,"state":3058,"title":3147,"updated_at":3148,"url":3149,"score":3150},"It's time to continue on handovering to new branch stuff so we can be in sync and avoid ppl making PRs into old code.\r\n\r\n- [x] merge `main` into `main-nuxt` \r\n- [x] delete all stuff root connected with old **SPA** in `main-nuxt`\r\n- [x] put the context of folder `/nuxt` to the upper directory\r\n- [x] re-set deploy from root directory -- that's on @yangwao \r\n- [x] enjoy new PRs!\r\n\r\n# ref\r\n#1060 ",[3143,3144,3145],{"name":3105,"color":3106},{"name":3053,"color":3027},{"name":3055,"color":3056},1077,"Sync main branch into main-nuxt","2021-11-10T17:16:21Z","https://github.com/kodadot/nft-gallery/issues/1077",0.7755367,["Reactive",3152],{},["Set"],["ShallowReactive",3155],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$f_LWT4Nh80Wk9BX0tD3KufQwZlICyom5-Ubs9EHpMisM":-1},"/kodadot/nft-gallery/657"]