apps
apps copied to clipboard
Allow signing from any account once in "Local Fork More" (Chopsticks pt2)
What would be very useful is to also provide an easier way to fake any account once you click into that button. I am looking into the code to see if the CS instance is executed with mock-signature-host
or not, but even if yes, atm I need to hack my way around. Ideally, the UI would facilitate this and allow you to:
- Add any account you wish merely by the public key
- (fake) Sign with all of your accounts.
Without too much manual work needed.
Originally posted by @kianenigma in https://github.com/polkadot-js/apps/issues/9903#issuecomment-1978555648
@qiweiii Is this currently achievable with our current setup?
Yes, this should be achievable with
https://github.com/polkadot-js/apps/blob/53a178e7fcbafae6fc6f416437cc4caa4af821c1/packages/react-api/src/Api.tsx#L243
we can setStorage for all accounts by default
@TarikGul Where do you think we should place this feature, I'm thinking maybe add an input field in Accounts page, or maybe expose the chopsticks fork and its methods in JS page if possible
I'm thinking maybe add an input field in Accounts page
Yea this makes sense. The inpute field would only be visible if the Local Fork
is active right?
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue if you think you have a related problem or query.