Arachnid / solidity-stringutils

Basic string utilities for Solidity
Apache License 2.0
1.12k stars 369 forks source link

How to Apply the Apache2 license to a Contract #24

Open mudgen opened 6 years ago

mudgen commented 6 years ago

The stringutils library is using the Apache2 license. Under that license it says this,

  1. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
  (a) You must give any other recipients of the Work or
      Derivative Works a copy of this License; and

If I include a copy of the stringutils library in my contract, compile it and then deploy it, how can I send each user who uses my contract a copy of the apache2 license? How can I comply with this license if I use the stringutils library in my contract?

Thanks for any clarification of this.