-
Notifications
You must be signed in to change notification settings - Fork 7
ddoJs for v5 #131
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
Merged
Merged
ddoJs for v5 #131
Changes from all commits
Commits
Show all changes
55 commits
Select commit
Hold shift + click to select a range
99e4c68
chore: publish v5
AdriGeorge 05c098f
chore: publish v5
AdriGeorge bc2b222
chore: buy v5
AdriGeorge a8d1ab6
chore: free compute for v5
AdriGeorge c99c066
fix: removed file downaloded
AdriGeorge 0cf5f3b
fix: fix
AdriGeorge ff24527
fix: fix
AdriGeorge 3eb1d58
fix: fix
AdriGeorge f16b780
chore: paid c2d
AdriGeorge 622c64c
fix: test
AdriGeorge 50b7684
chore: publish, allow and disallow algo
AdriGeorge 310bece
chore: add example metadata
AdriGeorge 9814227
Merge pull request #132 from oceanprotocol/feat/publishV5
AdriGeorge f87e2bd
fix: fix
AdriGeorge 481ff00
chore: add serviceIds for dataset and algo in commands
AdriGeorge 587e940
Update README.md
AdriGeorge c719550
Update README.md
AdriGeorge f55cb7c
fix: fix
AdriGeorge d56b9f9
fix: logs
AdriGeorge 575845c
fix: logs
AdriGeorge 69c2dae
Update README.md
AdriGeorge 04dea96
fix: removed logs
AdriGeorge 4ee88e6
chore: some tests
AdriGeorge 812b5f7
fix: tests
AdriGeorge 38ec032
chore: tests
AdriGeorge edc393b
fix: tests
AdriGeorge d78df55
fix: tests
AdriGeorge f540202
fix: tests
AdriGeorge e0081e1
fix: tests
AdriGeorge b4f6f84
Merge branch 'main' of https://github.com/oceanprotocol/ocean-cli int…
AdriGeorge 8aacbbf
fix: merge with main
AdriGeorge 71f9df4
Merge branch 'main' of https://github.com/oceanprotocol/ocean-cli int…
AdriGeorge 02e2bf3
fix: merge
AdriGeorge 9c100cf
fix: fix
AdriGeorge cfc7914
fix: test
AdriGeorge 064af9c
Merge branch 'main' of https://github.com/oceanprotocol/ocean-cli int…
AdriGeorge c9fa4d2
fix: fix
AdriGeorge 496b196
fix: pull fro main
AdriGeorge ac3b137
Merge remote-tracking branch 'origin/main' into feat/ddojs-commands
AdriGeorge d0ccca3
fix: fix
AdriGeorge 01ceb2c
fix: tests
AdriGeorge 666dff0
Merge branch 'main' of https://github.com/oceanprotocol/ocean-cli int…
AdriGeorge 6a2233d
fix: fix
AdriGeorge 7527b65
fix: fix lint
AdriGeorge 9a48810
fix: lint
AdriGeorge a91ee21
fix: lint
AdriGeorge 36b4729
Merge branch 'main' of https://github.com/oceanprotocol/ocean-cli int…
AdriGeorge 85bb53b
Merge branch 'main' into feat/ddojs-commands
alexcos20 01b6f3a
fix
alexcos20 a22adda
fix
alexcos20 9f4a0a6
fix
alexcos20 aa02457
fix comments
alexcos20 701374b
fix samples
alexcos20 1567060
remove debug code
alexcos20 498ed25
fix policy order
alexcos20 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
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,199 @@ | ||
| { | ||
| "@context": [ | ||
| "https://www.w3.org/ns/credentials/v2" | ||
| ], | ||
| "id": "did:ope", | ||
| "version": "5.0.0", | ||
| "credentialSubject": { | ||
| "chainId": 8996, | ||
| "metadata": { | ||
| "created": "2025-09-09T11:57:52Z", | ||
| "updated": "2025-09-09T11:57:52Z", | ||
| "type": "algorithm", | ||
| "name": "cli algo test", | ||
| "description": { | ||
| "@value": "testing algo", | ||
| "@direction": "ltr", | ||
| "@language": "en" | ||
| }, | ||
| "tags": [ | ||
| "test" | ||
| ], | ||
| "author": "", | ||
| "license": { | ||
| "name": "https://raw.githubusercontent.com/oceanprotocol/c2d-examples/main/branin_and_gpr/branin.arff", | ||
| "licenseDocuments": [ | ||
| { | ||
| "sha256": "71a828f4ddc3fee436d80fc5b02535fc5e13ae8f19eae87ec02734bb01126c5b", | ||
| "mirrors": [ | ||
| { | ||
| "method": "get", | ||
| "type": "url", | ||
| "url": "https://raw.githubusercontent.com/oceanprotocol/c2d-examples/main/branin_and_gpr/branin.arff" | ||
| } | ||
| ], | ||
| "name": "https://raw.githubusercontent.com/oceanprotocol/c2d-examples/main/branin_and_gpr/branin.arff", | ||
| "fileType": "text/plain; charset=utf-8" | ||
| } | ||
| ] | ||
| }, | ||
| "links": {}, | ||
| "additionalInformation": { | ||
| "termsAndConditions": true | ||
| }, | ||
| "algorithm": { | ||
| "language": "arff", | ||
| "version": "0.1", | ||
| "container": { | ||
| "entrypoint": "node $ALGO", | ||
| "image": "node", | ||
| "tag": "latest", | ||
| "checksum": "sha256:c3688c7b5cc3b159ddf4f744594de62461df7ef43124378f118cb470e4f72bcb" | ||
| } | ||
| }, | ||
| "copyrightHolder": "", | ||
| "providedBy": "" | ||
| }, | ||
| "services": [ | ||
| { | ||
| "compute": { | ||
| "publisherTrustedAlgorithms": [], | ||
| "publisherTrustedAlgorithmPublishers": [ | ||
| "*" | ||
| ], | ||
| "allowRawAlgorithm": false, | ||
| "allowNetworkAccess": true | ||
| }, | ||
| "credentials": { | ||
| "allow": [ | ||
| { | ||
| "values": [ | ||
| { | ||
| "request_credentials": [ | ||
| { | ||
| "format": "jwt_vc_json", | ||
| "policies": [], | ||
| "type": "UniversityDegree" | ||
| } | ||
| ], | ||
| "vc_policies": [ | ||
| "not-before", | ||
| "revoked-status-list", | ||
| "signature" | ||
| ] | ||
| } | ||
| ], | ||
| "type": "SSIpolicy" | ||
| }, | ||
| { | ||
| "values": [ | ||
| { | ||
| "address": "*" | ||
| } | ||
| ], | ||
| "type": "address" | ||
| } | ||
| ], | ||
| "match_deny": "any", | ||
| "deny": [] | ||
| }, | ||
| "name": "test service", | ||
| "files": { | ||
| "datatokenAddress": "0x0", | ||
| "nftAddress": "0x0", | ||
| "files": [ | ||
| { | ||
| "type": "url", | ||
| "url": "https://raw.githubusercontent.com/oceanprotocol/c2d-examples/main/branin_and_gpr/branin.arff", | ||
| "method": "GET" | ||
| } | ||
| ] | ||
| }, | ||
| "description": { | ||
| "@value": "testing new service", | ||
| "@direction": "ltr", | ||
| "@language": "en" | ||
| }, | ||
| "id": "23033c06ea9adc6ff5dff42938417c7750e75efbdfbfecf5d6d544705450df24", | ||
| "datatokenAddress": "0x0", | ||
| "serviceEndpoint": "https://ocean-node-vm3.oceanenterprise.io", | ||
| "state": 0, | ||
| "type": "compute", | ||
| "timeout": 31556952 | ||
| } | ||
| ], | ||
| "nftAddress": "0x0", | ||
| "credentials": { | ||
| "allow": [ | ||
| { | ||
| "values": [ | ||
| { | ||
| "request_credentials": [ | ||
| { | ||
| "format": "jwt_vc_json", | ||
| "policies": [], | ||
| "type": "UniversityDegree" | ||
| } | ||
| ], | ||
| "vc_policies": [ | ||
| "not-before", | ||
| "revoked-status-list", | ||
| "signature" | ||
| ] | ||
| } | ||
| ], | ||
| "type": "SSIpolicy" | ||
| }, | ||
| { | ||
| "values": [ | ||
| { | ||
| "address": "*" | ||
| } | ||
| ], | ||
| "type": "address" | ||
| } | ||
| ], | ||
| "deny": [], | ||
| "match_deny": "any" | ||
| } | ||
| }, | ||
| "additionalDdos": [], | ||
| "type": [ | ||
| "VerifiableCredential" | ||
| ], | ||
| "issuer": "did:jwk:eyJrdHkiOiJPS1AiLCJjcnYiOiJFZDI1NTE5Iiwia2lkIjoiekxlRGh1UG15QndrampiV1pRZTBPeHdEMjMxYmx3aXFTMGQ0VTJETnZFbyIsIngiOiJta3NvaEladWlsblJWWmhTbmwxNGRpdTZZWDF3UUFFX0ozbWJoWDNDOFRjIn0", | ||
| "indexedMetadata": { | ||
| "stats": [ | ||
| { | ||
| "symbol": "OEAT", | ||
| "name": "Access Token", | ||
| "orders": 0, | ||
| "datatokenAddress": "", | ||
| "serviceId": "23033c06ea9adc6ff5dff42938417c7750e75efbdfbfecf5d6d544705450df24", | ||
| "prices": [ | ||
| { | ||
| "exchangeId": "", | ||
| "price": "2.0", | ||
| "contract": "", | ||
| "type": "fixedrate", | ||
| "token": "" | ||
| } | ||
| ] | ||
| } | ||
| ], | ||
| "nft": { | ||
| "state": 0, | ||
| "address": "", | ||
| "name": "Data NFT", | ||
| "symbol": "OEC-NFT", | ||
| "owner": "", | ||
| "created": "", | ||
| "tokenURI": "" | ||
| }, | ||
| "event": { | ||
| }, | ||
| "purgatory": { | ||
| "state": false | ||
| } | ||
| } | ||
| } |
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.