-
Notifications
You must be signed in to change notification settings - Fork 6
Feat/V5 WIP #74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
AdriGeorge
wants to merge
30
commits into
main
Choose a base branch
from
feat/signV5
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Feat/V5 WIP #74
Changes from 23 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
380da1a
chore: publish ddo v 5.0.0
AdriGeorge d25270d
chore: publish v5
AdriGeorge 2cb6eb0
chore: asset v5
AdriGeorge 36d0866
fix: fix
AdriGeorge a0d932f
chore: publish asset v5
AdriGeorge 76b0190
chore: downalod
AdriGeorge 0774825
chore: downalod
AdriGeorge 7f91262
fix: removed unused file
AdriGeorge 3944f79
fix: new ddo v5
AdriGeorge 44fb7d2
fix: others commands
AdriGeorge e082cd0
fix: some fixs
AdriGeorge 0a74e8b
fix: fix
AdriGeorge 1de3e9e
fix: fix
AdriGeorge 80006b8
wip
AdriGeorge 93aa969
fix: fix
AdriGeorge acf4dad
add issuer in ddo
AdriGeorge db83d46
chore: handle new ddo object with header, payload and signature
AdriGeorge 8fa017b
chore: verify web3 sign
AdriGeorge 4d516c3
fix: pull from main
AdriGeorge 7947f6d
fix: commented unused code
AdriGeorge b7dbe01
fix: tests
AdriGeorge e638bec
fix: tests
AdriGeorge 26af8d3
fix: tests
AdriGeorge 2d3efc5
fix: fix
AdriGeorge 7c878b2
fix: v 4.7.0 in allowed versions
AdriGeorge 363baa0
fix: removed unused file
AdriGeorge 6447d3c
Update README.md
AdriGeorge e895f0e
fix: switch removed
AdriGeorge 8ce39be
fix: removed swith
AdriGeorge 85e2027
fix: context
AdriGeorge File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| <?xml version="1.0"?> | ||
| <rss version="2.0"> | ||
| <channel> | ||
| <title>abstract10.xml.gz</title> | ||
| <link>http://download.wikimedia.org/enwiki/20241001</link> | ||
| <description>Wikimedia dump updates for enwiki</description> | ||
| <item> | ||
| <title>http://download.wikimedia.org/enwiki/20241001</title> | ||
| <link>http://download.wikimedia.org/enwiki/20241001</link> | ||
| <description><a href="http://download.wikimedia.org/enwiki/20241001/enwiki-20241001-abstract10.xml.gz">enwiki-20241001-abstract10.xml.gz</a></description> | ||
| <pubDate>Sun, 06 Oct 2024 20:17:29 GMT</pubDate> | ||
| </item> | ||
| </channel> | ||
| </rss> |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| { | ||
| "id": "ccb398c50d6abd5b456e8d7242bd856a1767a890b537c2f8c10ba8b8a10e6026", | ||
| "name": "Service 2", | ||
| "description": { | ||
| "@value": "Service 2 for accessing the dataset", | ||
| "@language": "en", | ||
| "@direction": "ltr" | ||
| }, | ||
| "type": "access", | ||
| "datatokenAddress": "", | ||
| "files": { | ||
| "datatokenAddress": "", | ||
| "nftAddress": "", | ||
| "files": [ | ||
| { | ||
| "type": "url", | ||
| "url": "https://dumps.wikimedia.org/enwiki/latest/enwiki-latest-abstract10.xml.gz-rss.xml", | ||
| "method": "GET" | ||
| } | ||
| ] | ||
| }, | ||
| "credentials": [], | ||
| "serviceEndpoint": "", | ||
| "timeout": 86400 | ||
| } |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,88 @@ | ||
| { | ||
| "@context": ["https://w3id.org/did/v1"], | ||
| "version": "5.0.0", | ||
| "credentialSubject": { | ||
| "id": "", | ||
| "chainId": 8996, | ||
| "metadata": { | ||
| "created": "2023-08-01T17:09:39Z", | ||
| "updated": "2023-08-01T17:09:39Z", | ||
| "type": "algorithm", | ||
| "name": "avreage price real estate algo", | ||
| "symbol": "ALGOV5", | ||
| "description": { | ||
| "@value": "New algo published using ocean CLI tool with version 5.0.0", | ||
| "@language": "en", | ||
| "@direction": "ltr" | ||
| }, | ||
| "author": "OPF", | ||
| "license": { | ||
| "name": "https://market.oceanprotocol.com/terms" | ||
| }, | ||
| "additionalInformation": { | ||
| "termsAndConditions": true | ||
| }, | ||
| "algorithm": { | ||
| "language": "", | ||
| "version": "0.1", | ||
| "container": { | ||
| "entrypoint": "node $ALGO", | ||
| "image": "node", | ||
| "tag": "latest", | ||
| "checksum": "sha256:1155995dda741e93afe4b1c6ced2d01734a6ec69865cc0997daf1f4db7259a36" | ||
| } | ||
| } | ||
| }, | ||
| "services": [ | ||
| { | ||
| "id": "1234567890", | ||
| "type": "compute", | ||
| "name": "Access Service", | ||
| "description": { | ||
| "@value": "Service for accessing the dataset", | ||
| "@language": "en", | ||
| "@direction": "ltr" | ||
| }, | ||
| "files": { | ||
| "datatokenAddress": "0x0", | ||
| "nftAddress": "0x0", | ||
| "files": [ | ||
| { | ||
| "hash": "QmQN9hWcqN7chF3qrAL5HpZSkfc9kvjSH7o4LaGVMxs9gu", | ||
| "type": "ipfs" | ||
| } | ||
| ] | ||
| }, | ||
| "timeout": 86400, | ||
| "compute": { | ||
| "allowRawAlgorithm": false, | ||
| "allowNetworkAccess": true, | ||
| "publisherTrustedAlgorithmPublishers": [], | ||
| "publisherTrustedAlgorithms": [] | ||
| }, | ||
| "credentials": [] | ||
| } | ||
| ], | ||
| "credentials": [], | ||
| "nftAddress": "" | ||
| }, | ||
| "issuer": "did:op:issuer-did", | ||
| "type": ["VerifiableCredential"], | ||
| "additionalDdos": [], | ||
| "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 hidden or 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 hidden or 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 |
|---|---|---|
| @@ -0,0 +1,80 @@ | ||
| { | ||
| "@context": ["https://w3id.org/did/v1"], | ||
| "version": "5.0.0", | ||
| "credentialSubject": { | ||
| "id": "", | ||
| "metadata": { | ||
| "created": "2021-12-20T14:35:20Z", | ||
| "updated": "2021-12-20T14:35:20Z", | ||
| "type": "dataset", | ||
| "name": "CLi fixed asset", | ||
| "description": { | ||
| "@value": "New asset published using ocean CLI tool with version 5.0.0", | ||
| "@language": "en", | ||
| "@direction": "ltr" | ||
| }, | ||
| "tags": ["test"], | ||
| "author": "oceanprotocol", | ||
| "providedBy": "oceanprotocol", | ||
| "copyrightHolder": "copirightHolder", | ||
| "license": "https://market.oceanprotocol.com/terms", | ||
| "additionalInformation": { | ||
| "termsAndConditions": true | ||
| } | ||
| }, | ||
| "services": [ | ||
| { | ||
| "id": "ccb398c50d6abd5b456e8d7242bd856a1767a890b537c2f8c10ba8b8a10e6025", | ||
| "type": "compute", | ||
| "name": "service 1", | ||
| "files": { | ||
| "datatokenAddress": "0x0", | ||
| "nftAddress": "0x0", | ||
| "files": [ | ||
| { | ||
| "type": "url", | ||
| "url": "https://raw.githubusercontent.com/oceanprotocol/c2d-examples/main/branin_and_gpr/branin.arff", | ||
| "method": "GET" | ||
| } | ||
| ] | ||
| }, | ||
| "datatokenAddress": "", | ||
| "serviceEndpoint": "http://10.84.128.6:8001", | ||
| "timeout": 86400, | ||
| "compute": { | ||
| "allowRawAlgorithm": false, | ||
| "allowNetworkAccess": true, | ||
| "publisherTrustedAlgorithmPublishers": [], | ||
| "publisherTrustedAlgorithms": [] | ||
| }, | ||
| "credentials": [], | ||
| "state": 0 | ||
| } | ||
| ], | ||
| "datatokens": [], | ||
| "credentials": [], | ||
| "chainId": 8996, | ||
| "nftAddress": "" | ||
| }, | ||
| "issuer": "did:op:issuer-did", | ||
| "type": ["VerifiableCredential"], | ||
| "stats": { | ||
| "allocated": 0, | ||
| "orders": 0, | ||
| "price": { | ||
| "value": "0" | ||
| } | ||
| }, | ||
| "nft": { | ||
| "address": "", | ||
| "name": "Ocean Data NFT", | ||
| "symbol": "OCEAN-NFT", | ||
| "state": 5, | ||
| "tokenURI": "", | ||
| "owner": "", | ||
| "created": "" | ||
| }, | ||
| "purgatory": { | ||
| "state": false | ||
| } | ||
| } |
This file contains hidden or 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 hidden or 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 |
|---|---|---|
| @@ -0,0 +1,84 @@ | ||
| { | ||
| "@context": ["http://schema.org/"], | ||
| "version": "5.0.0", | ||
| "credentialSubject": { | ||
| "id": "", | ||
| "metadata": { | ||
| "created": "2024-10-03T14:35:20Z", | ||
| "updated": "2024-10-03T14:35:20Z", | ||
| "type": "dataset", | ||
| "name": "DDO 5.0.0 Asset", | ||
| "description": { | ||
| "@value": "New asset published using ocean CLI tool with version 5.0.0", | ||
| "@language": "en", | ||
| "@direction": "ltr" | ||
| }, | ||
| "copyrightHolder": "", | ||
| "providedBy": "", | ||
| "author": "oceanprotocol", | ||
| "license": { | ||
| "name": "https://market.oceanprotocol.com/terms" | ||
| }, | ||
| "tags": ["version-5", "new-schema"], | ||
| "categories": ["data", "ocean-protocol"], | ||
| "additionalInformation": { | ||
| "termsAndConditions": true | ||
| } | ||
| }, | ||
| "services": [ | ||
| { | ||
| "id": "ccb398c50d6abd5b456e8d7242bd856a1767a890b537c2f8c10ba8b8a10e6025", | ||
| "type": "access", | ||
| "name": "Access Service", | ||
| "description": { | ||
| "@value": "Service for accessing the dataset", | ||
| "@language": "en", | ||
| "@direction": "ltr" | ||
| }, | ||
| "datatokenAddress": "0x0", | ||
| "nftAddress": "", | ||
| "serviceEndpoint": "https://v4.provider.oceanprotocol.com", | ||
| "files": { | ||
| "datatokenAddress": "0x0", | ||
| "nftAddress": "0x0", | ||
| "files": [ | ||
| { | ||
| "type": "url", | ||
| "url": "https://dumps.wikimedia.org/enwiki/latest/enwiki-latest-abstract10.xml.gz-rss.xml", | ||
| "method": "GET" | ||
| } | ||
| ] | ||
| }, | ||
| "timeout": 86400, | ||
| "compute": { | ||
| "allowRawAlgorithm": false, | ||
| "allowNetworkAccess": true | ||
| }, | ||
| "state": 0, | ||
| "credentials": [] | ||
| } | ||
| ], | ||
| "credentials": [], | ||
| "chainId": 8996, | ||
| "nftAddress": "" | ||
| }, | ||
| "issuer": "did:op:issuer-did", | ||
| "type": ["VerifiableCredential"], | ||
| "nft": { | ||
| "address": "", | ||
| "name": "Ocean Data NFT", | ||
| "symbol": "OCEAN-NFT", | ||
| "state": 5, | ||
| "tokenURI": "", | ||
| "owner": "", | ||
| "created": "" | ||
| }, | ||
| "stats": { | ||
| "allocated": 0, | ||
| "orders": 0, | ||
| "price": { | ||
| "value": "0" | ||
| } | ||
| }, | ||
| "additionalsDdos": [] | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.