function selector from an ABI?
easiest with a library like ethers.js . Here's how I do it: `let iface = new ethers.utils.Interface(abi); sigHash = iface.getSighash( iface.getFunction(funcName), );`
😁 thank you i will take a look
thanks! contract deployed now. had trouble getting the name using the iface
Обсуждают сегодня