Web3 Builders
Open Source Licensing for Web3 Projects
How Web3 projects choose open source licenses for smart contracts and apps, the trade-offs between permissive and copyleft licenses, and practical licensing habits.

Much of Web3 runs on open source code. Protocols publish contracts so users can verify them, developers fork existing projects and libraries spread across ecosystems. Every piece of published code carries a license, or a lack of one, that decides what others may do with it. Choosing a license deliberately protects your project and helps others build responsibly.
This article is general information and not legal advice.
Why licensing matters in Web3
Smart contract code is often visible on block explorers even when repositories are private. Visibility does not grant permission to copy or reuse. Licenses clarify:
- Whether others may copy, modify and deploy the code
- Whether modified versions must also be open source
- Whether commercial use is allowed
- What attribution is required
- What warranty disclaimers apply
Without a license, default copyright rules generally apply, which usually means others have no right to reuse the code. That can confuse contributors and integrators.
Common license families
| License type | Examples | Key idea |
|---|---|---|
| Permissive | MIT, Apache 2.0 | Reuse is allowed with minimal conditions |
| Weak copyleft | LGPL, MPL | Modified files must stay open, larger works can differ |
| Strong copyleft | GPL, AGPL | Derivative works must use the same license |
| Source-available with delays | Business source licenses | Commercial use restricted for a period before converting to open source |
| Proprietary | Custom terms | Reuse requires permission |
Permissive licenses are common for libraries and tools because they encourage adoption. Some protocols use source-available licenses with time delays to limit direct commercial forks during early growth.
Choosing a license
Questions to guide the decision:
- Do you want maximum adoption of your code, even by competitors?
- Do you want improvements made by others to be shared back?
- Are you worried about direct forks of your protocol?
- Will contributors outside your team submit code?
- Do you depend on libraries with license requirements?
A library meant for broad use may suit a permissive license. A protocol concerned about immediate forks may consider a delayed source-available license. A community tool that should stay open may prefer copyleft.
Check your dependencies
Your project inherits obligations from the code it uses. Before choosing a license, list dependencies and their licenses. Combining code with incompatible licenses can create legal problems. Automated license scanning tools can help.
Smart contract specifics
Smart contracts often include a license identifier comment at the top of each file, and many compilers encourage it. Keep identifiers accurate and consistent with the repository license.
Remember that deployed contracts may remain on-chain indefinitely. Changing a license later does not change the terms under which earlier versions were published.
Contributions and ownership
If outside contributors submit code, decide how contributions are licensed. Options include accepting contributions under the project license by default or using contributor agreements. Clarity prevents future disputes about who owns what.
Practical habits
- Add a LICENSE file to every repository
- Include license identifiers in source files
- Document third-party code and its licenses
- Explain licensing choices in your README
- Revisit licensing before major releases or token launches
Licensing and trust
Clear licensing signals professionalism. Integrators, auditors and partners feel more comfortable building on code with explicit terms.
Open source projects benefit from being easy to find too. Many teams add their repository link to public profiles, such as a Proud Globe pin, so developers exploring the ecosystem can discover the code and its license in one click.
Educational content only. Nothing here is financial, legal or tax advice. Crypto assets carry risk, so check the details for your own situation.