Learn how to attach License Terms to an IP Asset in Solidity.
licenseTermsId
. You can do that by following the previous page.licenseTermsId
, we can attach them to an existing IP Asset.
Let’s create a test file under test/2_AttachTerms.t.sol
to see it work and verify the results:
forge build
. If everything is successful, the command should successfully compile.
Now run the test by executing the following command: