Skip to content

Commit

Permalink
fix: KeepKey produces accurate EIP-712 eth_signTypedData_v4 signatures (
Browse files Browse the repository at this point in the history
  • Loading branch information
0xMillz committed Oct 27, 2023
1 parent de3593e commit 5dccb7d
Show file tree
Hide file tree
Showing 37 changed files with 726 additions and 493 deletions.
14 changes: 5 additions & 9 deletions examples/sandbox/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -300,12 +300,13 @@ <h5>Arkeo</h5>
<h4>Ethereum</h4>
<button class="button button-outline" id="ethAddr">Address</button>
<button class="button button-outline" id="ethTx">Tx</button>
<button class="button button-outline" id="ethSign">Sign</button>
<button class="button button-outline" id="ethEIP1559">EIP-1559?</button>
<button class="button button-outline" id="ethSend">Send</button>
<button class="button button-outline" id="ethSign">Sign Message</button>
<button class="button button-outline" id="ethVerify">Verify</button>
<button class="button button-outline" id="ethEIP1559">EIP-1559?</button>
<button class="button button-outline" id="ethSignTypedData">Sign Typed Data</button>
<button class="button button-outline" id="ethSignTypedDataPreCalculate">Sign Typed Data (Pre-Calculate)</button>
<button class="button button-outline" id="ethSignTypedData">Sign Typed Data (OpenSea Listing)</button>
<button class="button button-outline" id="ethSignTypedDataAlternate1">Sign Typed Data (primaryType is 80+ chars)</button>
<button class="button button-outline" id="ethSignTypedDataAlternate2">Sign Typed Data (primaryType is "EIP712Domain")</button>
<input type="text" id="ethResults" />
</div>
<div class="container">
Expand Down Expand Up @@ -437,11 +438,6 @@ <h3>Mnemoic Required</h3>
</div>

<script src="https://unpkg.com/[email protected]/dist/debug.js"></script>
<script
src="https://code.jquery.com/jquery-3.3.1.min.js"
integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8="
crossorigin="anonymous"
></script>
<script type="module" src="./index.ts"></script>
</body>
</html>
Loading

1 comment on commit 5dccb7d

@vercel
Copy link

@vercel vercel bot commented on 5dccb7d Oct 27, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

hdwallet – ./

hdwallet-git-master-shapeshift.vercel.app
hdwallet-shapeshift.vercel.app

Please sign in to comment.