Ethereum Testnet

Filip,

That’s interesting. The tweet works from your twitter account but not from mine. I made my account public so that’s no longer a problem. Is there some other setting on twitter I should look at?

No, I didn’t tweet out anything. I just pasted the link to your tweet in the faucet. I don’t know what went on before, but at least now it works.

Where should I paste code from this documentation: https://github.com/uport-project/uport-connect

if I want to connect it to our dapp: github.com/filipmartinsson/Solidity/tree/master/Dapps/…

I am talking about this chunks of code:

import { Connect } from ‘uport-connect’
const uport = new Connect(‘MyDAppName’)
// or on mainnet
// const uport = new Connect(‘MyDAppName’, {network: ‘mainnet’})
and also this one:

uport.requestDisclosure()

uport.onResponse(‘disclosureReq’).then(res => {
const did = res.payload.did

})

What is the purpose of using uport? As far as I understand it, that logic is already implemented by superblocks. So it wouldn’t work to use uport. But if you describe what you want to accomplish I can maybe help you out.

Just to be geeky I decided to put my eternal stamp on the Ethereum main net with a very simple smart contract that literally just created an event with my name, age and date.

Though I definitely typed my age (stored in uint8) as 34, it shows up on etherscan as 54. No typo as I still have remix open and I can see that I did type 34, any ideas as to why this is? (In events tab you need to change "hex to “text” or “number”).

The purpuse of uPort is to make it very easy to log into that dapp only by scanning qr code with your smartphone no metamask required

I found a good video explaining how to do this but to do that properly he asked to put the private key in lambda or fire base Colin’s function and I have no idea how to do this as it looks really complicated Link to the video, he talks about it from 12:14 https://youtu.be/h7J-SYUOqeA

I was told to create that functionality: https://vimeo.com/239155784 what’s the easiest way to do it?

It shows up as 34 for me, when I look at the event. Weird… I think I’m looking at the right variable at least, no sign of 54 either.

1 Like

If you want to use uport instead of metamask I would not use superblocks. Superblocks is made for using metamask. If you want to use something else I would recommend you to install truffle. There is a video on my youtube channel on how to do that.

1 Like