Week 12 — Web3 Integration & System Management Finalization
Web3 Infrastructure & Upgrade
Eternl Wallet Signing Workaround:
Refactored minting and node-tier native scripts to use slot-locked policies (type: "after") instead of signature-locked policies. This completely resolves wallet connector failures caused by missingSignatories errors when signing transactions.
On-Chain Balance verification:
Remodeled the Premium Node (Get Verified) upgrade button to read the actual connected wallet balance in real-time. The upgrade action is now fully enabled if the user has 200 NXTP in their wallet on-chain, bypassing the off-chain points constraint.
Cardano Settings Manager:
Created a ⚙️ Settings panel inside the Admin Gateway to allow dynamic network management. Administrators can change the Cardano Network (switch between Preprod Testnet and Mainnet) and update the Treasury Address directly in Firestore without code updates.
Dynamic Network Display: Configured the global top navigation header to dynamically fetch and display the active Cardano Network name (e.g. Cardano Preprod or Cardano Mainnet).
CSV Export Formatting Fix:
Rewrote the Submissions table CSV exporter. Duplicate quotes were removed and standard line endings (\r\n) were implemented, fixing the bug that merged all entries into one single wide row. Submission history now exports cleanly top-to-bottom.
