I've learned how to use libaries when I've got access to the source code for the library and can therefore import it like this:
import "contracts/MyLibrary.sol";
contract TestMyLibrary {
using MyLibrary for string;
...
}
However I had a look at the "Learneth" addin on Remix, and it seems to suggest its possible to use a library if you know its address, even if you don't have access to the source code but it did not really give a demo on how to do it. I have the impression that its possible to use something like this with access to the source:
MyLibrary myLibrary = MyLibrary([contract address])
By I haven't been able to get that to work properly. Is there a mechanism to use libraries if you don't have access to the source?