Ocean Protocol V4 Smart Contracts
Roles at the data NFT level
Action ↓ / Role → | NFT Owner | Manager | ERC20 Deployer | Store Updater | Metadata Updater |
---|---|---|---|---|---|
Set token URI | |||||
Add manager | ✓ | ||||
Remove manager | ✓ | ||||
Clean permissions | ✓ | ||||
Set base URI | ✓ | ||||
Set Metadata state | ✓ | ||||
Set Metadata | ✓ | ||||
Create new datatoken | ✓ | ||||
Executes any other smart contract | ✓ | ||||
Set new key-value in store | ✓ |
Action ↓ / Role → | NFT Owner | Manager | ERC20 Deployer | Store Updater | Metadata Updater |
---|---|---|---|---|---|
Set token URI | |||||
Add manager | ✓ | ||||
Remove manager | ✓ | ||||
Clean permissions | ✓ | ||||
Set base URI | ✓ | ||||
Set Metadata state | ✓ | ||||
Set Metadata | ✓ | ||||
Create new datatoken | ✓ | ||||
Executes any other smart contract | ✓ | ||||
Set new key-value in store | ✓ |
Variable name | Description | Required |
---|---|---|
OCEAN_NETWORK | Name of the network where the Ocean Protocol's smart contracts are deployed. | Yes |
OCEAN_NETWORK_URL | The URL of the Ethereum node (along with API key for non-local networks)** | Yes |
PRIVATE_KEY | The private key of the account which you want to use. A private key is made up of 64 hex characters. Make sure you have sufficient balance to pay for the transaction fees. | Yes |
AQUARIUS_URL | The URL of the Aquarius. This value is needed when reading an asset from off-chain store. | No |
PROVIDER_URL | The URL of the Provider. This value is needed when publishing a new asset or update an existing asset. | No |
A vast ocean of data awaits you...