paritytech / paritytech/triangle-js-sdks

Feature: add statement-store allowance

Open
#23 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature-request team: parity-product
Dominant language
TypeScript
Stars
3
Forks
1
Avg merge
1d 14h
Merged PRs (30d)
8

Description

There is a new call on the Resources pallet setStmtStoreAssociatedAccountIdAtSlot(slotNumber, setAccount). With this call a person can grant other accounts access to it's statement-store allowance. Since last friday this is deployed to the preview net.

Only with this the actual temporary key of the connected Desktop/Browser app can make use of the statement-store primitive.

To me this feels like a step which we always want todo during the coupling to a host app with the Polkadot app?

resources.setStmtStoreAssociatedAccountIdAtSlot(slotNumber, setAccount)

If you have access to the individuality repo:

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No target file or test is named in this issue. Start by locating the host-app coupling flow in triangle-js-sdks and compare the Resources call with individuality issue 473 and pull request 552; done should include the statement-store allowance step when connecting the temporary account.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.