Collection of comprehensive TypeScript libraries for Interaction with the Ethereum JSON RPC API and utility functions.
19.34k
stars
4.96k
forks
source link
Add few utility functions like: numberToBytes, concat(Bytes[]) and contractFunctionId #7067
Open
Muhammad-Altabba opened 5 months ago
Consider adding helper functions similar to the following:
For context, check https://github.com/web3/web3-plugin-zksync/blob/c55f043b4c39550422038a004f1e24f236632bb4/src/utils.ts#L242C2-L291C4 and https://github.com/zksync-sdk/zksync-ethers/blob/main/src/utils.ts