Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
  • Jun 05 2016 10:31
    @alexvandesande banned @adamskee
  • Mar 16 2016 01:12
    @alexvandesande banned @scbosse
contract TokenERC20 {
// Public variables of the token
string public name;
string public symbol;
uint8 public decimals = 18;
// 18 decimals is the strongly suggested default, avoid changing it
uint256 public totalSupply;
I am playing around with this code with the ERC20 token, can someone help me now what are rge changes I need to do with this variables

Hello, I cannot realize the "auto refill" of gas, I have tried it for days. But it doesn't work. I copied it from the website of Ethereum:
uint public minBalanceForAccounts;

function setMinBalance(uint minimumBalanceInFinney) onlyOwner {
     minBalanceForAccounts = minimumBalanceInFinney * 1 finney;

Then, add this line to the transfer function so that the sender is refunded:

/* Send coins */
function transfer(address _to, uint256 _value) {
    if(msg.sender.balance < minBalanceForAccounts)
        sell((minBalanceForAccounts - msg.sender.balance) / sellPrice);

Can someone help me? Thanks a lot in advance!

Hi folks.new to this technology
looking for some guideance to start ethereum DAPP.any help will be appreciated
hi, im trying to understand how to create a criptocoin in ropsten or rinkeby but how I can have ethereum to create it
hi, i cannot connect to rinkeby network from my ethereum wallet
Qiao Liang

difference with or without emit ?

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


/* Notify anyone listening that this transfer took place */
        emit Transfer(msg.sender, _to, _value);
Qiao Liang
argh... got it.. emit is required for newer version of solidity..
Satyajit Deshmukh
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
Please reply if anyone know this
@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
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
for your address you can read
also ipfs is also may not be a full proof option .... for storing medical records
Satyajit Deshmukh
So what will be the right option other than ipfs?
Priyabrata Dash
depends on the scope of your application
Satyajit Deshmukh
Still can u tell options so that I can explore more
check this answer this will give some idea
Satyajit Deshmukh
Ok I will check thankx
Satyajit Deshmukh
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..
want to learn solidity. any ideas where to start
Satyajit Deshmukh
Best place to learn is crypto zombies
And cusetro videos on you tube
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?
Hey everyone! I dont understand one thing about the ethereum.org/crowdsale tutorial: How does the 'crowdsale' contract have the balance to transfer all these tokens to the buyers? Doesn't it initially have a 0 balance just like any other address?
Any help is appreciated
Is there any light sever? My Wallet cannot get synced.
"6 hours since last block"
Hello, I have deployed one contract, but it doesn't appear at my Ethereum Wallet, so I can't get the JSON INTERFACE, could someone tell me where to find it? Thanks!
Ishai Strauss
Hi everyone, I am looking to set up an ethereum node and stream transactions reliably (i.e. if the stream goes down for any reason, it picks up from where it left off) using web3.js
Can anyone give me a few basic steps that I would need to take?
1) Setup a node
2) Point web3 to the node
3) Call some streamReliably() function
tejasv sharma
How can i add some ether in my account in the ethereum-wallet desktop application ? I want to add some ether since I am on ropstentestnet
I o
And type in your addrsss
You'll get your 'test' ether in a few minutes @tejas2005
tejasv sharma
from where can i get my address @andreemic
tejasv sharma
thanx a lot @andreemic . my problem is resolved

I am Chinese, English is not very good, I am using a translator to talk to you, please forgive me

I export the keystore from the IM token, import it into the ethereum wallet, and the funds are out of sync

What should I do?
I need to get more test ether but all the facets are refusing me. What is wrong with me!!