# Blindly signing --- # WTF IS? ``` 0x49228978000000000000000000000000cecafff823d1123ed07a6eab3fb2d2af4e7a9 9a1000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000 000000000000000000000000000000000000000000000000000001e8480000000000000 00000000000000000000000000000000000000000000000000089000000000000000000 0000000000000000000000000000000000eee26c7ab2800000000000000000000000000 0000000000000000000000000000000636f8117 ``` --- # A bit better, right? ``` deposit( address recipient, address originToken, uint256 amount, uint256 destinationChainId, uint64 relayerFeePct, uint32 quoteTimestamp ) recipient 0xCECAffF823d1123ed07a6eaB3Fb2d2Af4e7A99A1 originToken 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 amount 32000000 destinationChainId 137 relayerFeePct 262656250000000 quoteTimestamp 1668251927 ``` --- # This has been done before! ## Yes ... but --- # Yes ... but - it is part of a product (etherscan, Brave...) - it is written in non-web friendly language - it is using nodejs packages (e.g. web3 uses `Buffer`, `crypto`...) - it is too low level (ethersjs) --- # Goal - typescript package - works in browser - usable in your wallet - blogpost on how to replicate it
{"metaMigratedAt":"2023-06-17T14:16:47.813Z","metaMigratedFrom":"Content","title":"Blindly signing","breaks":true,"contributors":"[{\"id\":\"1cba1d2e-598e-4fc6-8607-68cc2979fb08\",\"add\":1299,\"del\":29}]"}
    176 views