-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from oceanprotocol/fix-publish
Use createAsset util function from ocean.js.
- Loading branch information
Showing
11 changed files
with
161 additions
and
356 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,70 +1,68 @@ | ||
{ | ||
"@context": [ | ||
"https://w3id.org/did/v1" | ||
], | ||
"id": "", | ||
"nftAddress": "", | ||
"version": "4.1.0", | ||
"chainId": 8996, | ||
"metadata": { | ||
"created": "2023-08-01T17:09:39Z", | ||
"updated": "2023-08-01T17:09:39Z", | ||
"type": "algorithm", | ||
"name": "avreage price real estate algo", | ||
"description": "Cli algo", | ||
"author": "OPF", | ||
"license": "https://market.oceanprotocol.com/terms", | ||
"additionalInformation": { | ||
"termsAndConditions": true | ||
}, | ||
"algorithm": { | ||
"language": "", | ||
"version": "0.1", | ||
"container": { | ||
"entrypoint": "node $ALGO", | ||
"image": "node", | ||
"tag": "latest", | ||
"checksum": "sha256:1155995dda741e93afe4b1c6ced2d01734a6ec69865cc0997daf1f4db7259a36" | ||
} | ||
} | ||
"@context": ["https://w3id.org/did/v1"], | ||
"id": "", | ||
"nftAddress": "", | ||
"version": "4.1.0", | ||
"chainId": null, | ||
"metadata": { | ||
"created": "2023-08-01T17:09:39Z", | ||
"updated": "2023-08-01T17:09:39Z", | ||
"type": "algorithm", | ||
"name": "avreage price real estate algo", | ||
"description": "Cli algo", | ||
"author": "OPF", | ||
"license": "https://market.oceanprotocol.com/terms", | ||
"additionalInformation": { | ||
"termsAndConditions": true | ||
}, | ||
"services": [ | ||
{ | ||
"id": "1234567890", | ||
"type": "compute", | ||
"files": { | ||
"datatokenAddress": "0x0", | ||
"nftAddress": "0x0", | ||
"files": [ | ||
{ | ||
"hash": "QmQN9hWcqN7chF3qrAL5HpZSkfc9kvjSH7o4LaGVMxs9gu", | ||
"type" : "ipfs" | ||
} | ||
] | ||
}, | ||
"timeout": 86400, | ||
"compute": { | ||
"allowRawAlgorithm": false, | ||
"allowNetworkAccess": true, | ||
"publisherTrustedAlgorithmPublishers": [], | ||
"publisherTrustedAlgorithms": [] | ||
} | ||
"algorithm": { | ||
"language": "", | ||
"version": "0.1", | ||
"container": { | ||
"entrypoint": "node $ALGO", | ||
"image": "node", | ||
"tag": "latest", | ||
"checksum": "sha256:1155995dda741e93afe4b1c6ced2d01734a6ec69865cc0997daf1f4db7259a36" | ||
} | ||
], | ||
"stats": { | ||
"allocated": 0, | ||
"orders": 0, | ||
"price": { | ||
"value": "0" | ||
} | ||
}, | ||
"services": [ | ||
{ | ||
"id": "1234567890", | ||
"type": "compute", | ||
"files": { | ||
"datatokenAddress": "0x0", | ||
"nftAddress": "0x0", | ||
"files": [ | ||
{ | ||
"hash": "QmQN9hWcqN7chF3qrAL5HpZSkfc9kvjSH7o4LaGVMxs9gu", | ||
"type": "ipfs" | ||
} | ||
] | ||
}, | ||
"timeout": 86400, | ||
"compute": { | ||
"allowRawAlgorithm": false, | ||
"allowNetworkAccess": true, | ||
"publisherTrustedAlgorithmPublishers": [], | ||
"publisherTrustedAlgorithms": [] | ||
} | ||
}, | ||
"nft": { | ||
"address": "", | ||
"name": "Ocean Data NFT", | ||
"symbol": "OCEAN-NFT", | ||
"state": 5, | ||
"tokenURI": "", | ||
"owner": "", | ||
"created": "" | ||
} | ||
} | ||
], | ||
"stats": { | ||
"allocated": 0, | ||
"orders": 0, | ||
"price": { | ||
"value": "0" | ||
} | ||
}, | ||
"nft": { | ||
"address": "", | ||
"name": "Ocean Data NFT", | ||
"symbol": "OCEAN-NFT", | ||
"state": 5, | ||
"tokenURI": "", | ||
"owner": "", | ||
"created": "" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,72 +1,66 @@ | ||
{ | ||
"@context": [ | ||
"https://w3id.org/did/v1" | ||
], | ||
"id": "", | ||
"nftAddress": "", | ||
"version": "4.1.0", | ||
"chainId": 8996, | ||
"metadata": { | ||
"created": "2021-12-20T14:35:20Z", | ||
"updated": "2021-12-20T14:35:20Z", | ||
"type": "dataset", | ||
"name": "dubai real estate data", | ||
"description": "dubai real estate dataset published using ocean.js cli tool", | ||
"tags": [ | ||
"test" | ||
], | ||
"author": "oceanprotocol", | ||
"license": "https://market.oceanprotocol.com/terms", | ||
"additionalInformation": { | ||
"termsAndConditions": true | ||
} | ||
}, | ||
"services": [ | ||
{ | ||
"id": "ccb398c50d6abd5b456e8d7242bd856a1767a890b537c2f8c10ba8b8a10e6025", | ||
"type": "compute", | ||
"files": { | ||
"datatokenAddress": "0x0", | ||
"nftAddress": "0x0", | ||
"files": [ | ||
{ | ||
"type": "ipfs", | ||
"hash": "QmdXLHfMwupDZbMXmTD1qA8QAiVfHdt1NiGwvokppdUxj4" | ||
} | ||
] | ||
}, | ||
"datatokenAddress": "", | ||
"serviceEndpoint": "https://v4.provider.oceanprotocol.com", | ||
"timeout": 86400, | ||
"compute": { | ||
"allowRawAlgorithm": false, | ||
"allowNetworkAccess": true, | ||
"publisherTrustedAlgorithmPublishers": [], | ||
"publisherTrustedAlgorithms": [] | ||
} | ||
} | ||
], | ||
"event": { | ||
}, | ||
"nft": { | ||
"address": "", | ||
"name": "Ocean Data NFT", | ||
"symbol": "OCEAN-NFT", | ||
"state": 5, | ||
"tokenURI": "", | ||
"owner": "", | ||
"created": "" | ||
}, | ||
"purgatory": { | ||
"state": false | ||
}, | ||
"datatokens": [ | ||
], | ||
"stats": { | ||
"allocated": 0, | ||
"orders": 0, | ||
"price": { | ||
"value": "0" | ||
"@context": ["https://w3id.org/did/v1"], | ||
"id": "", | ||
"nftAddress": "", | ||
"version": "4.1.0", | ||
"chainId": null, | ||
"metadata": { | ||
"created": "2021-12-20T14:35:20Z", | ||
"updated": "2021-12-20T14:35:20Z", | ||
"type": "dataset", | ||
"name": "dubai real estate data", | ||
"description": "dubai real estate dataset published using ocean.js cli tool", | ||
"tags": ["test"], | ||
"author": "oceanprotocol", | ||
"license": "https://market.oceanprotocol.com/terms", | ||
"additionalInformation": { | ||
"termsAndConditions": true | ||
} | ||
}, | ||
"services": [ | ||
{ | ||
"id": "ccb398c50d6abd5b456e8d7242bd856a1767a890b537c2f8c10ba8b8a10e6025", | ||
"type": "compute", | ||
"files": { | ||
"datatokenAddress": "0x0", | ||
"nftAddress": "0x0", | ||
"files": [ | ||
{ | ||
"type": "ipfs", | ||
"hash": "QmdXLHfMwupDZbMXmTD1qA8QAiVfHdt1NiGwvokppdUxj4" | ||
} | ||
] | ||
}, | ||
"datatokenAddress": "", | ||
"serviceEndpoint": "https://v4.provider.oceanprotocol.com", | ||
"timeout": 86400, | ||
"compute": { | ||
"allowRawAlgorithm": false, | ||
"allowNetworkAccess": true, | ||
"publisherTrustedAlgorithmPublishers": [], | ||
"publisherTrustedAlgorithms": [] | ||
} | ||
} | ||
} | ||
], | ||
"event": {}, | ||
"nft": { | ||
"address": "", | ||
"name": "Ocean Data NFT", | ||
"symbol": "OCEAN-NFT", | ||
"state": 5, | ||
"tokenURI": "", | ||
"owner": "", | ||
"created": "" | ||
}, | ||
"purgatory": { | ||
"state": false | ||
}, | ||
"datatokens": [], | ||
"stats": { | ||
"allocated": 0, | ||
"orders": 0, | ||
"price": { | ||
"value": "0" | ||
} | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.