Inheriting TL Contracts
Inheriting TL contracts into your project is straightforward and simple.
Last updated
Inheriting TL contracts into your project is straightforward and simple.
Last updated
If you are using , it is really simple to integrate TL contracts into your project. You just simply have to run the following, depending on which repo you want to integrate.
If your project is using Hardhat, you can use the to integrate our contracts. This still requires Foundry to be installed though.
The one caveat is that we typically have some custom remappings that you may need. They are shown below. These can be added to the remappings.txt
file as applicable and may need modification depending on your use case.
Unfortunately does not allow solidity files to be defined outside of a contracts
folder for packages and thus our repositories can't be used in Brownie projects. Hopefully fixes this, as Brownie is sunsetting soon.