paritytech / paritytech/triangle-js-sdks
`host_request_resource_allocation([BulletInAllowance])` is not integrated with People-chain `claim_long_term_storage`
@EnderOfWorlds007 is already working on this.
Since May 11, 2026.
- Dominant language
- TypeScript
- Stars
- 3
- Forks
- 1
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 8
Description
A product calling requestResourceAllocation([BulletInAllowance]) should ultimately result in a claim_long_term_storage call on People chain
(which then XCMs authorize_account to Bulletin and returns the slotAccountKey to the Host). Today this end-to-end path is not wired: packages/host-container/src/createContainer.ts:435 exposes handleRequestResourceAllocation as a NOT_IMPLEMENTED stub, and nothing in the AP layer (packages/host-papp/) triggers the People-chain claim.
People-chain side of the integration is already in place — see paritytech/individuality#893.
Current Host implementations bypass the v0.2 design entirely:
-
useragent-kitsigns BulletinTransactionStorage.storedirectly with the well-known//Alicedev key — see
crates/host-chain/src/bulletin.rs:55–84(submit_preimage_at—
queries Alice's nonce at line 64, builds the Alice-signed extrinsic via
build_bulletin_store_extrinsicwhere the Alice mini-secret is
hardcoded). The entry pointsubmit_preimage_testnetflags this
as "intended for testnet/headless provisioning only. Production hosts should route through a real wallet or service account policy." -
dotlinever overrideshandleRequestResourceAllocationat all — it uses the legacy v0.1handlePreimageSubmitpath at
packages/ui/src/container.ts:706, which calls
submitPreimageTransaction(value, getTestSigner()).getTestSigner
hardcodes//Alicewith a TODO: "Replace with production signer (People chain XCM authorization + unsigned submission). For testing on Paseo, Alice's account is pre-authorized via
authorize_account."
Note: this gap was identified via a Claude-assisted cross-repo analysis across the products constellation — truapi, triangle-js-sdks, useragent-kit, dotli, dotns / dotns-sdk, playground-cli / playground-app / host-playground / host-api-test-sdk, triangle-e2e, individuality, polkadot-bulletin-chain.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.