const protocolUtils = require("@0x/protocol-utils");
const utils = require("@0x/utils");
const order = new protocolUtils.LimitOrder({ // or protocolUtils.RfqOrder
makerToken: '0x6B175474E89094C44Da98b954EedeAC495271d0F', // DAI
takerToken: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2', // WETH
makerAmount: new utils.BigNumber(1e18),
takerAmount: new utils.BigNumber(1e18),
const orderHash = order.getHash();