Open nikogu opened 2 years ago
用区块链给软件授权的,之前搜出来过两个开源项目,供参考:
Valist,帮开发者做web3原生软件分发的开源项目Web3-native Software Distribution - Valist Documentation 今年3月5号的宣讲视频:Valist Distributing and Monetizing your Game with Valist - YouTube
另一个叫Dotta License的: GitHub - cryppadotta/dotta-license: ERC721-based Software Licensing Framework
Goals
Technical Analysis
The contract is divided into two parts:
The Code (beta)
Relying on the ERC721 specification library provided by openzeppelin to generate our own AppNFT.
AppNFT.sol
AppStore.sol
Encapsulate the three information of the app's price, seller, and buyer into a struct structure called AppProperty.
The information(such as image, name and so on) of the App is stored in the tokenURI following NFT.
Then implement the three methods of
sell
,buy
,verify
to do the series connection of the process.The OpenAPI needs to use verify to verify whether the user has purchased the software.
All purchased information is on the blockchain of Ethereum, transparent and freedom.