Skip to content

Commit

Permalink
feat(wallet-frontend): private key copy as base 64 (#889)
Browse files Browse the repository at this point in the history
* private key copy as base 64

* Update CopyButton.tsx

* Update copy private keys
  • Loading branch information
Tymmmy authored Oct 16, 2023
1 parent 475ebef commit f249dfd
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,11 @@ const PaymentPointerCTA = () => {
aria-label="copy private key"
value={privateKey}
/>
<CopyButton
ctaText="COPY BASE64 ENCODED PRIVATE KEY"
aria-label="copy base64 encoded private key"
value={btoa(privateKey.trim())}
/>
</div>
</div>
}
Expand Down

0 comments on commit f249dfd

Please sign in to comment.