Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Samer
    @ssallam
    @adonnini see my comment above ^^ pointing to squid-js code
    @adonnini and here is the details of brizo.encrypt:
    https://github.com/oceanprotocol/squid-js/blob/master/src/brizo/Brizo.ts#L108
    adonnini
    @adonnini
    @ssallam my initial idea is to add the encrypt/decrypt function in brizo.ts to BrizoService.java so that the call publisherWorker.encryptDocument in SecretStoreManager.jav will access the encrypt function in BrizoService.java.
    Is the signature variable in the encrypt function in brizo.ts what is called documentKeyId in publisherWorker.encryptDocument?
    Thanks
    Samer
    @ssallam
    @adonnini signature is the signed did, signed with the publisher key (consumer key when consuming)
    in squid-java, i think documentKeyId is the same as did
    ETH DELHI
    @ethdelhi_gitlab
    can I get some pacific token ?
    when I am clicking on add fine, its not going forward
    Alex Coseru
    @alexcos20
    @ethdelhi_gitlab - can you try running your app on nile? thanks
    Beth McCarthy
    @ontologymachine
    @ethdelhi_gitlab do you know how to get tokens for nile from the faucet? https://blog.oceanprotocol.com/a-dip-into-the-nile-beta-network-51afd6145b6c
    ETH DELHI
    @ethdelhi_gitlab
    done
    thanks
    Martijn Bolt
    @martijnbolt
    Hi all. I don't use apple and have no linux on my current laptop. Can I set-up a PC with a headless debian distribution and use barge in that way? If so, what system requirements (CPU & memory) are recommended?
    adonnini
    @adonnini
    @ssallam I am confused.
    In squid-java parameters for signing (EvmDto.signDocumentKeyId) are
    address, password, documentKeyId
    in squid-js (your reference) they are
    noDidPrefixed(did), publisher.getId(), publisher.getPassword()
    Unless I read them wrong, it seems that if
    publisher.getId() >>> address
    publisher.getPassword() >>> password
    then
    noDidPrefixed(did) >>> documentKeyId
    Is this correct? If it is, then documentKeyId corresponds to did, right?
    Matthias Kretschmann
    @kremalicious

    @martijnbolt while barge is mainly optimized for local development, there is a --exposeip option flag exactly for the use case of a remote deployment https://github.com/oceanprotocol/barge#all-options

    As far as system requirements go, the most consume hungry resource out of all components is running a full Parity node which usually requires at least 4GB of RAM, a SSD, and multi-core CPU. https://wiki.parity.io/FAQ#what-are-the-parity-ethereum-disk-space-needs-and-overall-hardware-requirements

    You could also look into using Windows' WSL and run Docker in there. Or did you actually try running Barge on Windows? There was a technical restriction in Docker for Windows back when we created Barge so we decided to not support Windows at that time, which just means we do not test it on there. But by now it might just work

    Martijn Bolt
    @martijnbolt
    Thanks @kremalicious, that helps. Not tried Windows for the reasons you mention. :-) I need a set-up I can use with a dev team in a local network, during the odyssey hackathon.
    Beth McCarthy
    @ontologymachine
    <6 hours to go before the Data Economy Challenge deadline! Does anyone have any final questions or needs?
    Beth McCarthy
    @ontologymachine
    the Data Economy Challenge is now CLOSED! thank you so much to everyone who participated, we look forward to starting to check out all the submissions :D
    adonnini
    @adonnini
    @ssallam Before I start coding could you please confirm that the two key methods I need to implement are:
    https://github.com/oceanprotocol/squid-js/blob/master/src/ocean/utils/SignatureUtils.ts#L9
    and
    https://github.com/oceanprotocol/squid-js/blob/master/src/brizo/Brizo.ts#L108
    If I am correct, I (will) may have additional questions. I hope you won't mind if I contact you again about them.
    Thanks
    Samer
    @ssallam
    @adonnini correct, documentKeyId is the did
    squid-java should already have a method to sign a message, maybe you don't need to implement this.
    for the signature all you need is to do the equivalent of this.web3.eth.personal.sign(text, publicKey, password) where text is the did, publicKey is the eth address
    in the encrypt method, the document is the files list from the ddo.metadata.main section
    Samer
    @ssallam
    you could create a new issue under squid-java repo, we can continue discussion there
    adonnini
    @adonnini
    @ssallam I just opened a new issue in the squid-java repo as you suggested:
    oceanprotocol/squid-java#151
    I included what I though are the most relevant messages from our conversation to date.
    Samer
    @ssallam
    thanks @adonnini
    adonnini
    @adonnini
    @ssallam I added an entry to follow up on your comment above
    matrixbot
    @matrixbot
    insidenima Testing Gitter-Riot integration -n
    ETH DELHI
    @ethdelhi_gitlab
    is there any grant from ocean ?
    Beth McCarthy
    @ontologymachine

    Hello Data Economy Challenge participants,

    Thank you so much for your diligent work and compelling contributions to the challenge! We're deep in the judging process now and thrilled with the creativity and quality of submissions so far, with winners emerging as we close in on Announcement Day (29 January)!

    In the meantime, would you be willing to take a few minutes to fill out the Data Economy Challenge Participant Survey?

    We hope to take your perspective into account as we learn from this pilot challenge to create the best possible hackathons, bounties and onboarding experiences for our developer ecosystem.

    Please follow this link to the survey:
    https://docs.google.com/forms/d/e/1FAIpQLSdFiTKarjVpK54PtMjC1dNHRF_kDY8o9fERjtedZDsX9LPa-g/viewform

    Cheers,

    Beth and the Ocean Team

    Questions?

    If you have any questions about the hackathon or survey, please reach out in one of the following ways:

    • email beth@oceanprotocol.com
    • message Beth on Telegram, Gitter or Discord @ontologymachine
    • post on the discussion forum
    ETH DELHI
    @ethdelhi_gitlab
    whos winner ?
    khanhphungntu
    @khanhphungntu
    @khanhphungntu
    Hi everyone, I am Louis from Daimler team
    Can you provide me some guides to set up and configure private Parity Ethereum with OP?
    adonnini
    @adonnini
    @kremalicious hi when will @ssallam be available again? I need his help in getting a quid-Java to support access to commons. Thanks
    @kremalicious I meant squid-java. Sorry
    Alex Coseru
    @alexcos20
    @khanhphungntu - check out barge (https://github.com/oceanprotocol/barge/). Without any options (./start_ocean.sh) will install a private POA network (spree) and then it will deploy the contracts (keeper-contracts). After the contracts are deployed, all other components will start (aquarius,brizo,commons, etc)
    pallares6
    @pallares6
    Hello!!. When i run barge with nile testnet i have two problems. One of these is that i just can link my metamask account in https://commons.nile.dev-ocean.com/ but not in http://localhost:3000.
    Captura.JPG

    Captura.JPG

    The other one is that smart contracts don't run well in my deployment

    If someone would help me, I'd be very grateful
    Matthias Kretschmann
    @kremalicious
    @adonnini I suggest again to rather open issues in squid-java and repo, and describe your problem there. This would also greatly increase the chances of helping everyone who runs into same problems as you
    Matthias Kretschmann
    @kremalicious

    @pallares6 when running under http://localhost:3000 to which network are you connected in MetaMask? You should choose Localhost:8545, and NOT Nile because the networks are all remote networks.

    As for the red Contracts lamp, you can ignore that for now if the only warning message in browser console you see is Error on contract ComputeExecutionCondition. This is a known issue right now with Brizo loading v0.13.1 of keeper-contracts but squid-js already loads v0.13.2. This should not affect any existing live functionality, meaning publish & consume should still work

    pallares6
    @pallares6
    @kremalicious I'm connecting to localhost:8545 in metamask but with Nile net, I didn't know so. I will try with spree net, thank you!
    adonnini
    @adonnini
    @kremalicious I did as you suggested several weeks ago. I am still waiting for a response from @ssallam Thanks
    Montana Flynn
    @montanaflynn
    Hi, I have some PROCN tokens, how can I exchange them for real ocean tokens?
    Nevermind I guess they automatically got put in but I didn't see them.
    adonnini
    @adonnini
    @kremalicious @ssallam I just added a new entry to the squid-java issue related to the failure to access Commons
    adonnini
    @adonnini
    @kremalicious @ssallam I just added another entry to the squid-java issue related to the failure to access Commons
    Taki
    @thashimoto1998
    Hello.
    I proposed OEP about Layer2(state channel) to solve scalability a week ago so I would appreciate if you could review.
    Thanks.
    adonnini
    @adonnini

    @kremalicious @ssallam I noticed that keeper contract releases are no longer on maven.

    When I go to
    https://www.npmjs.com/package/@oceanprotocol/keeper-contracts/v/0.13.2#packages

    it states:
    "To facilitate the integration of the Ocean Protocol's keeper-contracts there are Python, JavaScript and Java packages ready to be integrated. "

    and

    " Java Maven package - The Maven keeper-contracts package provides the same ABI's to be used from Java.

    The packages contains all the content from the doc/ and artifacts/ folders."

    Where can I get the latest release of keeper contracts?

    If the jave version of keeper contracts is no longer available, and effectively, yuou are no longer supporting Java, please let me know. I will find an alternative solution for my application.

    I would appreciate a response to this post. I do not want to keep bothering you, and wasting your and my time.

    Thanks

    Alex Coseru
    @alexcos20
    @adonnini - unfortunately, we do not maintain the java package anymore, due to lack of resources.
    you can find the latest keeper release here (https://github.com/oceanprotocol/keeper-contracts)
    adonnini
    @adonnini
    @alexcos20 Thanks for getting back to me. It's too bad I really wanted my app to work with Ocean Protocol. I am not looking forward to looking elsewhere. However, unfortunately, I don't have much of a choice. Thanks.
    Alex Coseru
    @alexcos20
    @adonnini - what are the req for your app? maybe you can leverage some calls to the agent
    adonnini
    @adonnini
    @alexcos20 That would be great. Here are the blockchain related functions of my app, which I have already implemented on the bigchainDB testnet:
    1) Store detailed location information for access points (AP) (primarily WiFi)
    2) For each AP with a record stored on the blockchain, update that record as needed (using CRAB approach)
    3) Retrieve record of APs in the vicinity (as given by one GPS reading) of a user's current location to accurately estimate that user's indoor/outdoor location
    The above three functions have been implemented and work using the bigchainDB testnet. Until last summer, using squid-java I was on my way to completing implementation to store, update and retrieve AP location information on Nile testnet (I was in the final pahse of testing/debugging).
    Since the changes to squid-java (version 0.8.0), my work has stopped because of issues with squid-java which @ssallam is aware of.
    With functions 1), 2) and 3) running, the next phase would include storing of user location and user mobility analytics information the blockchain for resale to third parties.
    I hope this answers your question.
    Again, thanks for your offer to help,
    Alex Donnini