How to build smart contract of etherdelta (receive fees)

this is the following smart contract https://github.com/gochainwallet/forkdelta.github.io/tree/master/smart_contract The question is how to build and get the bytecode? The other thing using .sol and remix i could build my own smart contract to receive the fees of coins? The original project https://github.com/etherdelta/smart_contract I just want to build it to get a new smart contract address to…

Test using async/await in truffle not working

I am using node v12.13.1, truffle@5.1.8 and ubuntu 18.04 and running the test using documentation of async/await. https://www.trufflesuite.com/docs/truffle/testing/writing-tests-in-javascript#using-async-await This is my test code: const DappTokenSale = artifacts.require(“DappTokenSale”); const DappToken = artifacts.require(“DappToken”); contract(“DappToken”, async accounts => { let dapptokenInstance = await DappToken.deployed(); let dapptokenSale = await DappTokenSale.deployed(); let admin = accounts[0] console.log(admin) let buyer = accounts[1]…