Skip to content

Conversation

@jmininger
Copy link
Contributor

Adds principal account autofill to gtransfer
TODO:

  • Offer same functionality in the "Watch Account" dialog
  • Add checks to gtransfer that validate other principals not possible to construct with keysets
  • Add a convenient way to use a principal multisig from another chain without having to manually input the keys (unless the existing account has been rotated)

& setValue .~ onNetworkName

d <- uiDropdown Nothing opts filterCfg
onNewSearch <- debounce 0.2 $ _inputElement_input ti
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was in the other PR but should resolve easily in the merge.

isPrincipalAccName = (==) ':' . flip T.index 1
toPrincipalAccName = AccountName . createKSPrincipal . userToPactKeyset

createKSPrincipal :: KeySet -> Text
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be nice if Pact supplied these (@jwiegley @jmcardon) but this is fine for now.

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.

3 participants