License

Bazaar is licensed under the GNU Affero General Public License v3.0 only (AGPL-3.0-only). Every Solidity source file carries the SPDX-License-Identifier: AGPL-3.0-only header, and the full text ships in the repository's LICENSE file.

What this means in practice

  • You may use, study, modify, and redistribute the code freely.
  • If you distribute a modified version, you must release your modifications under AGPL-3.0.
  • §13 — the network clause: if you run a modified version as a network service (which is what deploying a fork of a DeFi protocol is), you must offer its complete corresponding source to the users of that service. There is no SaaS loophole.
  • You may not relicense forks under more restrictive terms, add usage restrictions that conflict with the license's freedoms, or take the code proprietary.

Forking and competing is legal and expected — the license only guarantees that every fork stays as open as the original.