Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Zach Gollwitzer
    @zachgoll

    Hi all,

    I just found this hackathon via the Consensys newsletter but it looks like final submissions are due December 21? Is this still the case or has the deadline been extended?

    Zach Gollwitzer
    @zachgoll
    And if it is Dec. 21, why did Consensys just now send out an email?
    David Perrenoud
    @davidperrenoud
    Cool challenge, good luck everyone!
    Is anybody integrating with the Zug ID? If yes just ping me
    Alex Edelstein
    @Alex_Edelstein_twitter
    @makoto All submissions will be open sourced, regardless of winning.
    @zachgoll Yes, the deadline will still be the 21st. Apologies for the short notice -- we've been promoting the hackathon since Dec 1st, ConsenSys was just sending out a reminder/update.
    Zach Gollwitzer
    @zachgoll
    @Alex_Edelstein_twitter no worries just wanted to check!
    Tomisin Jenrola
    @ToJen
    @Alex_Edelstein_twitter will there be announcements made ahead of future hackathons?
    Alex Edelstein
    @Alex_Edelstein_twitter
    @ToJen yes absolutely
    Makoto Inoue
    @makoto
    @Alex_Edelstein_twitter thanks for the clarification
    Makoto Inoue
    @makoto
    Screenshot_20171219-110551.jpg
    I am on this confirmation page and clicking "Continue" does not do anything even though "Cancel" button work. What can be wrong apart from potentially network too slow (though I am currently in a cafe with wifi where network speed is quite fast)
    skkiran
    @skkiran
    Im a browser extension developer and want to integrate our extension with uPort. I dont want to give the full source code of the extension. I can given the code of just the integration part for submission. Is that ok with your TOS?
    Zach Gollwitzer
    @zachgoll
    I have been working a long time trying to integrate uPort with my Angular2 front-end but without success. I ended up using a CDN to get the uport-connect object. All the tutorials/documentation are in React. Is uPort integration possible with Angular? and if so, by what means? When I try to import uport-connect into my angular app it fails.
    skkiran
    @skkiran

    Simplest option: add following to your html file:

    <script src="https://unpkg.com/uport-connect/dist/uport-connect.min.js"></script>

    add following to the top of the component where you want to access functions in uPort library:

    declare var uportconnect: any;

    then use following to connect to uport:

    const uport = new uportconnect.Connect('MyDApp')
    uport.requestAddress().then((address) => {
      console.log(address)
    })
    Etienne Fichot
    @efichot
    Hi guys, anyone knows if the code of the uport ios app is available on github?
    Zach Gollwitzer
    @zachgoll
    @skkiran lifesaver!
    Tomisin Jenrola
    @ToJen
    do others have access to my uPort app as long as I keep the clientId and signer in my files?
    SAKhadoos
    @SAKhadoos
    Could anyone help me with below query? Is there any demo/tutorial for key recovery mechanism in uPort?
    asmallfurrywombat
    @asmallfurrywombat
    I'm at https://developer.uport.me/myapps.html and the indicator is spinning for about 10 minutes. Is the server down?
    asmallfurrywombat
    @asmallfurrywombat
    I just tried the uport demo to buy shares on the Rinkeby network.. so it seems to be up.
    asmallfurrywombat
    @asmallfurrywombat
    nevermind.. it just responded.
    so.. uport AppManager says it wants to create an ethereum identity for my application and asks me to "Connect with uPort". Which i do. It replies with a Login Request.. it's asking for my name, which is fine, so i Continue.. and end up right back at the "Connect with uPort" screen.
    asmallfurrywombat
    @asmallfurrywombat
    ok - i think i registered an app. The uPort app doesn't seem to notify the user when it has a pending transaction running. Also, the telephone number registration wants a country, but it doesn't really tell you unless you press the "+1" field. Not complaining.. just an observation.
    Jordi
    @agojira
    Hi all, I'm pretty stucked implemting a raw client in python for uport-identity, my problem is that the signature is never verified, after tons of debug I think that I'm encoding wringly the nonce value
    any ideas about the format?
    Joel Thorstensson
    @oed
    @agojira can you describe what you are trying to do in more detail?
    Jordi
    @agojira
    Sure!
    hashInput = '0x19' + '00' + tx_relay_address[2:].lower() + whitelistOwner[2:].lower() + str(utils.zpad(utils.int_to_bytes(my_nonce), 64).hex()) + destinationAddress[2:].lower() + utils.encode_hex(data)
    I'm trying to build the string that will be hashed, in anothe part of the code it's done the following:
    hash = utils.sha3(hashInput )
    once signed the ecrecover is not giving me the same origin address
    Jordi
    @agojira
    I've tested that the signature of a same hash is correctly verified, but it seems that the solidity sha3 function is calculating the hashInput string in a different way, because the hashes are different
    Another test I've done is to create a contract that only tests the signature of a externaly signed hash, and it's properly verified
    Jordi
    @agojira
    These are the values of the variables when calling the sha3 function:
    tx_relay_address:   4617477c9c4df3f7970680c35819b47f2787cd94
    whitelistOwner:     0000000000000000000000000000000000000000
    nonce:              00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000015
    destinationAddress: 813778abd5701a128dbc73a73ac2d50974be6615
    data:               a949c6370000000000000000000000009501f8b48b1653ca3bee375af93976193a25c4bb0000000000000000000000007d2e0d47a5af493ad4b5430e49eeace5e889fd1e0000000000000000000000008303cb0242c88a4737b275ae255bd3a4dd1a0df7
    And these are the values that the funcion in the smart contract receives:
    tx_relay_address -- 0x4617477c9C4df3f7970680C35819B47f2787cd94
    destinationAddress -- 0x813778AbD5701a128dbc73a73ac2D50974Be6615
    whitelistOwner -- 0x0000000000000000000000000000000000000000
    nonce -- 21 (15 hex = 21 int)
    z -- 00
    b -- 19
    data -- a949c6370000000000000000000000009501f8b48b1653ca3bee375af93976193a25c4bb0000000000000000000000007d2e0d47a5af493ad4b5430e49eeace5e889fd1e0000000000000000000000008303cb0242c88a4737b275ae255bd3a4dd1a0df7
    Jordi
    @agojira
    The diferrence is that the addresses are with checksum format, but I would like to assume that the sha3 function in solidity understands how to handle it, because if I try to pass the addresses in python without the implicit cheksum I get an errror. I tried to build the hashInput with the checksum in the addresses, but no success :(
    Jordi
    @agojira
    OK, I found what was wrong in python.
    def sign_string(self, _to_sign, ):
            _to_sign = utils.remove_0x_head(_to_sign)
            _to_sign = utils.decode_hex(_to_sign)
            my_hash = utils.sha3(_to_sign)
            ...
    Otherwise it's not interpreted as the bytes of the string representing an hex value, but is interpreted as the 'plain' string.
    And ofcourse the padding of the nonce was wrong
    utils.zpad(utils.int_to_bytes(my_nonce), 64).hex()
    Jordi
    @agojira
    utils.zpad(utils.int_to_bytes(my_nonce), 32).hex()
    jharris-code
    @jharris-code
    I have a general question on uPort (if this isn't the right place to ask let me know): it appears from my research that claim attestations are stored in the mobile app on the mobile device, and not on chain anywhere. This means that if the mobile device is lost, the claims could be lost. I do understand there is a recovery mechanism, but that is for the identity from what I can see, not claims. Am I correct in understanding this?
    Joel Thorstensson
    @oed
    @jharris-code you are correct. We are adding a recovery mechanism for claims also though
    Justin Eichel
    @jeichel-miovision
    hi everyone, I was wondering if there is an ethpm package (or plans) for uport contracts, otherwise I can probably rig something up to use the npm package and some truffle integration scripts. I'm building up a private net and want to make sure the contracts are versioned and updated with bug fixes rather than copying code. Please let me know if this is a better question for elsewhere. Thank you.
    Justin Eichel
    @jeichel-miovision
    Also, does anyone have an example of how to setup a ProvisioningServer for a private chain (based on https://developer.uport.me/flows/privatechain/)? I can't seem to find much information on it. I've already ported most of the lambda-sensui code into a node project so I can run things locally first without AWS. Again, please let me know if this is a better conversation for somewhere else. Thanks.
    Juan Castellon
    @Juan-cc
    Hey everybody, does anyone know if I can have more than 1 uPort Rinkeby account on my mobile? I am doing a development where I need to simulate different roles/ids. Thx!!