I have a library which contains a function concat - it can merge two bytes. I have deployed a contract which uses that library and it works. I would like to make a simple bytes builder on my website. Do I need to deploy a special contract BytesBuilder or can I simply call the already deployed library and call lib.concat somehow?
publicin the library then it is also
publicin the contract, and therefore you can call it via the contract. Have you tried?
web3.utils. It will also work much faster (no RPC involved).