Skip to content

Add Nova ZK SoulKey minting UI scaffold - #144

Open
Pray4Lovee wants to merge 295 commits into
mainfrom
codexbuild-nova-zk-soulkey-minting-ui
Open

Pray4Lovee wants to merge 295 commits into
mainfrom
codexbuild-nova-zk-soulkey-minting-ui

Conversation

@Pray4Lovee

Copy link
Copy Markdown
Owner

Summary

  • add a client-side ZkSoulKeyMint component that selects sigils, fetches Merkle data, and runs groth16 proofs before minting
  • scaffold mocked API routes for loading sigils, returning Merkle inputs, and handling SoulKey mint submissions
  • register snarkjs typings and reference the snarkjs/poseidon-lite dependencies

Testing

  • not run (not requested)

https://chatgpt.com/codex/tasks/task_e_68d97d4c77448322917fa3ad6b5ae76c

…bridgeclaimbutton-w5ke09

Add GitHub attribution helpers and tests
…bootstrap-repo

Add Nova Phase 0 bootstrap
…er-bot

Add SEI auto-compounder bot toolkit
…r-chain-support

Add chain metadata to LumenCardKit receipts
Add Nova automation scripts and Docker deployment
…val-error

Fix surplus logging format in EVM module
…kcymv

Add keeper claim handler and tests
…md/go_modules-c775a3108c

chore(deps): bump golang.org/x/crypto from 0.15.0 to 0.17.0 in /sei-wasmd in the go_modules group across 0 directory
…wasm/cw1155/cargo-573969d7da

chore(deps): bump the cargo group across 0 directory with 1 update
…bridgeclaimbutton

Add GitHub attribution helpers and tests
…-for-sei-msgclaim

Add msg_claim deployment helper
…nsaction-workflow

Harden USDC paymaster workflow for Hyperliquid broadcast
…bridgeclaimbutton-fr560e

Add GitHub attribution helpers and tests
…master-flow

Add mainnet USDC paymaster workflow
…b-action

Add golangci-lint GitHub Action workflow
…bridgeclaimbutton-fgpyey

Add GitHub attribution helpers and tests

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting

Comment on lines +83 to +88
try {
const selectedSigils = selected.map((i) => sigils[i]);

const proofRes = await fetch("/api/sigils/proofs", {
method: "POST",
body: JSON.stringify({

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[P1] Reset selection when sigil list changes

The minting handler derives selectedSigils from indices stored in selected, but the component never clears or validates that state when user changes or after a fresh /api/sigils fetch. If a user switches accounts or their sigil list shrinks to fewer than three items, the button remains enabled (selected.length === 3) and selected.map((i) => sigils[i]) will yield undefined entries, causing selectedSigils.map((sigil) => sigil.tokenId) to throw Cannot read properties of undefined. Consider resetting selected when user updates or guarding against missing sigils before mapping.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants