mirror of
https://github.com/oceanprotocol/docs.git
synced 2024-11-26 19:49:26 +01:00
Improve v4 docs
This commit is contained in:
parent
13a15c2ebd
commit
0ebca72187
@ -10,6 +10,12 @@ A non-fungible token stored on the blockchain represents a unique asset. NFTs ca
|
|||||||
|
|
||||||
Ocean Protocol defines an [ERC721Factory](https://github.com/oceanprotocol/contracts/blob/v4Hardhat/contracts/ERC721Factory.sol) contract which will allow users to deploy ERC721 contract instances on any of the supported networks. The deployed contract can be associated with Metadata information which describes, also published on-chain. The [Metadata](https://github.com/oceanprotocol/contracts/blob/v4Hardhat/contracts/metadata/Metadata.sol) contract will store the information about the asset, and associated access rights defined through roles.
|
Ocean Protocol defines an [ERC721Factory](https://github.com/oceanprotocol/contracts/blob/v4Hardhat/contracts/ERC721Factory.sol) contract which will allow users to deploy ERC721 contract instances on any of the supported networks. The deployed contract can be associated with Metadata information which describes, also published on-chain. The [Metadata](https://github.com/oceanprotocol/contracts/blob/v4Hardhat/contracts/metadata/Metadata.sol) contract will store the information about the asset, and associated access rights defined through roles.
|
||||||
|
|
||||||
|
### Combining ERC721 and ERC20
|
||||||
|
|
||||||
|
ERC20 interface represents fungible tokens. ERC721 and ERC20 combined together can be used for sub-licensing. These sub-licenses can be traded on any AMM as the underlying contract is ERC20 compliant.
|
||||||
|
|
||||||
|
Ocean Protocol's [ERC721Template](https://github.com/oceanprotocol/contracts/blob/v4Hardhat/contracts/templates/ERC721Template.sol) provides functionality to create comibinations of ERC721 and ERC20 contract pairs, each of this pair can represent a different sub-license.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
Once the contract is deployed, it will be available on the Ocean Marketplace for trade.
|
Once the contract is deployed, it will be available on the Ocean Marketplace for trade.
|
||||||
|
Loading…
Reference in New Issue
Block a user