Created
September 24, 2018 14:45
-
-
Save plutoegg/277910bb7da132334c8e5f362dec8bb7 to your computer and use it in GitHub Desktop.
Trustless Developer Guide - 7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const sig = await efx.sign(parseInt(orderId).toString(16)) | |
const sigConcat = ethUtils.toRpcSig(sig.v, ethUtils.toBuffer(sig.r), ethUtils.toBuffer(sig.s)) | |
await efx.cancelOrder(parseInt(orderId), sigConcat) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment