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
Vertigo Studios
I would think coders would know enough by now to use a paste bin service...
I am many things. A solidity expert is not one of them. Duely noted on the pastebin though!
Hello, tell me please at me at installation of a purse downloaded already 18 421 013 chain structure, it is normal?
This message was deleted
how i get my token in the list without entering my contract address in other all the time
Hi there... Do u have staff that can help create our coin?
Total noob question. Trying to run the MyToken tutorial code from website. Get an error 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;
how to create token
Are Rinkeby Tesnets and regular ETH network running the same versions of ETH??
I copy and pasted a smart contract from regular eth to a testnet wallet and I am getting complier errors. Do I need to include compiler inside of smart contract code? It's a github gist .
shouldn't this smart contract already have a complier inside if it was already an active smart contract. I took the smartcontract code from Etherscan.io and pasted it into my testnet wallet running on metamask
and it won't work .
I can't deploy the contract
if anyoen could help that would be great. thanks
Alex Van de Sande
@robsuit are you using Mist or Remix? What compiler errors?
I'm a noob. Just cut and pasted right for etherscan into my wallet trying to deploy the contract. Did I need to use mist and Remix to compile first??
I thought the wallet had a complier
built in
Alex Van de Sande
Yes it has.
Do you see a URL bar in the top of your app?
app or code?
Alex Van de Sande
Your app. Is it called Ethereum Wallet or Mist?
Also, what contract are you trying to deploy?
Hey guys, I'm looking for a smart contract that can accept multiple erc20 tokens in crowdsale. Do you happen to know a resource I could use?
I'm using https://wallet.ethereum.org as UI for my metamask Rinkeby Testnet
This contract is for distributing funds to multiple wallets while also receiving funds from one wallet
meaning sending funds from 5 wallets and sending it to 1 - then that 1 wallet would distribute tokens back to those 5 wallets in a ratio that matches each wallets contributions
Alex Van de Sande
@robsuit if you are using Metamask then I recommend switching to remix.ethereum.org for contract deployment. The wallet fails in some more complex contracts
I got thanks so much!!!
Alex Van de Sande
Please Help. I am trying to implement the BlockChain Congress (https://www.ethereum.org/dao), but it seems that the contract has an error
pragma solidity ^0.4.16;

contract owned {
    address public owner;

    function owned() {
        owner = msg.sender;

    modifier onlyOwner {
        require(msg.sender == owner);

    function transferOwnership(address newOwner) onlyOwner {
        owner = newOwner;

contract tokenRecipient {
    event receivedEther(address sender, uint amount);
    event receivedTokens(address _from, uint256 _value, address _token, bytes _extraData);

    function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData){
        Token t = Token(_token);
        require(t.transferFrom(_from, this, _value));
        receivedTokens(_from, _value, _token, _extraData);

    function () payable {
        receivedEther(msg.sender, msg.value);

interface Token {
    function transferFrom(address _from, address _to, uint256 _value) returns (bool success);

    // Contract Variables and events
    uint public minimumQuorum;
    uint public debatingPeriodInMinutes;
    int public majorityMargin;
    Proposal[] public proposals;
    uint public numProposals;
    mapping (address => uint) public memberId;
    Member[] public members;

    event ProposalAdded(uint proposalID, address recipient, uint amount, string description);
    event Voted(uint proposalID, bool position, address voter, string justification);
    event ProposalTallied(uint proposalID, int result, uint quorum, bool active);
    event MembershipChanged(address member, bool isMember);
    event ChangeOfRules(uint newMinimumQuorum, uint newDebatingPeriodInMinutes, int newMajorityMargin);

    struct Proposal {
        address recipient;
        uint amount;
        string description;
        uint votingDeadline;
        bool executed;
        bool proposalPassed;
        uint numberOfVotes;
        int currentResult;
        bytes32 proposalHash;
        Vote[] votes;
        mapping (address => bool) voted;

    struct Member {
        address member;
        string name;
        uint memberSince;

    struct Vote {
        bool inSupport;
        address voter;
        string justification;

    // Modifier that allows only shareholders to vote and create new proposals
    modifier onlyMembers {
        require(memberId[msg.sender] != 0);

     * Constructor function
    function Congress (
        uint minimumQuorumForProposals,
        uint minutesForDebate,
        int marginOfVotesForMajority
    )  payable {
        changeVotingRules(minimumQuorumForProposals, minutesForDebate, marginOfVotesForMajority);
        // It’s necessary to add an empty first member
        addMember(0, "");
        // and let's add the founder, to save a step later
        addMember(owner, 'founder');

     * Add member
     * Make `targetMember` a member named `memberName`
     * @param targetMember ethereum address to be added
     * @param memberName public name for that member
    function addMember(address targetMember, string memberName) onlyOwner {
        uint id = memberId[targetMember];
        if (id == 0) {
            memberId[targetMember] = members.length;
            id = members.length++;

        members[id] = Member({member: targetMember, memberSince: now, name: memberName});
        MembershipChanged(targetMember, true);

     * Remove member
     * @notice Remove membership from `targetMember`
     * @param targetMember ethereum address to be removed
    function removeMember(address targetMember) onlyOwner {
        require(memberId[targetMember] != 0);

        for (uint i = memberId[targetMember]; i<members.length-1; i++){
            members[i] = members[i+1];
        delete members[members.length-1];

     * Change voting rules
     * Make so that proposals need tobe discussed for at least `minutesForDebate/60` hours,
     * have at least `minimumQuorumForProposals` votes, and have 50% + `marginOfVotes
Is there a list of standard smart contracts?
I'm seeking one that continues until soldout
Hey Code
If i create a new token in Mist on the Test net, how can it be moved onto the main net?
Oh hi Garrett
You want to create a new token?
@jmelendez025 Hey do you have a solution already? I have the same problem. It looks like it can be solved using the compiler version 0.4.16 used in the tutorial however I can only use 0.4.13 with my ethereum wallet
@jmelendez025 Which testnet are u using? I use rinkeby but that didn't work so going to test on robsten
When I click "Deploy" nothing happens. 1st contract.
I just changed .16 to .13 for compiler issue
In the example, there's something in the "From" field
However, I'm not able to enter anything there.
Is that a problem?
Do I need coins in wallet to Deploy?