Skip to content

Add playground contract & unified signer flow#15

Merged
charlesHetterich merged 2 commits intomainfrom
standardize-quries-txs
Apr 17, 2026
Merged

Add playground contract & unified signer flow#15
charlesHetterich merged 2 commits intomainfrom
standardize-quries-txs

Conversation

@charlesHetterich
Copy link
Copy Markdown
Collaborator

@charlesHetterich charlesHetterich commented Apr 17, 2026

closes #7

…rdized queries and transactions.

- Add `resolveSigner()` (`src/utils/signer.ts`) — single entry point that converges `--suri //Alice` dev signers and QR mobile sessions onto `PolkadotSigner`
- Add `getRegistryContract()` (`src/utils/registry.ts`) — returns a typed registry contract handle wired with bundled `cdm.json` and resolved signer
- Add `cdm.json` from `cdm i @example/playground-registry`
- Rename `signer.ts` → `session-signer-patch.ts` to clarify it's a temporary workaround for `@polkadot-apps/terminal`
- Use `parseAsync().then(() => process.exit(0))` in entry point so all commands exit cleanly
@github-actions
Copy link
Copy Markdown
Contributor

Dev build ready — try this branch:

curl -fsSL https://raw.githubusercontent.com/paritytech/playground-cli/main/install.sh | VERSION=dev/standardize-quries-txs bash

@socket-security
Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​polkadot-apps/​terminal@​0.2.2 ⏵ 0.2.368 -610010090 +4100

View full report

@charlesHetterich charlesHetterich changed the title Add playground contract Add playground contract & unified signer flow Apr 17, 2026
@charlesHetterich charlesHetterich merged commit 45a491c into main Apr 17, 2026
5 checks passed
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.

Establish how all tx & queries are made

1 participant