Code Versioning and Forking

Flex is a community-owned platform that rapidly boosts dApp user growth, ensuring the value generated directly benefits the Flex community.

The IP Commons supports code versioning and forking through the use of version-controlled NFTs and on-chain version history. Each update to a code NFT is represented as a new version, with its own metadata and content hash, linked to the previous version through a parent-child relationship.

Developers can fork existing code NFTs to create new branches or variations while maintaining a reference to the original code. The forking process creates a new NFT that inherits the metadata and content of the parent NFT but with a new version number and ownership.

The IP Commons also integrates with decentralized version control systems, such as Radicle or GitHub, to enable seamless collaboration and merging of code changes across forks and branches. Developers can use familiar Git commands and workflows to push and pull code updates, which are automatically synced with the corresponding code NFTs on the Flex blockchain.

Last updated