Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jun 05 2016 10:31
    @alexvandesande banned @adamskee
  • Mar 16 2016 01:12
    @alexvandesande banned @scbosse
piethein1628
@piethein1628
@joshuguessennd What do you need help with?
870110
@870110
hi guys
...
india1290
@india1290
Hey Guys, I am new in blockchain, from where to start ?
noahchait
@noahchait
hey guys, how do i change the initial supply of a token
segasweet
@segasweet
@india1290 udemy has some great courses for blockchain development
greanlnwFX
@greanlnwFX
Source file requires different compiler version (current compiler is 0.4.13+commit.0fb4cb1a.Emscripten.clang - note that nightly builds are considered to be strictly less than the released version
pragma solidity ^0.4.16;
india1290
@india1290
@segasweet Thanks!!
oliveres
@oliveres
Hi, please, how I can burn unsold tokens ?
phalexo
@phalexo
@oliveres If you did not implement a burn function, you can't.
Saadat Rizvi
@SaadatRizvi
Hi, I am CS final year student. I am planning to make a project using the blockchain technology. I have no prior knowledge of the blockchain except that I took two weeks lectures of Princeton's Bitcoin and cryptocurrency technologies course on coursera. Can anyone recommend me any tutorials to kickstart my learning on ethereum development? Also any project ideas?
vineeth742
@vineeth742
hello any one here who cna develop a block chain here
piethein1628
@piethein1628
@vineeth742 I can
Pavel1991
@Pavel1991
Hello, I had a problem with synchronization of blocks in Ethereum wallet mist, prompt who had such problem and how it was solved?
4 days I can't already synchronize
Very long loads blocks
unether11
@unether11
@vineeth742 Yes ser i can develop Your blockchain based in eth or ur own token
phalexo
@phalexo
@unether11 You can develop his "blockchain"? What does it mean? It makes no sense.
unether11
@unether11
his private blockchain or a token based in ethereum blockchain @phalexo
why does it no make sense? @phalexo
eddie2024
@eddie2024
What is wrong with this if statement?
    if (current <= thirtyPercentEnd && weiRaised.add(msg.value) <= bonusThirtyCap) { bool withinCap == true;}
BlakeEthereumTest
@BlakeEthereumTest
Hello, need some help solving something, so im trying to create a ethereum crowdfund, using the code provided here https://www.ethereum.org/crowdsale, i am using a ethereum wallet..and when i go to input the crowdsale information, how do i set the price of each token to a decimal point e.g. 0.003 ethereum per token??
Keno Leon
@KenoLeon
@eddie2024 it could use an extra parentheses ?
eddie2024
@eddie2024
@KenoLeon I've tried a few variations, don't undestand where to put them
Keno Leon
@KenoLeon
@eddie2024 Do individual ifs before joining them.
eddie2024
@eddie2024
the brackets seem fine, the error was to do with the two == signs for the bool
thanks anyway
Keno Leon
@KenoLeon
Glad you solved your problem.
CharmerHQ
@CharmerHQ
once you download the program to create the ethereum contract... do you have to build on top of it using terminal or does the UI allow you to do everything in the interface?
eddie2024
@eddie2024
I write in sublime or vim. and demo on remix / mist
truffle framework is pretty handy too
once you have a contract deployed you can use the mist UI to interract with it(run functions)
CharmerHQ
@CharmerHQ
okay.
ryankrucker
@ryankrucker
okay. any good repos to check out for inspiration?
eddie2024
@eddie2024
open-zeppelin
its a truffle framework
Keno Leon
@KenoLeon
@CharmerHQ : Atom + parity/kovan is another route for testing.
piethein1628
@piethein1628
When I add these two lines it cannot compile the source code // Notify anyone listening that this transfer took place
Transfer(msg.sender, _to, _value);
event Transfer does not give a problem, what should I correct here to make it work:

// This generates a public event on the blockchain that will notify clients
event Transfer(address indexed from, address indexed to, uint256 value);

// Notify anyone listening that this transfer took place

Transfer(msg.sender, _to, _value);

It seems the event transfer line already has all the information, is this correct? What issues will I run into if I leave out the 2 lines after event Transfer?
eddie2024
@eddie2024
can someone send me some funds please on rinkeby: 0x6Ef4478444cEAd921fDCc409180f159b6FbfB98e
piethein1628
@piethein1628
@piethein1628 Fixed: relocated last two lines to end of contract
eddie2024
@eddie2024
I'm having some issues with this code, if anyone more knowledgeable could contribute thier 2 pence, it would be greatly appreciated:
  function validPurchase() internal constant returns (bool) {

    uint256 current = block.number;
    bool withinPeriod = current >= startBlock && current <= endBlock;
    bool nonZeroPurchase = msg.value != 0;
    bool withinCap = false;
/*  
    bool withinBonusThirtyCap = current <= thirtyPercentEnd && weiRaised.add(msg.value) <= bonusThirtyCap;
    bool withinBonusTwentyCap = current <= twentyPercentEnd && weiRaised.add(msg.value) <= bonusTwentyCap;
    bool withinBonusTenCap = current <= tenPercentEnd && weiRaised.add(msg.value) <= bonusTenCap;
    bool withinMaxCap = weiRaised.add(msg.value) <= cap;
    bool withinCap = (withinBonusThirtyCap || withinBonusTwentyCap||withinBonusTenCap|| withinMaxCap);
*/    
    if (current <= thirtyPercentEnd && weiRaised.add(msg.value) <= bonusThirtyCap){ 
      withinCap = true;
      } else if (current <= twentyPercentEnd && weiRaised.add(msg.value) <= sumTwenThirty){
      withinCap = true;
      } else if (current <= tenPercentEnd && weiRaised.add(msg.value) <= sumThiTwenTen){
      withinCap = true;
      } else if (current > tenPercentEnd && weiRaised.add(msg.value) <= cap){
      withinCap = true;
    }/* else { 
      withinCap = false;
      //return !withinCap;
    }   
*/
//    bool withinCap = (withinBonusThirtyCap || withinBonusTwentyCap||withinBonusTenCap|| withinMaxCap);
    return withinPeriod && nonZeroPurchase && withinCap;  
   }
other related code :
    blockShare = (endBlock - startBlock)/100;
    thirtyPercentEnd = (startBlock +(20 * blockShare));
    twentyPercentEnd = (thirtyPercentEnd +(20 * blockShare));
    tenPercentEnd = (twentyPercentEnd +(20 * blockShare));
    bonusThirtyCap = cap.div(5);
    bonusTwentyCap = cap.div(7);
    bonusTenCap = cap.div(10); 
    sumTwenThirty = (bonusTwentyCap + bonusThirtyCap);
    sumThiTwenTen = (bonusThirtyCap + bonusTwentyCap + bonusTenCap);
Vertigo Studios
@VERTlG0
@eddie2024 You're a coder?
I would think coders would know enough by now to use a paste bin service...
eddie2024
@eddie2024
I am many things. A solidity expert is not one of them. Duely noted on the pastebin though!
Pavel1991
@Pavel1991
Hello, tell me please at me at installation of a purse downloaded already 18 421 013 chain structure, it is normal?
sgalindop
@sgalindop
This message was deleted