Questions tagged [crowdsale]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
140 views

Crowdsale end time

Question about setting crowdsale end time. Is it possible to have an adjustable end time? Meaning there's no end time set, and admin can end the crowdsale any time once the crowdsale started.
0
votes
1answer
344 views

Ethereum Crowdsale Tutorial - Can't Transfer Ether to Crowdsale in Solo TestNet - The Contract Won't Allow This Transaction to Be Processed

Im sure this is a very simple problem that one of the brilliant geniuses on this site should be able to answer! I am following the tutorial for Crowdsale found on the Ethereum website https://www....
0
votes
1answer
78 views

Verified smart contract says beneficiary and token address 0x0000

I just deployed a token crowdsale contract here https://ropsten.etherscan.io/address/0x043acaa777f3e08d0b25d48c899a681a7a17db37#readContract When I read smart contract, the tokenReward and ...
0
votes
1answer
298 views

Creating a crowdsale with three features for a contract?

I'm currently trying to create a Ethereum contract. The thing is I'd like to set a crowdsale for this contract with certain features: Deadline (42 days). Bonus period Start at 30 % and decrease ...
1
vote
1answer
71 views

crowdsale contract on my Ethereum Wallet for windows

I first created a token without difficulty with Ethereum Wallet can be see here: https://etherscan.io/address/0x926351469a1a97Ca5AB9b80928a0Ba01493d39F9#readContract. Now I'm trying to do a ...
2
votes
3answers
189 views

Publishing two contracts

I'm going to publish two contracts: a standard token contract and a crowdsale contract. What is the best practice for this? Should I publish it in one file? Does it mean only the second contract in ...
1
vote
1answer
298 views

Gas issue on remix

I need your help, please. I've been trying to deploy a simple token and crowdsale contract that creates the token on remix, but when I try to deploy the crowdsale contract, it tells me gas exceeds the ...
1
vote
0answers
495 views

Token and Crowdsale contracts address problem

I'm testing the creation and deployment of ERC20 token + Crowdsale based on Open Zeppelin on the Rinkeby testnet using Truffle + Geth. The deployment went fine it seems, and through Metamask I was ...
0
votes
0answers
468 views

Withdrawing ether from crowdsale contract, issuing the right amount of tokens

I'm trying to create a crowd sale contract and have run into two issues that I can't resolve/find the answers to in the forums or documentation despite searching for the past two days. I imagine its ...
2
votes
1answer
882 views

Is it possible to divide my crowdsale contract into multiple files in order to solve gas issue?

I'm trying to deploy a crowdsale contract, which is using open zeppelin, on ropsten network but I got gas related error. The error says "please check your gas amount". How can I solve it? I think this ...
0
votes
1answer
426 views

using existing token into a crowdsale

i'm trying to test a crowdsale with a already existing token with fixed supply. I have my token already in place and everything is working just fine if i used the account to transfer my tokens but i ...
0
votes
1answer
267 views

Can someone explein me this Multi mint function (Solidity)?

I came accross this function to mint token for a crowdsale but I don't understand the meaning of the bit shift operations and what bit array should represent.. what is this code doing ? The code can ...
0
votes
1answer
281 views

Ending a Crowdsale Contract Before End time

I have generated a crowdsale contract with start and end date time. I want to add a CROWDSALEend function. This function will end the crowdsale before end time if the goal is reached and the function ...
2
votes
0answers
421 views

Token contract and crowdsale contract deploy

I am Testing with an Ethereum Based token contract and i would need some help deploying the Token contract and Crowdsale contract. I already have done this, deploying booth contracts and allocating ...
0
votes
0answers
209 views

Can't Send ETH to Crowdsale in Ropsten

I'm trying to test a token sale contract on the Ropsten test network but am having an issue. I am using Ethereum Wallet. I am following the guide at http://www.ethereum.org/crowdsale. I am getting ...
1
vote
3answers
115 views

Risk of attack if you give more than the half of your tokens?

I have read that you should own at least the half of your tokens in a DAO to avoid attacks. Is this true? Does it applies for crowdsales too? If so, crowdsale should be just giving less than the half ...
2
votes
2answers
2k views

Pre-sale tokens locking mechanism

I was looking into the ERC20 Token Standards and Crowdsale. There are various sample contracts including the one from OpenZeppelin which exhibits locking the token transfers until the crowdsale is ...
2
votes
2answers
254 views

Finally my first Token - questions

I finally could create my first test token on Rinkeby. Smart contract is deployed, buyer can send ETHs, the Receiving address receives funds... Contract address. https://rinkeby.etherscan.io/token/...
0
votes
1answer
126 views

Is there a Problem with the “<” operator?

I actually do not like the concept of splitting the code into lots and lots of contracts. I basically wrote one crowed sale contract that handles tiers. I do not need time limits. Everything works ...
0
votes
1answer
130 views

Statements have no effect

These entries show Statement has no Effect issues. WHy so? The entries have "Statement has no Effect" problems startTime = _startTime; "1513683938"; endTime = _endTime; "1513687538"; ...
2
votes
1answer
756 views

Contract final touches. Problem with CappedCrowdsale

I am finalizing this basic but clean Crowdsale code. However, there is ParserError with "contract Cappedcrowdsale". Why? It does refer to Crowdsale though. Please check if this is a legit Smart ...
1
vote
1answer
359 views

Who holds the tokens in a crowdsale?

I am trying to figure out how the ICO crowdsale is usually done? I have a good understanding of the ERC20 Token and its standards. When a new token is created the owner is assigned all the tokens. I ...
0
votes
1answer
434 views

Crowdsale Gas limit problem

This complete code brings Gas limit error saying. What are code problems? creation of Crowdsale pending... creation of Crowdsale errored: Gas required exceeds limit: 3000000. An important gas ...
0
votes
1answer
244 views

Contract is deployed but token is not there?

In Rinkeby, I deploy the following contract on Remix (injectedweb3). I pay contract, it goes well, gives Contract address BUT on Mist contract is watchable (can find with address) + Etherscan Rinkeby ...
0
votes
1answer
529 views

Crowdsale - Balance declaration error

In this example, for some reasons, Balance is given Undeclared Identifier error in the Contract "HEY"....What are the problems? pragma solidity ^0.4.17; /** * @title ERC20Basic * @dev Simpler ...
2
votes
1answer
184 views

Questions about Crowdsale contract

I am kinda new to Solidity. kindly shed light in below issues: How to properly enter token quantity in Initial Supply (in this formula) , say it is 10 million contract MyCoin is StandardToken { ...
0
votes
1answer
868 views

Error: VM Exception while processing transaction: invalid opcode

I'm testing out the crowdsale contract from https://ethereum.org/crowdsale on a local testrpc and I can't figure out how to send funds to it. As I understand it, the anonymous fallback function ...
1
vote
1answer
462 views

How KYC ICO check addresses during crowdsale?

I see more ICO are complying with KYC. I wonder what exactly means for the crowdsale smart contract. Is the latter rejecting eth coming from unregistered addresses? Then, how is this managed? With a ...
0
votes
1answer
153 views

Token contract replacement

There is a token which already has holders and a smart contract which now should be updated. No other possibilities to replace a contract like proxy has been added, so I need to deploy a new version. ...
1
vote
1answer
215 views

Can't interact with Crowdsale contract

I'm testing a Crowdsale contract (C) which send tokens of an already deployed contract (T). The idea is to send an amount of tokens to C from T, and then selling them for Ether, but nothing is working,...
2
votes
2answers
940 views

TxReceipt Status fail sending ETH to Contract on Rinkeby

I am sending ETH on Rinkeby network from my wallet in Metamask to a contract that has been deployed on Rinkeby. This is a crowdsale contract based on Open Zeppelin. However when I check the ...
2
votes
2answers
92 views

Can the variables in a crowdsale contract be modified in future?

Once one deploys a crowdsale contract, can the variables like token supply, name, symbol be modified at a later date?
0
votes
1answer
361 views

ERC20 Token not valid anymore (please help)

I am using remix.ethereum.org as my compiler. I have already done some tests with the token contract before, and it worked. but since a few days, on wallet.ethereum.org, when I add the token after ...
3
votes
1answer
3k views

Smart Contract to receive tokens and give ether?

A CrowdSale contract usually receives Ether in exchange of certain token. Is it possible to make it backwards? To receive certain token and give an amount of ether in exchange? Is as simple as ...
0
votes
1answer
221 views

Why the amount of time between each block creation is not exact?

I have seen that crowdsales are measured in blocks instead of time, but that there is an exact amount of blocks that represent a week or a month. If the time beetween blocks is not always the same, ...
0
votes
1answer
407 views

Open Zeppelin crowdsale requires too much gas

EDIT: we spotted the mistake in the code, endtime = starttime I deployed with truffle a subclass of zeppelin popular crowdsale contract GorillaSale is Crowdsale { function GorillaSale( uint256 ...
6
votes
1answer
4k views

Crowdsales: non-mintable tokens vs mintable tokens (with hard cap)

There are crowdsales where the initial supply is set upon deployment which is set to the defined total supply (so that number is as many tokens that there will be) and when someone buys tokens during ...
1
vote
0answers
213 views

Cannot send ETH to crowdsale contract

my problem is that I cannot send ETH in Rinkeby testnet or truffle to this crowdsale smart contract. I have shared token and crowdsale contract. They compile both in Remix and Mist wallet. What could ...
11
votes
1answer
2k views

Is it possible to create ICO crowdsale seamlessly accepting multiple assets?

Most of the ICO crowdsales accept ETH only. Some accept BTC. Very few accept other assets. I was thinking about creating crowdsale that would accept as many assets as possible. While creating, ...
1
vote
1answer
428 views

Could not withdraw tokens after crowd sale

I'm trying to implement smart contract for crowd sale and faced following problem. Firstly, I created test token here on Ethereum- using examples from OpenZeppelin framework and test CrowdSale ...
3
votes
0answers
369 views

How does a token crowdsale or ICO work for a permissioned Blockchain project?

Filecoin, for example, ran their highly successful ICO on the Ethereum blockchain, though they are gonna operate on a different chain. AFAIK, main-net tokens can't be used on a private chain. Makes ...
0
votes
2answers
1k views

How to transfer ETH from contract to external address after crowsale?

I am trying to learn creating smart contracts. For practice, I created token and crowdsale contracts by following the examples on ethereum.org and deployed it. Token distribution is working as ...
1
vote
1answer
211 views

Where to place in Zeppelin crowdsale variables

In various tutorials and previous releases of zeppelin, variables like _rate were explicit in the code. Now, however, these are left in a function (SampleCrowdsale), and I'm not sure what I'm ...
1
vote
2answers
116 views

crowdsale deployed on testnet cannot receive ether from another test account

I deployed a smart contract for crowdsale that has a function of receiveETH(): function receiveETH(address beneficiary) internal { uint coinToSend = bonus(msg.value.mul(COIN_PER_ETHER).div(...
0
votes
1answer
377 views

Would you recommend to use the standard token creation template from https://ethereum.org/token#the-coin?

I'm checking a lot of deployed ERC20 Token Contracts and haven't found one that uses the standard template https://ethereum.org/token#the-coin? May you please enlighten me why? Is there something ...
0
votes
1answer
213 views

Accessing Deployed Token methods (containing modifiers) from a Separate Crowdsale contract

Is it possible to deploy the Token contract (T) & CrowdSale contract (S) separately and still be possible to access (T)'s modifier protected methods from (S). Code of (T) contract Token { ...
1
vote
1answer
72 views

Crowdsale not stoping

I'm trying to create a token sale for a colection. The idea is to restart the crowdsale everytime we grow funds to amplify the collection, the tokens are burnable to purchase items from the colection. ...
1
vote
1answer
101 views

Toggle crowdsale on/off and set new max caps

Hi i'm quite new to java and solidity, i was wondering how i could make a function in my crowdsale that only me as the owner of the contract could call at anytime to switch the crowdsale on and off, ...
1
vote
0answers
467 views

ICO - question regarding private network

my team and I have been working on developing an application, based on a private ethereum network, due to the high gas cost of our contracts on the main chain. Now we would like to proceed to the ...
1
vote
0answers
93 views

Ethereum Crowdsale Code in Parity not working

I followed the tutorial on How to do Crowdsales via ethereum.org using Parity. However, there is always an exception when I try to give Ether to the address of the crowdsale contract. any thoughts on ...