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
Eric Showers
@Eric-Showers
@SoranM Perhaps your GasPrice is set too low? Miners pick which transactions they would like to process based on which have the biggest rewards (gas).
@Hashman724 I would recommend MyEthereumWallet if you are comfortable with handling your own public/private keys
axxis7
@axxis7
How long it will take to create new token ?
what are the steps ?
Vidor Gencel
@vidorge
20 mins
bspanda98
@bspanda98
@divoty join me on whatsapp 7000576634 i want to make new cryptocurrency
@vidorge but where to use and how to use
bspanda98
@bspanda98
do anybody tell me how to make a cryptocurrency
and wallet also
WeiZhang418
@WeiZhang418
@vidorge why I copy the code to Ethereum Wallet, it always said "Could not compile source code." and "No visibility specified. Defaulting to "public".
function MyToken() {
^
Spanning multiple lines.
all functions default to public
WeiZhang418
@WeiZhang418
@ToJen Thank you very much!
winspiral
@winspiral
Hello,I'm completely lost about creating a token
I see i'm not alone in my situation
winspiral
@winspiral

I have this message Could not compile source code.

Error: Unable to connect to socket: timeout

esilverman07
@esilverman07
Hi guys Im new to ethereum and will like to begin building a smart contract between a paying user and other members/group that offer a services within an industry using solidity. Do you have any suggestions where I may learn to build.
winspiral
@winspiral
I ask for the same help
and my wallet have difficulties to syncronize
pascal1990
@pascal1990
@Emiller88 please could share the way you resolve the problem, I have an issue when create a crowdsale on function transfer(address receiver, uint amount);
} the compile said No visibility specified. Defaulting to "public".
function transfer(address receiver, uint amount);
^-----------------------------------------------^
pascal1990
@pascal1990
@Emiller88 Hi try to do this : function transfer(address receiver, uint amount) public;
winspiral
@winspiral
thanks,but it is now more confuse for me with the mist wallet.
Reactive Space
@reactivespace
@Emiller88 please could share the way you resolve the problem, I have an issue when create a crowdsale on function transfer(address receiver, uint amount);
} the compile said No visibility specified. Defaulting to "public".
function transfer(address receiver, uint amount);
^-----------------------------------------------^
same issue facing
MIK
@tecnomexico
HI
Reactive Space
@reactivespace
@pascal1990 its not working at all
Reactive Space
@reactivespace
@bspanda98 ping in pm
pascal1990
@pascal1990
@reactivespace are you try to create token or crowdsale ?
Reactive Space
@reactivespace
@pascal1990 yes crowdsale
Ahmed
@akour
hello there
so i have a somewhat community that has no fucking idea about crypto
what should i do first? create the coin or the token using ethereum
then start teaching the community about it?
or should I find out what the community know about it first?
awesomesidney
@awesomesidney
for ico smart contract, how to generate the deposit address to which funder send
recyclo
@recyclo
Hi all
new to ethereum
do we really have to buy ether to participate?
or is is there another way to start developing our token/project?
Reactive Space
@reactivespace
@recyclo you need ether for token
recyclo
@recyclo
@reactivespace thanks for the reply..so i need to buy ether so i could issue my own token?
Vidor Gencel
@vidorge
For testing purposes you can use a test network like rinkeby and get free tokens on the rinkeby faucet
@recyclo or https://github.com/trufflesuite/ganache-cli for local development
Reactive Space
@reactivespace
@recyclo yes then you issue
@recyclo if you need help ping me directly
team-easyuisoftware
@team-easyuisoftware
how to create my own cyrpto?
pascal1990
@pascal1990

for crowsale there is the code

pragma solidity ^0.4.18;

interface token {
function transfer(address receiver, uint amount) public;
}

contract Crowdsale {
address public beneficiary;
uint public fundingGoal;
uint public amountRaised;
uint public deadline;
uint public price;
token public tokenReward;
mapping(address => uint256) public balanceOf;
bool fundingGoalReached = false;
bool crowdsaleClosed = false;

event GoalReached(address recipient, uint totalAmountRaised);
event FundTransfer(address backer, uint amount, bool isContribution);

/**
 * Constrctor function
 *
 * Setup the owner
 */
function Crowdsale(
    address ifSuccessfulSendTo,
    uint fundingGoalInEthers,
    uint durationInMinutes,
    uint etherCostOfEachToken,
    address addressOfTokenUsedAsReward
) public{
    beneficiary = ifSuccessfulSendTo;
    fundingGoal = fundingGoalInEthers * 1 ether;
    deadline = now + durationInMinutes * 1 minutes;
    price = etherCostOfEachToken * 1 ether;
    tokenReward = token(addressOfTokenUsedAsReward);
}

/**
 * Fallback function
 *
 * The function without name is the default function that is called whenever anyone sends funds to a contract
 */
function () payable public {
    require(!crowdsaleClosed);
    uint amount = msg.value;
    balanceOf[msg.sender] += amount;
    amountRaised += amount;
    tokenReward.transfer(msg.sender, amount / price);
    FundTransfer(msg.sender, amount, true);
}

modifier afterDeadline() { if (now >= deadline) _; }

/**
 * Check if goal was reached
 *
 * Checks if the goal or time limit has been reached and ends the campaign
 */
function checkGoalReached() afterDeadline public {
    if (amountRaised >= fundingGoal){
        fundingGoalReached = true;
        GoalReached(beneficiary, amountRaised);
    }
    crowdsaleClosed = true;
}


/**
 * Withdraw the funds
 *
 * Checks to see if goal or time limit has been reached, and if so, and the funding goal was reached,
 * sends the entire amount to the beneficiary. If goal was not reached, each contributor can withdraw
 * the amount they contributed.
 */
function safeWithdrawal() afterDeadline public{
    if (!fundingGoalReached) {
        uint amount = balanceOf[msg.sender];
        balanceOf[msg.sender] = 0;
        if (amount > 0) {
            if (msg.sender.send(amount)) {
                FundTransfer(msg.sender, amount, false);
            } else {
                balanceOf[msg.sender] = amount;
            }
        }
    }

    if (fundingGoalReached && beneficiary == msg.sender) {
        if (beneficiary.send(amountRaised)) {
            FundTransfer(beneficiary, amountRaised, false);
        } else {
            //If we fail to send the funds to beneficiary, unlock funders balance
            fundingGoalReached = false;
        }
    }
}

}