Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
b339d14
feat: update dependencies and config for PSM migration
WiktorStarczewski Feb 11, 2026
4295991
feat: add PSM SDK lib files, wallet types, and hooks
WiktorStarczewski Feb 11, 2026
8ac1fcc
feat: add MultisigContext and update Providers
WiktorStarczewski Feb 11, 2026
3edd4ee
feat: migrate all pages and interactions to MultisigContext
WiktorStarczewski Feb 11, 2026
b791d48
refactor: remove coordinator API layer and simplify Redux
WiktorStarczewski Feb 11, 2026
f9afe9d
feat: add global AppHeader with wallet/PSM/keys controls
WiktorStarczewski Feb 11, 2026
7d84fb5
docs: add PSM migration plan
WiktorStarczewski Feb 11, 2026
1650b88
feat: auto-populate Signer 1 from connected wallet in create flow
WiktorStarczewski Feb 11, 2026
15230ec
fix: prevent useMultisig crash on page reload
WiktorStarczewski Feb 12, 2026
22a36e2
fix: auto-load saved account on page reload and sync config after create
WiktorStarczewski Feb 12, 2026
0f9e92a
feat: persist signer keys in IndexedDB and normalize commitments
WiktorStarczewski Feb 12, 2026
f46ae3b
fix: remove redundant address fields from create account flow
WiktorStarczewski Feb 12, 2026
c6480fe
fix: guard against undefined proposal type in RecentTransactions
WiktorStarczewski Feb 12, 2026
d5110be
fix: use correct proposal status and type fields across UI components
WiktorStarczewski Feb 12, 2026
4a11b98
feat: upgrade miden-client from 0.12 to 0.13 and switch to devnet
WiktorStarczewski Feb 12, 2026
ddcc27c
style: fix rustfmt formatting
WiktorStarczewski Feb 12, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
628 changes: 277 additions & 351 deletions Cargo.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ anyhow = "1"
bon = { default-features = false, version = "3" }
chrono = { default-features = false, version = "0.4" }
dissolve-derive = "0.1.4"
miden-client = { default-features = false, version = "0.12" }
miden-client-sqlite-store = "0.12"
miden-client = { default-features = false, version = "0.13" }
miden-client-sqlite-store = "0.13"
rand = "0.9"
serde = { default-features = false, version = "1" }
serde_with = { default-features = false, version = "3" }
Expand Down
401 changes: 401 additions & 0 deletions PSM.Migration.md

Large diffs are not rendered by default.

136 changes: 0 additions & 136 deletions bin/coordinator-frontend/lib/miden-client.ts

This file was deleted.

43 changes: 34 additions & 9 deletions bin/coordinator-frontend/next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
import CopyWebpackPlugin from 'copy-webpack-plugin';
import path from 'path';
import { fileURLToPath } from 'url';
import { fileURLToPath, pathToFileURL } from 'url';
import { createRequire } from 'module';
import webpack from 'webpack';

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const require = createRequire(import.meta.url);

/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'standalone',
// Disable static optimization completely to avoid WASM loading issues
experimental: {
// This is not experimental anymore in Next.js 15, but keep for compatibility
env: {
// Expose VITE_PARA_API_KEY as NEXT_PUBLIC_PARA_API_KEY for browser access
NEXT_PUBLIC_PARA_API_KEY: process.env.VITE_PARA_API_KEY || process.env.NEXT_PUBLIC_PARA_API_KEY || '',
},
// Generate all pages dynamically (no static generation)
// This prevents WASM loading during build
experimental: {},
generateBuildId: async () => {
return 'build-id'
},
eslint: {
// Don't fail the build on ESLint errors during production builds
ignoreDuringBuilds: true,
},
typescript: {
// Don't fail the build on TypeScript errors during production builds
ignoreBuildErrors: true,
},
webpack: (config, { isServer }) => {
Expand All @@ -44,21 +44,46 @@ const nextConfig = {
path: false,
}

// Stub out optional Para wallet connector modules that aren't used
// These are optionally required by @getpara/react-sdk-lite
const emptyStub = path.join(__dirname, 'src/stubs/empty.js');
config.plugins.push(
new webpack.NormalModuleReplacementPlugin(
/^@getpara\/evm-wallet-connectors$/,
emptyStub
),
new webpack.NormalModuleReplacementPlugin(
/^@getpara\/solana-wallet-connectors$/,
emptyStub
),
new webpack.NormalModuleReplacementPlugin(
/^@getpara\/cosmos-wallet-connectors$/,
emptyStub
),
new webpack.NormalModuleReplacementPlugin(
/^@farcaster\/miniapp-sdk$/,
emptyStub
),
)

// Copy WASM file to multiple locations for better accessibility
config.plugins.push(
new CopyWebpackPlugin({
patterns: [
{
from: path.join(__dirname, 'public/miden_client_web.wasm'),
to: path.join(__dirname, '.next/static/wasm/miden_client_web.wasm'),
noErrorOnMissing: true,
},
{
from: path.join(__dirname, 'public/miden_client_web.wasm'),
to: path.join(__dirname, '.next/static/media/miden_client_web.wasm'),
noErrorOnMissing: true,
},
{
from: path.join(__dirname, 'public/miden_client_web.wasm'),
to: path.join(__dirname, 'public/static/wasm/miden_client_web.wasm'),
noErrorOnMissing: true,
},
],
})
Expand Down Expand Up @@ -121,4 +146,4 @@ const nextConfig = {
},
}

export default nextConfig
export default nextConfig
Loading