These are chat archives for ethereum/tutorials

23rd
May 2018
Qiao Liang
@qbig
May 23 2018 01:59

difference with or without emit ?

/* Notify anyone listening that this transfer took place */
        Transfer(msg.sender, _to, _value);

and

/* Notify anyone listening that this transfer took place */
        emit Transfer(msg.sender, _to, _value);
Qiao Liang
@qbig
May 23 2018 02:04
argh... got it.. emit is required for newer version of solidity..
Satyajit Deshmukh
@Jeet21
May 23 2018 06:18
Hello all
Can I store patient record on blockchain using smart contract.. I tried but it required huge amount of gas... Is any other way to do it.. and over come out of gas problem
Satyajit Deshmukh
@Jeet21
May 23 2018 07:00
Please reply if anyone know this
phiferd
@phiferd
May 23 2018 10:03
@Jeet21 probably not. Everything on the blockchain is readable by anyone, so I don't think you would want to put any patient info onto the blockchain. What sort of information (and how much) were you thinking of storing? For large objects, a common approach is to store a reference to the data that is actually stored somewhere else (e.g. a URL or an IPFS hash).
Satyajit Deshmukh
@Jeet21
May 23 2018 11:09
I want store full patient record with his operation history , allergies , Medical problem etc..
Now I am trying with ipfs and etherum .. any tutorial or link to follow
On more problem .. how can I read transactions from block
Priyabrata Dash
@bobquest33
May 23 2018 11:15
web3
for your address you can read
also ipfs is also may not be a full proof option .... for storing medical records
Satyajit Deshmukh
@Jeet21
May 23 2018 11:23
So what will be the right option other than ipfs?
Priyabrata Dash
@bobquest33
May 23 2018 11:24
depends on the scope of your application
Satyajit Deshmukh
@Jeet21
May 23 2018 11:37
Still can u tell options so that I can explore more
check this answer this will give some idea
Satyajit Deshmukh
@Jeet21
May 23 2018 11:41
Ok I will check thankx
Satyajit Deshmukh
@Jeet21
May 23 2018 13:09
0: string: satyea
1: string: {"sex":"female","profileImagePath":"","fname":"satyajit21","mname":"s2","lname":"d1","DOB":"2018-05-01","profile_image":"","usertext1":"t12sss2st"}
2: string: {"country_code":"IND","state":"MH","city":"pune","postal_code":"411046","street":"katraj","phone_cell":"9823412295","myfamilydoctors":"undefined","primary_emercontact_fname":"sdasad","primary_emercontact_lname":"undefined","emergency_contact":"8793387128","primary_emercontact_relation":"Father"}
i declare 3 variables and store this data
it works on remix but when i use web3 for my application and update this data it gives me out of gas error..
vitaminR
@vitaminR
May 23 2018 18:10
want to learn solidity. any ideas where to start
Satyajit Deshmukh
@Jeet21
May 23 2018 18:29
Best place to learn is crypto zombies
And cusetro videos on you tube
Nazgaard
@Nazgaard
May 23 2018 19:52
Hello. Can someone help me with error in code? Trying to deploy that in testnet https://www.ethereum.org/dao
Is this all error coz of bersion or?