Skip to content

feat(web): add multi-delegator developer tool frontend#1

Merged
dev-jodee merged 1 commit intomainfrom
feat/frontend-dev-tool
Mar 20, 2026
Merged

feat(web): add multi-delegator developer tool frontend#1
dev-jodee merged 1 commit intomainfrom
feat/frontend-dev-tool

Conversation

@dev-jodee
Copy link
Collaborator

Summary

  • New apps/web Next.js 16 app — a single-page developer tool for direct on-chain interaction with the multi-delegator program
  • 13 instruction forms across DELEGATE, PLANS, and SUBSCRIPTIONS sidebar groups, each calling the corresponding @multidelegator/client builder
  • Dark theme with @solana/design-system components, inline CSS variable styling, and monospace font — matching the rewards program dev tool pattern
  • Proper @solana/kit TransactionSigner bridge over @solana/wallet-adapter-react, with sendAndConfirmTransactionFactory for confirmation, built-in tx state management, and recent transaction logging

Test Plan

  • pnpm --filter @multidelegator/client build then cd apps/web && pnpm dev
  • Connect a devnet wallet, set RPC to devnet
  • Init a multi-delegate PDA and verify on explorer
  • Create a fixed and recurring delegation, verify delegation PDAs
  • Create a plan, subscribe, and transfer subscription payment

New Next.js 16 app at apps/web — a single-page developer tool for
direct on-chain interaction with the multi-delegator program.

- Sidebar navigation with 13 instruction forms across DELEGATE, PLANS,
  and SUBSCRIPTIONS groups
- Dark theme matching the rewards program dev tool pattern
- @solana/design-system components with CSS variable styling
- Proper @solana/kit TransactionSigner bridge for wallet-adapter
- useSendTx with sendAndConfirmTransactionFactory, tx state, and
  built-in recent transaction logging
- QuickDefaults panel with saved address history (datalist autocomplete)
- RpcBadge and ProgramBadge for runtime override of RPC/program address
@github-actions
Copy link

Compute Unit Report

Instruction Samples Min CUs Max CUs Avg CUs Est Cost (Low) [SOL] Est Cost (Med) [SOL] Est Cost (High) [SOL]
cancel_subscription 6 1963 1963 1963 0.000005000 0.000005078 0.000005981
close_multi_delegate 2 1835 1835 1835 0.000005000 0.000005073 0.000005917
create_fixed_delegation 24 3557 11062 5168 0.000005001 0.000005206 0.000007584
create_plan 63 3523 11037 4883 0.000005001 0.000005195 0.000007441
create_recurring_delegation 17 3586 11086 5703 0.000005001 0.000005228 0.000007851
delete_plan 4 401 401 401 0.000005000 0.000005016 0.000005200
init_multi_delegate 92 5672 18117 9155 0.000005002 0.000005366 0.000009577
revoke_delegation 7 271 422 297 0.000005000 0.000005011 0.000005148
subscribe 11 6557 12557 8602 0.000005002 0.000005344 0.000009301
transfer_fixed 4 8465 8465 8465 0.000005002 0.000005338 0.000009232
transfer_recurring 13 8546 8616 8567 0.000005002 0.000005342 0.000009283
transfer_subscription 10 8826 8946 8869 0.000005002 0.000005354 0.000009434
update_plan 17 397 403 400 0.000005000 0.000005016 0.000005200

Generated: 2026-04-03

@dev-jodee dev-jodee merged commit 3d6fa20 into main Mar 20, 2026
5 checks passed
@dev-jodee dev-jodee deleted the feat/frontend-dev-tool branch March 20, 2026 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants